[pybtex] 13/20: Provide a package for Python 3

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Jul 22 21:04:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pybtex.

commit 8c24c09c3fc526bf08ac6b6cb2187cd4789c5675
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jul 21 19:25:24 2017 +0100

    Provide a package for Python 3
---
 debian/control | 31 ++++++++++++++++++++++++++++++-
 debian/rules   |  4 +++-
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index f309026..fbef7be 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,12 @@ Build-Depends: debhelper (>= 9),
                python-pygments,
                python-setuptools,
                python-sphinx,
-               python-yaml
+               python-yaml,
+               python3-all,
+               python3-latexcodec (>= 1.0.4),
+               python3-nose,
+               python3-setuptools,
+               python3-yaml
 Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/pybtex/trunk/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pybtex/trunk/
@@ -65,6 +70,30 @@ Description: public modules for pybtex (Python 2)
  .
  This package provides the modules for Python 2.
 
+Package: python3-pybtex
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         python3-pkg-resources
+Suggests: python-pybtex-doc
+Description: public modules for pybtex (Python 3)
+ Pybtex reads citation information from a file and produces a formatted
+ bibliography. BibTeX style files are supported. Alternatively it is
+ possible to write styles in Python.
+ .
+ Pybtex currently understands the following bibliography formats:
+  * BibTeX
+  * BibTeXML
+  * YAML-based format
+ .
+ The resulting bibliography may be output in one of the following formats:
+  * LaTeX
+  * HTML
+  * plain text
+ .
+ This package provides the modules for Python 3.
+
 Package: python-pybtex-doc
 Architecture: all
 Multi-Arch: foreign
diff --git a/debian/rules b/debian/rules
index 8fb5893..b3cc910 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,10 @@ export PYBUILD_NAME=pybtex
 export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
 
+export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
+
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git



More information about the debian-science-commits mailing list