[pybtex] 02/05: Let the pybtex CLI use the Python 3 backend

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jul 26 09:15:02 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 7c59b626d9c51a5e6093ef7a02c00b9fda9ff0ee
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 26 09:25:49 2017 +0100

    Let the pybtex CLI use the Python 3 backend
---
 debian/control | 4 ++--
 debian/rules   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 24a4153..1a9eeb8 100644
--- a/debian/control
+++ b/debian/control
@@ -27,8 +27,8 @@ Homepage: https://pybtex.org/
 Package: pybtex
 Architecture: all
 Depends: ${misc:Depends},
-         ${python:Depends},
-         python-pybtex (= ${binary:Version})
+         ${python3:Depends},
+         python3-pybtex (= ${binary:Version})
 Description: BibTeX-compatible bibliography processor
  Pybtex reads citation information from a file and produces a formatted
  bibliography. BibTeX style files are supported. Alternatively it is
diff --git a/debian/rules b/debian/rules
index e0a5a6a..2afe8dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
 endif
 
-export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
+export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -30,7 +30,7 @@ endif
 .PHONY: override_dh_auto_install
 override_dh_auto_install:
 	dh_auto_install
-	dh_movefiles --package=pybtex --sourcedir=debian/python-pybtex usr/bin
+	dh_movefiles --package=pybtex --sourcedir=debian/python3-pybtex usr/bin
 
 .PHONY: override_dh_compress
 override_dh_compress:

-- 
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