[Python-modules-commits] r4902 - in packages/enthought-traits/trunk/debian (changelog rules)

varun at users.alioth.debian.org varun at users.alioth.debian.org
Sun Mar 23 05:31:41 UTC 2008


    Date: Sunday, March 23, 2008 @ 05:31:40
  Author: varun
Revision: 4902

  - added versioned build-dep on python-central (>= 0.6)
* Make some more fixes in debian/rules

Modified:
  packages/enthought-traits/trunk/debian/changelog
  packages/enthought-traits/trunk/debian/rules

Modified: packages/enthought-traits/trunk/debian/changelog
===================================================================
--- packages/enthought-traits/trunk/debian/changelog	2008-03-23 05:30:37 UTC (rev 4901)
+++ packages/enthought-traits/trunk/debian/changelog	2008-03-23 05:31:40 UTC (rev 4902)
@@ -1,13 +1,16 @@
-enthought-traits (2.0.4-2) UNRELEASED; urgency=low
+enthought-traits (2.0.4-2) unstable; urgency=low
 
+  [ Sandro Tosi ]
   * debian/control
-    - added versioned build-dep on python-central
+    - added versioned build-dep on python-central (>= 0.6)
   * debian/rules
     - fixed due to new python-central directories format (Closes: #472045)
-    - moved pth file removal command into install
 
- -- Sandro Tosi <matrixhasu at gmail.com>  Sat, 22 Mar 2008 23:59:14 +0100
+  [ Varun Hiremath ]
+  * Make some more fixes in debian/rules
 
+ -- Varun Hiremath <varun at debian.org>  Sun, 23 Mar 2008 10:50:52 +0530
+
 enthought-traits (2.0.4-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/enthought-traits/trunk/debian/rules
===================================================================
--- packages/enthought-traits/trunk/debian/rules	2008-03-23 05:30:37 UTC (rev 4901)
+++ packages/enthought-traits/trunk/debian/rules	2008-03-23 05:31:40 UTC (rev 4902)
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 DEB_PYTHON_SYSTEM=pycentral
 
@@ -8,7 +7,6 @@
 
 DEB_COMPRESS_EXCLUDE		:= .py
 DEB_PYTHON_INSTALL_ARGS_ALL 	+= --single-version-externally-managed
-SITE_PACKAGES=$(DEB_DESTDIR)`pycentral pycentraldir python-enthought-traits`
 
 clean::
 	find -type d | grep build$ | xargs $(RM) -r
@@ -24,12 +22,9 @@
 	  DIR=`dirname $$file`; \
 	  cd $$DIR && python$* setup.py install --root $(DEB_DESTDIR); \
 	done
-	find $(CURDIR)/`pycentral pycentraldir python-enthought-traits` -type f | grep nspkg.pth$ | xargs $(RM)
+	touch $(DEB_DESTDIR)/usr/lib/python$*/site-packages/enthought/__init__.py
+	touch $(DEB_DESTDIR)/usr/lib/python$*/site-packages/enthought/traits/__init__.py
+	touch $(DEB_DESTDIR)/usr/lib/python$*/site-packages/enthought/traits/ui/__init__.py
 
-binary-predeb/python-enthought-traits::
-	touch $(SITE_PACKAGES)/enthought/__init__.py
-	touch $(SITE_PACKAGES)/enthought/traits/__init__.py
-	touch $(SITE_PACKAGES)/enthought/traits/ui/__init__.py
-
 get-orig-source:
 	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)




More information about the Python-modules-commits mailing list