[med-svn] [Git][med-team/python-freecontact][master] 7 commits: Fix homepage

Andreas Tille gitlab at salsa.debian.org
Tue Jul 3 18:07:37 BST 2018


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


Commits:
38968dc7 by Andreas Tille at 2018-07-03T16:41:00+02:00
Fix homepage

- - - - -
3f4bf5f7 by Andreas Tille at 2018-07-03T16:43:28+02:00
debhelper 11

- - - - -
b46553ac by Andreas Tille at 2018-07-03T16:45:24+02:00
Point Vcs fields to salsa.debian.org

- - - - -
84a2af42 by Andreas Tille at 2018-07-03T16:45:24+02:00
Standards-Version: 4.1.4

- - - - -
2cc5428d by Andreas Tille at 2018-07-03T16:45:24+02:00
Testsuite: autopkgtest-pkg-python

- - - - -
1faf7494 by Andreas Tille at 2018-07-03T16:50:00+02:00
hardening=+all

- - - - -
c1df8a28 by Andreas Tille at 2018-07-03T19:07:27+02:00
Enable Python3

- - - - -


4 changed files:

- debian/changelog
- debian/compat
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+python-freecontact (1.1-3) UNRELEASED; urgency=medium
+
+  * Fix Homepage
+  * debhelper 11
+  * Point Vcs fields to salsa.debian.org
+  * 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
+
 python-freecontact (1.1-2) unstable; urgency=medium
 
   * cme fix dpkg-control


=====================================
debian/compat
=====================================
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+11


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -3,18 +3,18 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Laszlo Kajan <lkajan at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: python
+Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 9~),
+Build-Depends: debhelper (>= 11~),
                dh-python,
                libboost-python-dev,
                libfreecontact-dev,
-               python-all-dev
-#               python3-all-dev
-Standards-Version: 3.9.6
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-freecontact.git
-Vcs-Git: git://anonscm.debian.org/debian-med/python-freecontact.git
-Homepage: http://rostlab.org/
-X-Python-Version: >= 2.6
+               python-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
+Homepage: https://rostlab.org/owiki/index.php/FreeContact
 
 Package: python-freecontact
 Architecture: any
@@ -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},
-#         ${python: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
@@ -1,28 +1,30 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
 export PYBUILD_NAME = freecontact
 
 Description := $(shell sed -e ':a; N; s/\n/$${Newline}/; ta' < debian/Description)
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
-### once libboost-python-dev will be provided for Python3
-#	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_gencontrol:
 	dh_gencontrol -- '-VDescription=$(Description)'
 
-get-orig-source:
-	uscan --verbose --force-download --destdir=..
-
 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)
 PYVERBDIR = $(wildcard ./build/lib.*-2.7)
 
 #override_dh_auto_test:
 #	PYTHONPATH=$(PYVERBDIR) ./test/test01.py
-override_dh_auto_test:
+override_dh_auto_test__:
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="{interpreter} $(CURDIR)/test/test01.py" \
 	    dh_auto_test
 
+override_dh_auto_test:
+	# libboost-python-dev does not yet support 3.7
+	pybuild --test -i python{version} -p "2.7"
+	pybuild --test -i python{version} -p "3.6"



View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/compare/fd1ed438a954928c2df3d7ac74da51a584a301e9...c1df8a2876ebce467157f308e0e991ad27e92a4c

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-freecontact/compare/fd1ed438a954928c2df3d7ac74da51a584a301e9...c1df8a2876ebce467157f308e0e991ad27e92a4c
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/20180703/28f3a81f/attachment-0001.html>


More information about the debian-med-commit mailing list