[Python-modules-commits] r20427 - in packages/python-keyring/trunk/debian (7 files)
chaica-guest at users.alioth.debian.org
chaica-guest at users.alioth.debian.org
Mon Feb 13 02:39:49 UTC 2012
Date: Monday, February 13, 2012 @ 02:39:47
Author: chaica-guest
Revision: 20427
* New upstream version (Closes: #656680, #624690)
* debian/control
- Add X-Python-Version for Python 3.2
- Add B-D for Python 3.2
- Add unzip for B-D to repack upstream sources
- Add python3-keyring description
* Add python-keyring.install and python3-keyring.install files
* debian/rules
- Execute unit tests if available
- repack upstream sources
* debian/watch
- New URL to catch upstream sources
Added:
packages/python-keyring/trunk/debian/python-keyring.install
packages/python-keyring/trunk/debian/python3-keyring.install
Modified:
packages/python-keyring/trunk/debian/changelog
packages/python-keyring/trunk/debian/control
packages/python-keyring/trunk/debian/copyright
packages/python-keyring/trunk/debian/rules
packages/python-keyring/trunk/debian/watch
Modified: packages/python-keyring/trunk/debian/changelog
===================================================================
--- packages/python-keyring/trunk/debian/changelog 2012-02-12 23:22:17 UTC (rev 20426)
+++ packages/python-keyring/trunk/debian/changelog 2012-02-13 02:39:47 UTC (rev 20427)
@@ -1,3 +1,20 @@
+python-keyring (0.7.1-1) unstable; urgency=low
+
+ * New upstream version (Closes: #656680, #624690)
+ * debian/control
+ - Add X-Python-Version for Python 3.2
+ - Add B-D for Python 3.2
+ - Add unzip for B-D to repack upstream sources
+ - Add python3-keyring description
+ * Add python-keyring.install and python3-keyring.install files
+ * debian/rules
+ - Execute unit tests if available
+ - repack upstream sources
+ * debian/watch
+ - New URL to catch upstream sources
+
+ -- Carl Chenet <chaica at ohmytux.com> Mon, 13 Feb 2012 03:14:48 +0100
+
python-keyring (0.6.2-1) unstable; urgency=low
* New upstream version
Modified: packages/python-keyring/trunk/debian/control
===================================================================
--- packages/python-keyring/trunk/debian/control 2012-02-12 23:22:17 UTC (rev 20426)
+++ packages/python-keyring/trunk/debian/control 2012-02-13 02:39:47 UTC (rev 20427)
@@ -2,9 +2,10 @@
Priority: optional
Section: python
X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.2
Maintainer: Carl Chenet <chaica at ohmytux.com>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all (>=2.6.6-3), python-setuptools
+Build-Depends: debhelper (>= 7.0.50~), python-all (>=2.6.6-3), python-setuptools, python3-all, python3-setuptools, unzip
Standards-Version: 3.9.2
Homepage: http://home.python-keyring.org/
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-keyring/trunk/
@@ -18,3 +19,14 @@
The Python keyring library provides an easy way to access the system
keyring service (e.g Gnome-Keyring, KWallet) from Python.
it can be used in any application that needs safe password storage.
+
+Package: python3-keyring
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Recommends: python-crypto
+Description: store and access your passwords safely - Python 3 version of the package
+ The Python keyring library provides an easy way to access the system
+ keyring service (e.g Gnome-Keyring, KWallet) from Python.
+ it can be used in any application that needs safe password storage.
+ .
+ This is the Python 3 version of the package.
Modified: packages/python-keyring/trunk/debian/copyright
===================================================================
--- packages/python-keyring/trunk/debian/copyright 2012-02-12 23:22:17 UTC (rev 20426)
+++ packages/python-keyring/trunk/debian/copyright 2012-02-13 02:39:47 UTC (rev 20427)
@@ -1,7 +1,7 @@
This package was debianized by Carl Chenet <chaica at ohmytux.com> on
Tue, 01 Sep 2009 00:22:25 +0200.
-It was updated in Mar 2011 with the help of a great contribution of Barry
-Warsaw <barry at python.org> from the Ubuntu python-keyring package. Thanks !
+It was updated in Feb 2012 with the help of a great contribution of Barry
+Warsaw <barry at python.org> from the Ubuntu python-keyring package. Thanks!
It was downloaded from http://pypi.python.org/pypi/keyring
Added: packages/python-keyring/trunk/debian/python-keyring.install
===================================================================
--- packages/python-keyring/trunk/debian/python-keyring.install (rev 0)
+++ packages/python-keyring/trunk/debian/python-keyring.install 2012-02-13 02:39:47 UTC (rev 20427)
@@ -0,0 +1 @@
+usr/lib/python2*
Added: packages/python-keyring/trunk/debian/python3-keyring.install
===================================================================
--- packages/python-keyring/trunk/debian/python3-keyring.install (rev 0)
+++ packages/python-keyring/trunk/debian/python3-keyring.install 2012-02-13 02:39:47 UTC (rev 20427)
@@ -0,0 +1 @@
+usr/lib/python3
Modified: packages/python-keyring/trunk/debian/rules
===================================================================
--- packages/python-keyring/trunk/debian/rules 2012-02-12 23:22:17 UTC (rev 20426)
+++ packages/python-keyring/trunk/debian/rules 2012-02-13 02:39:47 UTC (rev 20427)
@@ -1,7 +1,42 @@
#!/usr/bin/make -f
+#DH_VERBOSE=1
+
+PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
+
%:
- dh $@ --with python2
+ dh $@ --with python2,python3
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+test-python2.7:
+ # The test suite needs a functioning $HOME.
+ mkdir -p build/home
+ HOME=$(CURDIR)/build/home \
+ python$* -m unittest discover
+
+test-python%:
+ @echo "Test suite does not run in Python $@. Skipping."
+
+override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
+else
+ @echo "nocheck set, skipping tests"
+endif
+
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for py in $(PYTHON3) ; do \
+ python$$py setup.py build; \
+ done;
+
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for py in $(PYTHON3) ; do \
+ python$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+ done;
+
override_dh_installchangelogs:
dh_installchangelogs -k CHANGES.txt
+
+get-packaged-orig-source:
+ uscan --force-download --repack --verbose
Modified: packages/python-keyring/trunk/debian/watch
===================================================================
--- packages/python-keyring/trunk/debian/watch 2012-02-12 23:22:17 UTC (rev 20426)
+++ packages/python-keyring/trunk/debian/watch 2012-02-13 02:39:47 UTC (rev 20427)
@@ -1,2 +1,2 @@
version=3
-http://pypi.python.org/packages/source/k/keyring/keyring-([\d\.]*).tar.gz
+http://pypi.python.org/packages/source/k/keyring/keyring-([\d\.]*).zip
More information about the Python-modules-commits
mailing list