Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (7)
Fix homepage
· 38968dc7
Andreas Tille
authored
Jul 03, 2018
38968dc7
debhelper 11
· 3f4bf5f7
Andreas Tille
authored
Jul 03, 2018
3f4bf5f7
Point Vcs fields to salsa.debian.org
· b46553ac
Andreas Tille
authored
Jul 03, 2018
b46553ac
Standards-Version: 4.1.4
· 84a2af42
Andreas Tille
authored
Jul 03, 2018
84a2af42
Testsuite: autopkgtest-pkg-python
· 2cc5428d
Andreas Tille
authored
Jul 03, 2018
2cc5428d
hardening=+all
· 1faf7494
Andreas Tille
authored
Jul 03, 2018
1faf7494
Enable Python3
· c1df8a28
Andreas Tille
authored
Jul 03, 2018
c1df8a28
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c1df8a28
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
...
...
debian/compat
View file @
c1df8a28
9
11
debian/control
View file @
c1df8a28
...
...
@@ -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},
${python
3
:Depends},
${shlibs:Depends}
Description: fast protein contact predictor - binding for Python3
${Description}
.
This package contains the Python3 binding.
debian/rules
View file @
c1df8a28
#!/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"