[Python-modules-commits] [python-pyftpdlib] 03/11: add Python 3 package
Wolfgang Borgert
debacle at moszumanska.debian.org
Sun Nov 22 17:51:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-pyftpdlib.
commit 32bc475638fc4e7227590b9274c24b44b6c4e001
Author: W. Martin Borgert <debacle at debian.org>
Date: Sun Nov 22 17:16:26 2015 +0100
add Python 3 package
---
debian/changelog | 4 ++++
debian/control | 26 +++++++++++++++++++++++++-
debian/{docs => python-pyftpdlib.docs} | 0
debian/{docs => python3-pyftpdlib.docs} | 0
debian/rules | 4 +++-
5 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6de77c7..eae9794 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
python-pyftpdlib (1.2.0-2) UNRELEASED; urgency=low
+ [ W. Martin Borgert ]
+ * Add Python 3 package (Closes: #782512)
+
+ [ Janos Guljas, 2013-08-15 ]
* Depend and Build-Depend on python-sendfile >= 2.0.0. (Closes: #718576)
-- Janos Guljas <janos at debian.org> Thu, 15 Aug 2013 21:35:57 +0200
diff --git a/debian/control b/debian/control
index 237cb91..fcc88a7 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,14 @@ Section: python
Priority: optional
Maintainer: Janos Guljas <janos at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~), python-sendfile (>= 2.0.0)
+Build-Depends: debhelper (>= 9),
+ python-all (>= 2.6.6-3~),
+ python-sendfile (>= 2.0.0),
+ python3-sendfile (>= 2.0.0),
+ python-setuptools (>= 0.6b3),
+ python3-all,
+ python3-setuptools,
+ dh-python
Standards-Version: 3.9.4
Homepage: http://code.google.com/p/pyftpdlib/
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-pyftpdlib.git
@@ -21,3 +28,20 @@ Description: Python FTP server library
pyftpdlib is currently the most complete RFC-959 FTP server
implementation available for Python programming language. It is used
in projects like Google Chromium and Bazaar.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-pyftpdlib
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python3-sendfile (>= 2.0.0)
+Provides: ${python3:Provides}
+Description: Python FTP server library
+ Python FTP server library provides a high-level portable interface to
+ easily write asynchronous FTP servers with Python.
+ .
+ pyftpdlib is currently the most complete RFC-959 FTP server
+ implementation available for Python programming language. It is used
+ in projects like Google Chromium and Bazaar.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/docs b/debian/python-pyftpdlib.docs
similarity index 100%
copy from debian/docs
copy to debian/python-pyftpdlib.docs
diff --git a/debian/docs b/debian/python3-pyftpdlib.docs
similarity index 100%
rename from debian/docs
rename to debian/python3-pyftpdlib.docs
diff --git a/debian/rules b/debian/rules
index 11396d0..b1356af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
#!/usr/bin/make -f
+export PYBUILD_NAME=pyftpdlib
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_test:
ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyftpdlib.git
More information about the Python-modules-commits
mailing list