[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

numpy 1.2.1, switching to git?


I just uploaded some fixes to numpy 1.1.1, currently in incoming. The
attached patch fixes the packaging so that it compiles with the new
numpy 1.2.1. However, I had to comment out all the documentation
building, as it has changed upstream (and the current Debian packaging
breaks the build).

So if anyone (Kumar?) have time to work on this, it'd be awesome. For
others, if you just need the package, apply the patch and it will


P.S. bzed, POX, isn't it time to move our packaging to git? So that I
can just commit such patches in a branch and also so that we don't
have to mess with the orig.tar.gz, svn-uscan and other things -- i.e.
everything will be in one git repo, so users can just download, hit
one command and they have a working package (as opposed to the current
scheme, were they need to download svn, then setup some tarball
directories, then setup svn-uscan, then execute it and only then they
can actually build the package, so it's very annoying for casual users
to setup the environment to contribute to the packaging)
Index: debian/changelog
--- debian/changelog	(revision 7087)
+++ debian/changelog	(working copy)
@@ -1,3 +1,9 @@
+python-numpy (1:1.2.1-1) unstable; urgency=low
+  * New upstream release
+ -- Ondrej Certik <ondrej@certik.cz>  Mon, 08 Dec 2008 17:32:37 +0100
 python-numpy (1:1.1.1-2) unstable; urgency=low
   [ Ondrej Certik ]
Index: debian/rules
--- debian/rules	(revision 7087)
+++ debian/rules	(working copy)
@@ -32,8 +32,8 @@
 	install -d $(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy
 	cp -r $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/numpy/doc/* \
-	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
+#	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
@@ -69,12 +69,12 @@
 		dh_link usr/share/pyshared/numpy/core/include/numpy usr/include/python$${i}_d/numpy; \
-	cp -r $(CURDIR)/numpy/doc/html/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
-	mkdir $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
-	rst2html numpy/f2py/docs/usersguide/index.txt > $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/index.html
-	cp -r $(CURDIR)/numpy/f2py/docs/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
-	chmod -x $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/usersguide/setup_example.py
+	#cp -r $(CURDIR)/numpy/doc/html/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)
+	#mkdir $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
+	#rst2html numpy/f2py/docs/usersguide/index.txt > $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/index.html
+	#cp -r $(CURDIR)/numpy/f2py/docs/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py
+	#chmod -x $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/f2py/usersguide/setup_example.py
 	set -e; \

Reply to: