[Python-modules-commits] [python-gitdb] 02/03: Support Python-3

Takaki Taniguchi takaki at moszumanska.debian.org
Wed Nov 25 13:46:01 UTC 2015


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

takaki pushed a commit to branch master
in repository python-gitdb.

commit ee32e70341b7ea5033353ef46ddc22c1eb8046b7
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Wed Nov 25 22:33:11 2015 +0900

    Support Python-3
---
 debian/control | 24 +++++++++++++++++++++---
 debian/rules   |  4 +++-
 2 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index ae8bb6c..d132f38 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,14 @@ Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
 Build-Depends: debhelper (>= 8.0.0)
 	,python-all-dev
+	,python3-all-dev
 	,python-setuptools
+	,python3-setuptools
 	,git
 	,python-nose
+	,python3-nose
 	,python-smmap
+	,python3-smmap
 Standards-Version: 3.9.6
 Homepage: https://github.com/gitpython-developers/gitdb
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-gitdb.git
@@ -16,12 +20,26 @@ Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-gitd
 
 Package: python-gitdb
 Architecture: any
-Depends: python-smmap, ${python:Depends},
- ${shlibs:Depends}, ${misc:Depends}
+Depends: python-smmap, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
-Description: pure-Python git object database
+Description: pure-Python git object database (Python 2)
  The GitDB project implements interfaces to allow read and write access to
  git repositories. In its core lies the db package, which contains all
  database types necessary to read a complete git repository. These are
  the LooseObjectDB, the PackedDB and the ReferenceDB which are combined
  into the GitDB to combine every aspect of the git database.
+ .
+ This package for Python 2.
+
+Package: python3-gitdb
+Architecture: any
+Depends: python-smmap, ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python3:Provides}
+Description: pure-Python git object database (Python 3)
+ The GitDB project implements interfaces to allow read and write access to
+ git repositories. In its core lies the db package, which contains all
+ database types necessary to read a complete git repository. These are
+ the LooseObjectDB, the PackedDB and the ReferenceDB which are combined
+ into the GitDB to combine every aspect of the git database.
+ .
+ This package for Python 3.
diff --git a/debian/rules b/debian/rules
index 854f78d..d298ca9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export PYBUILD_NAME=gitdb
+
 %:
-	dh $@  --with python2
+	dh $@  --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 	mkdir TESTGITDB

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-gitdb.git



More information about the Python-modules-commits mailing list