Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
It was tried hard to enable Python3 but failed
· 924fb3fb
Andreas Tille
authored
Jul 10, 2018
924fb3fb
Upload to unstable
· 9962f530
Andreas Tille
authored
Jul 10, 2018
9962f530
Show whitespace changes
Inline
Side-by-side
debian/README.source
View file @
9962f530
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
View file @
9962f530
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@debian.org> Tue, 0
3
Jul 2018 1
6:40:50
+0200
-- Andreas Tille <tille@debian.org> Tue,
1
0 Jul 2018 1
0:58:14
+0200
python-freecontact (1.1-2) unstable; urgency=medium
...
...
debian/control
View file @
9962f530
...
...
@@ -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
View file @
9962f530
...
...
@@ -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