Skip to content
Commits on Source (5)
porechop (0.2.3+dfsg-2) unstable; urgency=medium
* Team upload.
* Properly use the dh_python3 options to override its behaviour, instead
of being clever with it.
* Build only for the default Python3 version.
The software can't cope with being placed in odd places, so can't use
the multiple python version support that Debian has.
* Build the package using pybuild.
+ Move all the files to the usual location for Python3 software.
+ Install the entry point directly in /usr/bin instead of symlinking.
+ Explicitly disable the tests (that before weren't even tried).
* Set Rules-Requires-Root:no.
-- Mattia Rizzolo <mattia@debian.org> Thu, 27 Sep 2018 11:49:55 +0200
porechop (0.2.3+dfsg-1) unstable; urgency=medium
* Initial release (Closes: #890112)
......
......@@ -6,18 +6,20 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 11~),
dh-python,
python3-all-dev,
libseqan2-dev
libseqan2-dev,
python3-dev,
python3-setuptools
Standards-Version: 4.2.1
Rules-Requires-Root: no
Vcs-Browser: https://salsa.debian.org/med-team/porechop
Vcs-Git: https://salsa.debian.org/med-team/porechop.git
Homepage: https://rrwick.github.io/Porechop
Package: porechop
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
${python3:Depends}
Depends: ${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Description: adapter trimmer for Oxford Nanopore reads
Porechop is a tool for finding and removing adapters from Oxford
Nanopore reads. Adapters on the ends of reads are trimmed off, and
......
porechop/*.py usr/lib/porechop/porechop
porechop/*.so usr/lib/porechop/porechop
porechop-runner.py usr/lib/porechop
porechop-runner.py usr/bin
usr/lib/porechop/porechop-runner.py usr/bin/porechop
......@@ -4,15 +4,15 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
# FIXME - never enabled, tests fail, to be investigated
export PYBUILD_DISABLE=test
%:
dh $@ --with python3
dh $@ --with python3 --buildsystem pybuild
override_dh_python3:
dh_python3
# for some very strange reason dh_python3 is renaming cpp_functions.so to cpp_functions.cpython-36m-$(DEB_SOURCE).so
# Just revert this!
mv debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)/$(DEB_SOURCE)/cpp_functions*.so debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)/$(DEB_SOURCE)/cpp_functions.so
# Did everything worked???
find . -name "*.so"
dh_python3 --no-ext-rename
override_dh_install:
dh_install
mv -v debian/porechop/usr/bin/porechop-runner.py debian/porechop/usr/bin/porechop