[libfann] 106/133: Convert Python build process to dh_python2

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:07:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository libfann.

commit 18061b516f0029b5df3ea529fd2d377370a0af3e
Author: Christian Kastner <debian at kvr.at>
Date:   Sun Mar 2 12:28:33 2014 +0100

    Convert Python build process to dh_python2
    
    python-support is deprecated
---
 debian/control    | 3 ++-
 debian/pyversions | 1 -
 debian/rules      | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index f5c2512..2c816c4 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,11 @@ Build-Depends:
     debhelper (>= 9),
     autotools-dev,
     python-all-dev,
-    python-support (>= 0.90),
+    dh-python,
     swig (>= 2.0.4-2),
     naturaldocs
 Standards-Version: 3.9.5
+X-Python-Version: >= 2.5
 Homepage: http://leenissen.dk/fann/wp/
 Vcs-Git: git://scm.kvr.at/git/pkg-libfann.git
 Vcs-Browser: http://scm.kvr.at/git/?p=pkg-libfann.git;a=summary
diff --git a/debian/pyversions b/debian/pyversions
deleted file mode 100644
index b3dc41e..0000000
--- a/debian/pyversions
+++ /dev/null
@@ -1 +0,0 @@
-2.5-
diff --git a/debian/rules b/debian/rules
index 50dce1e..151f724 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ PYVERS = $(shell pyversions -r -v)
 
 
 %:
-	dh $@ --with autotools_dev
+	dh $@ --with autotools_dev,python2
 
 
 override_dh_auto_configure-arch:
@@ -52,8 +52,6 @@ override_dh_auto_install-arch:
 		python$$py setup.py install -f --root $(CURDIR)/debian/python-pyfann \
 			--install-layout=deb; \
 	done
-	# FIXME: this builds something
-	dh_pysupport
 
 
 override_dh_auto_install-indep:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git



More information about the debian-science-commits mailing list