[Python-modules-commits] r3829 - in packages/numpy/trunk/debian (changelog rules)

kumanna-guest at users.alioth.debian.org kumanna-guest at users.alioth.debian.org
Tue Dec 4 13:15:35 UTC 2007


    Date: Tuesday, December 4, 2007 @ 13:15:33
  Author: kumanna-guest
Revision: 3829

  + Move f2py manpage installation to python-numpy.
  + Move f2py manpage to python-numpy.
* 

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

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2007-12-04 13:06:21 UTC (rev 3828)
+++ packages/numpy/trunk/debian/changelog	2007-12-04 13:15:33 UTC (rev 3829)
@@ -8,16 +8,19 @@
       provide python-f2py.
   * debian/rules:
     + Don't use pycentral's nomove.
+    + Move f2py manpage installation to python-numpy.
   * debian/python-numpy.install:
     + Merge back the python-f2py.install files.
   * debian/python-numpy.manpages:
-    + Move f2py manpage to python-numpy.    
-  
+    + Move f2py manpage to python-numpy.
+
   [ Ondrej Certik ]
   * Changed maintainer from deb-scipy to DPMT, removed deb-scipy from
     Uploaders
   * Short description improved to use NumPy instead of the old Numerical Python
 
+  [ Kumar Appaiah ]
+  * 
 
  -- Ondrej Certik <ondrej at certik.cz>  Sun, 02 Dec 2007 22:48:54 +0100
 

Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules	2007-12-04 13:06:21 UTC (rev 3828)
+++ packages/numpy/trunk/debian/rules	2007-12-04 13:15:33 UTC (rev 3829)
@@ -25,38 +25,6 @@
 	-rm -rf `find -name build -type d`
 	-rm -rf `find . -name "*.pyc" -type f`
 
-install/python-f2py::
-	: # Adding links to manpages
-	mkdir -p debian/python-f2py/usr/share/man/man1
-	for v in $(PYVERS); do \
-	  ln -sf f2py.1 debian/python-f2py/usr/share/man/man1/f2py$$v.1; \
-	  ln -sf f2py.1 debian/python-f2py/usr/share/man/man1/f2py$$v-dbg.1; \
-	done
-
-	: # Add unversioned f2py script
-	mv $(DEB_DESTDIR)/usr/bin/f2py $(DEB_DESTDIR)/usr/bin/f2py$(cdbs_python_current_version)
-#	ln -s f2py$(cdbs_python_current_version) debian/python-f2py/usr/bin/f2py
-
-# 	: # Add more f2py files
-# 	for v in $(cdbs_python_build_versions); do \
-# 	  mkdir -p debian/python-numpy/usr/lib/python$$v/site-packages/numpy/f2py/src; \
-# 	  cp -p numpy/f2py/src/fortranobject.? \
-# 	    debian/python-numpy/usr/lib/python$$v/site-packages/numpy/f2py/src/; \
-# 	done
-
-	: # and make them executable
-	for i in `find debian/tmp -type f`; do \
-	  sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
-		$$i > $$i.temp; \
-	  if cmp --quiet $$i $$i.temp; then \
-	    rm -f $$i.temp; \
-	  else \
-	    mv -f $$i.temp $$i; \
-	    chmod 755 $$i; \
-	    echo "fixed interpreter: $$i"; \
-	  fi; \
-	done
-
 install/python-numpy::
 	: # Adding documentation
 	install -d $(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy
@@ -65,6 +33,16 @@
 	cp $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/numpy/doc/README.txt \
 		$(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy/README.doc.txt
 
+	: # Adding links to manpages
+	mkdir -p debian/python-numpy/usr/share/man/man1
+	for v in $(PYVERS); do \
+	  ln -sf numpy.1 debian/python-numpy/usr/share/man/man1/numpy$$v.1; \
+	  ln -sf numpy.1 debian/python-numpy/usr/share/man/man1/numpy$$v-dbg.1; \
+	done
+
+	: # Add unversioned numpy script
+	mv $(DEB_DESTDIR)/usr/bin/numpy $(DEB_DESTDIR)/usr/bin/numpy$(cdbs_python_current_version)
+
 	: # Make Python scripts executable
 	for i in `find debian/tmp -type f`; do \
 	  sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \




More information about the Python-modules-commits mailing list