[Python-modules-commits] [python-numpy] 10/17: dh_numpy and dh_numpy3 use 2 different files from where to read the versions, thus making the py3k package indipendent of the python2; Closes: #797943
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 10 23:28:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository python-numpy.
commit 973d3ad711d1b26256f874cfc23f2eda261339ac
Author: Sandro Tosi <morph at debian.org>
Date: Sun Jan 10 17:26:59 2016 +0000
dh_numpy and dh_numpy3 use 2 different files from where to read the versions, thus making the py3k package indipendent of the python2; Closes: #797943
---
debian/changelog | 5 ++++-
debian/dh_numpy3 | 2 +-
debian/python3-numpy.install | 1 +
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1d9c4df..7294a61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,11 @@ python-numpy (1:1.10.4-1) UNRELEASED; urgency=medium
* New upstream release
* debian/copyright
- extend packaging copyright notice
+ * dh_numpy and dh_numpy3 use 2 different files from where to read the
+ versions, thus making the py3k package indipendent of the python2;
+ Closes: #797943
- -- Sandro Tosi <morph at debian.org> Sun, 10 Jan 2016 16:19:54 +0000
+ -- Sandro Tosi <morph at debian.org> Sun, 10 Jan 2016 17:26:08 +0000
python-numpy (1:1.10.0~b1-1) experimental; urgency=medium
diff --git a/debian/dh_numpy3 b/debian/dh_numpy3
index 870ffa7..8af6e98 100644
--- a/debian/dh_numpy3
+++ b/debian/dh_numpy3
@@ -30,7 +30,7 @@ init(options => {
my %data;
-open(FILE, '<', '/usr/share/numpy/versions') or error("cannot read version data: $!\n");
+open(FILE, '<', '/usr/share/numpy3/versions') or error("cannot read version data: $!\n");
while (<FILE>) {
chomp;
next unless /^[^#]/;
diff --git a/debian/python3-numpy.install b/debian/python3-numpy.install
index fcf626b..950c7bf 100644
--- a/debian/python3-numpy.install
+++ b/debian/python3-numpy.install
@@ -1,4 +1,5 @@
debian/dh_numpy3 usr/bin
+debian/versions usr/share/numpy3/
usr/bin/f2py3
usr/bin/f2py3.?
usr/lib/python3*/*-packages/*.egg-info
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-numpy.git
More information about the Python-modules-commits
mailing list