[med-svn] [python-bd2k] 01/01: Build only for python2
Steffen Möller
moeller at moszumanska.debian.org
Sat Jan 14 13:30:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
moeller pushed a commit to branch master
in repository python-bd2k.
commit 8515954cf6e0d6088633ea8a1acb6ad260addef6
Author: Steffen Moeller <moeller at debian.org>
Date: Sat Jan 14 14:30:07 2017 +0100
Build only for python2
---
debian/README.Debian | 4 ++++
debian/changelog | 1 +
debian/control | 22 +++++++++++-----------
debian/rules | 12 ++++++------
4 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 4113087..859229f 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -3,4 +3,8 @@ bd2k-python-lib for Debian
The package ships with automated tests which yet need to be activated.
+The code is incompatible with Python3, which is noticed upon installation
+of the package, not at build time. The python3 binary is left commented
+out until the situation changes.
+
-- Steffen Moeller <moeller at debian.org> Fri, 13 Jan 2017 19:31:02 +0100
diff --git a/debian/changelog b/debian/changelog
index 633c3d4..63ebaff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
python-bd2k (1.14~alpha1.37-1) unstable; urgency=medium
* Initial release (Closes: #851341)
+ * Python3 package is not installable because of a syntax error
-- Steffen Moeller <moeller at debian.org> Fri, 13 Jan 2017 19:31:02 +0100
diff --git a/debian/control b/debian/control
index d2a11ee..57d2b67 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools, pytho
Standards-Version: 3.9.8
Homepage: https://github.com/BD2KGenomics/bd2k-python-lib
X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2
+#X-Python3-Version: >= 3.2
Vcs-Git: https://anonscm.debian.org/git/debian-med/python-bd2k.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-bd2k.git/
#Testsuite: autopkgtest-pkg-python
@@ -27,16 +27,16 @@ Description: utilities for BD2KGenomics (Python 2)
.
This package installs the library for Python 2.
-Package: python3-bd2k
-Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}
-Description: utilities for BD2KGenomics (Python 3)
- This package provides a range of smallish software solutions
- like hashes and hash tables or iterators that are of importance
- to a range of reverse dependencies of the BD2KGenomics
- repository.
- .
- This package installs the library for Python 3.
+#Package: python3-bd2k
+#Architecture: all
+#Depends: ${python3:Depends}, ${misc:Depends}
+#Description: utilities for BD2KGenomics (Python 3)
+# This package provides a range of smallish software solutions
+# like hashes and hash tables or iterators that are of importance
+# to a range of reverse dependencies of the BD2KGenomics
+# repository.
+# .
+# This package installs the library for Python 3.
#Package: python-bd2k-python-lib-doc
#Architecture: all
diff --git a/debian/rules b/debian/rules
index 4c2d3a5..08d122f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,14 +2,13 @@
#export DH_VERBOSE = 1
export PYBUILD_NAME=bd2k-python-lib
-
export PYBUILD_DESTDIR_python2=debian/python-bd2k/
#export PYBUILD_DESTDIR_python2-dbg=debian/python-bd2k-dbg/
export PYBUILD_DESTDIR_python3=debian/python3-bd2k/
#export PYBUILD_DESTDIR_python3-dbg=debian/python3-bd2k-dbg/
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2 --buildsystem=pybuild
# If you need to rebuild the Sphinx documentation
@@ -20,9 +19,10 @@ export PYBUILD_DESTDIR_python3=debian/python3-bd2k/
# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
-override_dh_auto_test:
- echo "Not testing this time."
-
override_dh_auto_clean:
dh_auto_clean
- rm -rf src/bd2k.egg-info
+ rm -rf src/bd2k.egg-info .cache .pybuild
+
+# boto (for AWS) failed - not followed up for this initial packaging
+override_dh_auto_test:
+ echo "Not testing this time."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-bd2k.git
More information about the debian-med-commit
mailing list