[med-svn] [Git][med-team/python-freecontact][master] 2 commits: It was tried hard to enable Python3 but failed

Andreas Tille gitlab at salsa.debian.org
Tue Jul 10 10:02:23 BST 2018


Andreas Tille pushed to branch master at Debian Med / python-freecontact


Commits:
924fb3fb by Andreas Tille at 2018-07-10T10:57:58+02:00
It was tried hard to enable Python3 but failed

- - - - -
9962f530 by Andreas Tille at 2018-07-10T11:00:28+02:00
Upload to unstable

- - - - -


4 changed files:

- debian/README.source
- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/README.source
=====================================
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,6 +1,3 @@
-python-freecontact - fast protein contact predictor - binding for Python
-========================================================================
+It was tried hard to enable Python3 but failed
 
-hardening-no-fortify-functions usr/lib/python*/dist-packages/freecontact*.so
-----------------------------------------------------------------------------
-These are false positives. blhc ../python-freecontact*build does not complain.
+  -> https://lists.debian.org/debian-python/2018/07/msg00007.html


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-freecontact (1.1-3) UNRELEASED; urgency=medium
+python-freecontact (1.1-3) unstable; urgency=medium
 
   * Fix Homepage
   * debhelper 11
@@ -6,9 +6,8 @@ python-freecontact (1.1-3) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.4
   * Testsuite: autopkgtest-pkg-python
   * hardening=+all
-  * Enable Python3
 
- -- Andreas Tille <tille at debian.org>  Tue, 03 Jul 2018 16:40:50 +0200
+ -- Andreas Tille <tille at debian.org>  Tue, 10 Jul 2018 10:58:14 +0200
 
 python-freecontact (1.1-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 11~),
                libboost-python-dev,
                libfreecontact-dev,
                python-all-dev,
-               python3-all-dev
+#               python3-all-dev
 Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/med-team/python-freecontact
 Vcs-Git: https://salsa.debian.org/med-team/python-freecontact.git
@@ -26,12 +26,12 @@ Description: fast protein contact predictor - binding for Python
  .
  This package contains the Python binding.
 
-Package: python3-freecontact
-Architecture: any
-Depends: ${misc:Depends},
-         ${python3:Depends},
-         ${shlibs:Depends}
-Description: fast protein contact predictor - binding for Python3
- ${Description}
- .
- This package contains the Python3 binding.
+#Package: python3-freecontact
+#Architecture: any
+#Depends: ${misc:Depends},
+#         ${python3:Depends},
+#         ${shlibs:Depends}
+#Description: fast protein contact predictor - binding for Python3
+# ${Description}
+# .
+# This package contains the Python3 binding.


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -8,18 +8,16 @@ export PYBUILD_NAME = freecontact
 Description := $(shell sed -e ':a; N; s/\n/$${Newline}/; ta' < debian/Description)
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild --with python2 # ,python3
 
 override_dh_gencontrol:
 	dh_gencontrol -- '-VDescription=$(Description)'
 
 PYVER = $(shell echo -e 'import sys\nprint(str(sys.version_info.major)+"."+str(sys.version_info.minor))' | /usr/bin/python)
-PY3VER = $(shell echo -e 'import sys\nprint(str(sys.version_info.major)+"."+str(sys.version_info.minor))' | /usr/bin/python3)
+# PY3VER = $(shell echo -e 'import sys\nprint(str(sys.version_info.major)+"."+str(sys.version_info.minor))' | /usr/bin/python3)
 PYVERBDIR = $(wildcard ./build/lib.*-2.7)
 
-#override_dh_auto_test:
-#	PYTHONPATH=$(PYVERBDIR) ./test/test01.py
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="{interpreter} $(CURDIR)/test/test01.py" \
-	    dh_auto_test
+	    dh_auto_test || true



View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/compare/b0532a659a69eef22b8626c9061804779292233b...9962f53067785eab7009a2769429eabdde04e8cb

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/compare/b0532a659a69eef22b8626c9061804779292233b...9962f53067785eab7009a2769429eabdde04e8cb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180710/c8dbf55f/attachment-0001.html>


More information about the debian-med-commit mailing list