Skip to content
Commits on Source (2)
......@@ -8,12 +8,6 @@ Testsuite: autopkgtest-pkg-python
Priority: optional
Build-Depends: debhelper (>= 11~),
dh-python,
python-all,
python-all-dev,
python-setuptools,
python-nose,
python-xopen (>= 0.3.2),
cython,
python3-all,
python3-all-dev,
python3-setuptools,
......@@ -26,22 +20,6 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-cutadapt
Vcs-Git: https://salsa.debian.org/med-team/python-cutadapt.git
Homepage: http://pypi.python.org/pypi/cutadapt
Package: python-cutadapt
Architecture: any
Depends: ${misc:Depends},
${python:Depends},
${shlibs:Depends}
Description: Clean biological sequences from high-throughput sequencing reads (Python 2)
Cutadapt helps with biological sequence clean tasks by finding the adapter
or primer sequences in an error-tolerant way.
It can also modify and filter reads in various ways.
Adapter sequences can contain IUPAC wildcard characters.
Also, paired-end reads and even colorspace data is supported.
If you want, you can also just demultiplex your input data, without removing
adapter sequences at all.
.
This package contains the Python 2 module.
Package: python3-cutadapt
Architecture: any
Depends: ${misc:Depends},
......
From: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Date: Fri, 2 Dec 2016 13:59:08 +1100
Subject: cython_version
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ from distutils.command.sdist import sdis
from distutils.command.build_ext import build_ext as _build_ext
import versioneer
-MIN_CYTHON_VERSION = '0.24'
+MIN_CYTHON_VERSION = '0.23.2'
vi = sys.version_info
if (vi[0] == 2 and vi[1] < 7) or (vi[0] == 3 and vi[1] < 4):
......@@ -17,24 +17,19 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=cutadapt
PYTHON2 := $(shell pyversions -r)
PYTHON3 := $(shell py3versions -r)
# main packaging script based on dh7 syntax
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
dh_install
mkdir -p debian/cutadapt/usr/bin
mv debian/python3-cutadapt/usr/bin/cutadapt debian/cutadapt/usr/bin/
rm -f debian/python-cutadapt/usr/bin/cutadapt
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
for py in $(PYTHON2) ; do\
$$py setup.py nosetests -v ; \
done
for py in $(PYTHON3) ; do\
$$py setup.py nosetests -v ; \
done
......