Skip to content
Commits on Source (7)
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@debian.org> Tue, 03 Jul 2018 16:40:50 +0200
python-freecontact (1.1-2) unstable; urgency=medium
* cme fix dpkg-control
......
......@@ -3,18 +3,18 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.
Uploaders: Laszlo Kajan <lkajan@debian.org>,
Andreas Tille <tille@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.
#!/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"