[Python-modules-commits] r18675 - in packages/pastedeploy/trunk/debian (changelog rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Thu Sep 22 20:07:23 UTC 2011


    Date: Thursday, September 22, 2011 @ 20:07:22
  Author: piotr
Revision: 18675

* Remove .pth file (introduced in last upload by accident)
* Add build-indep and build-arch targets in debian/rules

Modified:
  packages/pastedeploy/trunk/debian/changelog
  packages/pastedeploy/trunk/debian/rules

Modified: packages/pastedeploy/trunk/debian/changelog
===================================================================
--- packages/pastedeploy/trunk/debian/changelog	2011-09-22 20:05:58 UTC (rev 18674)
+++ packages/pastedeploy/trunk/debian/changelog	2011-09-22 20:07:22 UTC (rev 18675)
@@ -1,3 +1,10 @@
+pastedeploy (1.5.0-2) unstable; urgency=low
+
+  * Remove .pth file (introduced in last upload by accident)
+  * Add build-indep and build-arch targets in debian/rules
+
+ -- Piotr Ożarowski <piotr at debian.org>  Thu, 22 Sep 2011 21:13:16 +0200
+
 pastedeploy (1.5.0-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/pastedeploy/trunk/debian/rules
===================================================================
--- packages/pastedeploy/trunk/debian/rules	2011-09-22 20:05:58 UTC (rev 18674)
+++ packages/pastedeploy/trunk/debian/rules	2011-09-22 20:07:22 UTC (rev 18675)
@@ -14,7 +14,9 @@
 	find . -name '*\.py[co]' -delete
 	dh_clean build-docs $(PYVERS:%=install-python%)
 
-build: build-docs
+build: build-indep
+build-indep: build-docs
+build-arch:
 
 build-docs:
 	dh_installdirs
@@ -29,7 +31,7 @@
 	python$* setup.py install --root $(PKGDIR) \
 		--single-version-externally-managed $(py_setup_install_args)
 	# pth file is not needed
-	find $(PKGDIR) -name '*.pth' -or -name 'namespace_packages.txt' -delete
+	find $(PKGDIR) \( -name '*.pth' -or -name 'namespace_packages.txt' \) -delete
 	# move templates outside site-packages
 	if [ -d $(PKGDIR)/usr/share/paster_templates ]; \
 		then rm -r $(PKGDIR)$(call py_libdir,$*)/paste/deploy/paster_templates;\
@@ -56,4 +58,4 @@
 
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install build
+.PHONY: clean build build-arch build-indep binary binary-arch binary-indep install




More information about the Python-modules-commits mailing list