[pybtex] 31/108: Work around the fact that different PKG-INFO files can be generated for different Python versions.
Daniel Stender
stender at moszumanska.debian.org
Fri Jul 21 10:18:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository pybtex.
commit 30667e751f3a94d0f635348379802517d9ec009f
Author: Jakub Wilk <jwilk at debian.org>
Date: Thu Mar 4 13:55:48 2010 +0000
Work around the fact that different PKG-INFO files can be generated for
different Python versions.
---
debian/changelog | 4 +++-
debian/rules | 7 +++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d961df3..07d9ecb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,10 @@ pybtex (0.13.2-1) UNRELEASED; urgency=low
* Run tests for all supported Python versions.
+ Build-depend on python-all.
* Fix watch file to accept more than one dot in version number.
+ * Work around the fact that different PKG-INFO files can be generated for
+ different Python versions.
- -- Jakub Wilk <jwilk at debian.org> Thu, 04 Mar 2010 13:06:58 +0100
+ -- Jakub Wilk <jwilk at debian.org> Thu, 04 Mar 2010 14:55:32 +0100
pybtex (0.13.1-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 6b7bbaa..b4c4cd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,13 @@ override_dh_installchangelogs:
> docs/changelog
dh_installchangelogs docs/changelog
+.PHONY: override_dh_pysupport
+override_dh_pysupport:
+# For some reason PKG-INFO files differ between Python versions.
+# Let's leave only ony copy.
+ find debian/ -name PKG-INFO | tail -n +2 | xargs -r -n1 cp -vf $(shell find debian/ -name PKG-INFO | head -n 1)
+ dh_pysupport
+
.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
build build-arch build-indep binary binary-indep clean:
dh $(@)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list