[Python-modules-commits] r15109 - in packages/nose/trunk/debian (changelog control rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Fri Dec 17 22:06:47 UTC 2010


    Date: Friday, December 17, 2010 @ 22:06:23
  Author: piotr
Revision: 15109

* New upstream release
  - adds Python 2.7 and Python 3.X support
* New binary package: python3-nose
  - bump minimum required CDBS version to 0.4.90 (for python3-distutils.mk)
* Remove build dir in clean target

Modified:
  packages/nose/trunk/debian/changelog
  packages/nose/trunk/debian/control
  packages/nose/trunk/debian/rules

Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog	2010-12-17 20:35:21 UTC (rev 15108)
+++ packages/nose/trunk/debian/changelog	2010-12-17 22:06:23 UTC (rev 15109)
@@ -1,9 +1,17 @@
-nose (0.11.1-2) UNRELEASED; urgency=low
+nose (1.0.0-1) UNRELEASED; urgency=low
 
+  [ Jakub Wilk ]
   * Fix watch file.
 
- -- Jakub Wilk <jwilk at debian.org>  Fri, 13 Nov 2009 11:57:27 +0100
+  [ Piotr Ożarowski ]
+  * New upstream release
+    - adds Python 2.7 and Python 3.X support
+  * New binary package: python3-nose
+    - bump minimum required CDBS version to 0.4.90 (for python3-distutils.mk)
+  * Remove build dir in clean target
 
+ -- Piotr Ożarowski <piotr at debian.org>  Fri, 17 Dec 2010 22:21:39 +0100
+
 nose (0.11.1-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/nose/trunk/debian/control
===================================================================
--- packages/nose/trunk/debian/control	2010-12-17 20:35:21 UTC (rev 15108)
+++ packages/nose/trunk/debian/control	2010-12-17 22:06:23 UTC (rev 15109)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Gustavo Noronha Silva <kov at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Torsten Marek <shlomme at debian.org>
-Build-Depends: python-dev (>= 2.5.4-1~), python-setuptools (>= 0.6a9), debhelper (>= 5.0.38), cdbs (>= 0.4.49), python-support (>= 0.8.1), python-sphinx (>= 0.6.1), libjs-jquery
+Build-Depends: python (>= 2.5.4-1~), python3, python-setuptools (>= 0.6a9), python3-setuptools, debhelper (>= 5.0.38), cdbs (>= 0.4.90), python-support (>= 0.8.1), python-sphinx (>= 0.6.1), libjs-jquery
 Homepage: http://somethingaboutorange.com/mrl/projects/nose/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/nose/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/nose/trunk/
@@ -17,3 +17,11 @@
  nose provides an alternate test discovery and running process for
  unittest, one that is intended to mimic the behavior of py.test as
  much as is reasonably possible without resorting to too much magic
+
+Package: python3-nose
+Architecture: all
+Depends: ${python3:Depends}, python3-pkg-resources, ${misc:Depends}
+Description: test discovery and running for Python's unittest
+ nose provides an alternate test discovery and running process for
+ unittest, one that is intended to mimic the behavior of py.test as
+ much as is reasonably possible without resorting to too much magic

Modified: packages/nose/trunk/debian/rules
===================================================================
--- packages/nose/trunk/debian/rules	2010-12-17 20:35:21 UTC (rev 15108)
+++ packages/nose/trunk/debian/rules	2010-12-17 22:06:23 UTC (rev 15109)
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
 
 DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON_DESTDIR=debian/python-nose
+DEB_PYTHON3_DESTDIR=debian/python3-nose
 DEB_COMPRESS_EXCLUDE= .js .inv
 
 include /usr/share/cdbs/1/rules/buildcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/class/python3-distutils.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed --install-layout=deb
 
@@ -15,4 +18,11 @@
 binary-post-install/python-nose::
 	# the manpage is already being installed at the correct place
 	# remove the incorrect path
-	rm -rf debian/python-nose/usr/man
+	rm -rf debian/python-nose/usr/man debian/python3-nose/usr/man
+
+binary-post-install/python3-nose::
+	# nosetests is provided in python-nose package
+	cd debian/python3-nose/usr/bin/ && mv nosetests nosetests-3
+
+clean::
+	rm -rf build
\ No newline at end of file




More information about the Python-modules-commits mailing list