[Python-modules-commits] r10627 - in packages/pylons/trunk/debian (7 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Nov 29 23:37:31 UTC 2009


    Date: Sunday, November 29, 2009 @ 23:37:27
  Author: piotr
Revision: 10627

* Move templates to /usr/share/paster_templates (closes: #526767)
  - depend on python-pastescript >= 1.7.3-5
* Move media files to /usr/share/python-pylons/

Added:
  packages/pylons/trunk/debian/install
  packages/pylons/trunk/debian/patches/
  packages/pylons/trunk/debian/patches/move_data_outside_site-packages.patch
  packages/pylons/trunk/debian/patches/series
Modified:
  packages/pylons/trunk/debian/changelog
  packages/pylons/trunk/debian/control
  packages/pylons/trunk/debian/rules

Modified: packages/pylons/trunk/debian/changelog
===================================================================
--- packages/pylons/trunk/debian/changelog	2009-11-29 23:20:28 UTC (rev 10626)
+++ packages/pylons/trunk/debian/changelog	2009-11-29 23:37:27 UTC (rev 10627)
@@ -1,8 +1,17 @@
+pylons (0.9.7-2) unstable; urgency=low
+
+  * Move templates to /usr/share/paster_templates (closes: #526767)
+    - depend on python-pastescript >= 1.7.3-5
+  * Move media files to /usr/share/python-pylons/
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 02 Nov 2009 22:12:36 +0100
+
 pylons (0.9.7-1) unstable; urgency=low
 
-  [Oleksandr Moskalenko]
+  [ Oleksandr Moskalenko ]
   * New upstream release
-  [Piotr Ożarowski]
+
+  [ Piotr Ożarowski ]
   * Bump python-routes, python-webhelpers, python-beaker, python-pastedeploy,
     python-simplejson and python-webob minimum required versions
   * Set the minimum required SQLAlchemy version to >= 0.5

Modified: packages/pylons/trunk/debian/control
===================================================================
--- packages/pylons/trunk/debian/control	2009-11-29 23:20:28 UTC (rev 10626)
+++ packages/pylons/trunk/debian/control	2009-11-29 23:37:27 UTC (rev 10627)
@@ -4,7 +4,7 @@
 Maintainer: Oleksandr Moskalenko <malex at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
  Piotr Ożarowski <piotr at debian.org>
-Build-Depends: debhelper (>= 5), python-all-dev, python-setuptools (>= 0.6b3-1~)
+Build-Depends: debhelper (>= 5), python-all-dev, python-setuptools (>= 0.6b3-1~), quilt
 Build-Depends-Indep: python-support (>= 0.6.4)
 Standards-Version: 3.8.0
 XS-Python-Version: all
@@ -15,7 +15,7 @@
 Package: python-pylons
 Architecture: all
 Depends: ${python:Depends}, python, python-routes (>= 1.10.3), python-nose (>= 0.10.4),
- python-paste (>= 1.7.2), python-pastedeploy (>= 1.3.3), python-pastescript (>= 1.7.3),
+ python-paste (>= 1.7.2), python-pastedeploy (>= 1.3.3), python-pastescript (>= 1.7.3-5~),
  python-webob (>= 0.9.6.1), python-weberror (>= 0.10.1), python-webtest (>= 1.1),
  python-beaker (>= 1.2.2), python-mako (>= 0.2.4), python-tempita (>= 0.2),
  python-formencode (>= 1.2.1), python-webhelpers (>= 0.6.4), python-decorator (>= 2.3.2),

Added: packages/pylons/trunk/debian/install
===================================================================
--- packages/pylons/trunk/debian/install	                        (rev 0)
+++ packages/pylons/trunk/debian/install	2009-11-29 23:37:27 UTC (rev 10627)
@@ -0,0 +1,3 @@
+pylons/templates/* /usr/share/paster_templates/pylons/
+pylons/media/* /usr/share/python-pylons/media/
+

Added: packages/pylons/trunk/debian/patches/move_data_outside_site-packages.patch
===================================================================
--- packages/pylons/trunk/debian/patches/move_data_outside_site-packages.patch	                        (rev 0)
+++ packages/pylons/trunk/debian/patches/move_data_outside_site-packages.patch	2009-11-29 23:37:27 UTC (rev 10627)
@@ -0,0 +1,13 @@
+Index: pylons-0.9.7/setup.py
+===================================================================
+--- pylons-0.9.7.orig/setup.py
++++ pylons-0.9.7/setup.py
+@@ -74,7 +74,7 @@ the `Pylons download page <http://pylons
+     url='http://www.pylonshq.com/',
+     packages=find_packages(exclude=['ez_setup', 'tests', 'tests.*']),
+     zip_safe=False,
+-    include_package_data=True,
++    #include_package_data=True,
+     test_suite='nose.collector',
+     tests_require=tests_require,
+     install_requires=[

Added: packages/pylons/trunk/debian/patches/series
===================================================================
--- packages/pylons/trunk/debian/patches/series	                        (rev 0)
+++ packages/pylons/trunk/debian/patches/series	2009-11-29 23:37:27 UTC (rev 10627)
@@ -0,0 +1 @@
+move_data_outside_site-packages.patch

Modified: packages/pylons/trunk/debian/rules
===================================================================
--- packages/pylons/trunk/debian/rules	2009-11-29 23:20:28 UTC (rev 10626)
+++ packages/pylons/trunk/debian/rules	2009-11-29 23:37:27 UTC (rev 10627)
@@ -4,32 +4,25 @@
 #export DH_VERBOSE=1
 package=python-pylons
 
-clean:
+include /usr/share/quilt/quilt.make
+
+clean: unpatch
 	dh_testdir
 	dh_testroot
-	rm -f build-*
-	python setup.py clean
 	rm -rf build
 	find . -name '*\.py[co]' -delete
 	find . -name '\._*' -delete
 	find . -name '\.DS_Store' -delete
 	dh_clean
 
-build-stamp: 
-	dh_testdir
-	python setup.py build
-	touch $@
+build:
 
-build: build-stamp
-
-install: build
+install: patch
 	dh_testdir
 	dh_testroot
-	dh_clean -k
 	dh_installdirs
 	python setup.py install \
-		--no-compile \
-		--single-version-externally-managed \
+		--no-compile --prefix=/usr \
 		--root $(CURDIR)/debian/$(package)
 
 binary-indep: build install
@@ -37,12 +30,12 @@
 	dh_testroot
 	dh_installchangelogs CHANGELOG
 	dh_installdocs
+	dh_install
 	dh_installexamples
 	dh_compress -X.py
 	dh_fixperms
 	dh_pysupport
 	find debian/$(package) -type f -perm 755 | xargs -r chmod 644
-	rm -rf $(CURDIR)/debian/$(package)/usr/share/python-support/python-pylons/tests/
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums




More information about the Python-modules-commits mailing list