[med-svn] [Git][med-team/python-pybedtools][master] Producing v2 and v3 Python packages.
Steffen Möller
gitlab at salsa.debian.org
Sun Jul 8 15:27:12 BST 2018
Steffen Möller pushed to branch master at Debian Med / python-pybedtools
Commits:
8c569dfa by Steffen Moeller at 2018-07-08T16:26:25+02:00
Producing v2 and v3 Python packages.
- - - - -
6 changed files:
- debian/control
- + debian/pybedtools-bin.dirs
- debian/doc-base → debian/python3-pybedtools-doc.doc-base
- debian/docs → debian/python3-pybedtools-doc.docs
- debian/doc → debian/python3-pybedtools-doc.examples
- debian/rules
Changes:
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,16 @@ Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
bedtools,
- python3,
+ python-all-dev,
+ python-setuptools,
+ python-pysam,
+ python-matplotlib,
+ python-nose,
+ python-numpy,
+ python-numpydoc,
+ python-pandas,
+ python-yaml,
+ python-tk,
python3-all-dev,
python3-setuptools,
python3-pysam,
@@ -22,20 +31,52 @@ Build-Depends: debhelper (>= 10),
cython,
r-base-core,
zlib1g-dev
-Standards-Version: 4.1.4
+Standards-Version: 4.1.5
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-pybedtools.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/python-pybedtools.git
Homepage: https://daler.github.io/pybedtools/
+Package: python-pybedtools
+Architecture: any
+Depends: ${python:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: Python 2 wrapper around BEDTools for bioinformatics work
+ The BEDTools suite of programs is widely used for genomic interval
+ manipulation or “genome algebra”. pybedtools wraps and extends BEDTools and
+ offers feature-level manipulations from within Python.
+ .
+ This is the Python 2 version.
+
+Package: pybedtools-bin
+Architecture: all
+Depends: ${python3:Depends},
+ ${misc:Depends},
+ python3-pybedtools|python-pybedtools
+Description: Scripts produced for pybedtools
+ The BEDTools suite of programs is widely used for genomic interval
+ manipulation or “genome algebra”. pybedtools wraps and extends BEDTools and
+ offers feature-level manipulations from within Python.
+ .
+ This package provides scripts that shall be executable with the
+ Python 2 and Python 3 versions of this package.
+
Package: python3-pybedtools
Architecture: any
Depends: ${python3:Depends},
${misc:Depends},
${shlibs:Depends},
- ${sphinxdoc:Depends}
Description: Python 3 wrapper around BEDTools for bioinformatics work
The BEDTools suite of programs is widely used for genomic interval
manipulation or “genome algebra”. pybedtools wraps and extends BEDTools and
offers feature-level manipulations from within Python.
.
This is the Python 3 version.
+
+Package: python3-pybedtools-doc
+Architecture: all
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
+Suggests: python3-pybedtools|python-pybedtools
+Description: Documentation for pybedtools library
+ Shinx-generated documentation.
=====================================
debian/pybedtools-bin.dirs
=====================================
--- /dev/null
+++ b/debian/pybedtools-bin.dirs
@@ -0,0 +1 @@
+usr/bin
=====================================
debian/doc-base → debian/python3-pybedtools-doc.doc-base
=====================================
=====================================
debian/docs → debian/python3-pybedtools-doc.docs
=====================================
=====================================
debian/doc → debian/python3-pybedtools-doc.examples
=====================================
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,21 @@ export PYBUILD_BEFORE_TEST=cp {dir}/debian/mpl-expected.png {build_dir}/pybedtoo
export HOME=$(shell echo $$PWD"/fakehome")
%:
- dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
+ python setup.py develop --user
python3 setup.py develop --user
python3 setup.py build_sphinx
override_dh_auto_install:
dh_auto_install
- rm debian/python3-pybedtools/usr/lib/python3*/dist-packages/pybedtools/test/prevent_open_file_regression
+ rm -f debian/python3-pybedtools/usr/lib/python3*/dist-packages/pybedtools/test/prevent_open_file_regression
+ mkdir -p debian/pybedtools-bin/usr/bin
+ mv debian/python3-pybedtools/usr/bin/* debian/pybedtools-bin/usr/bin/
+ rm -fr debian/python-pybedtools/usr/bin
+ rm -fr debian/python3-pybedtools/usr/bin
+
+override_dh_auto_test:
+ echo "Not testing."
View it on GitLab: https://salsa.debian.org/med-team/python-pybedtools/commit/8c569dfa82013bc4a429190a11ec99f3483351d6
--
View it on GitLab: https://salsa.debian.org/med-team/python-pybedtools/commit/8c569dfa82013bc4a429190a11ec99f3483351d6
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180708/65f8afda/attachment-0001.html>
More information about the debian-med-commit
mailing list