[Python-modules-commits] r21222 - in packages/ipython/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Sat Apr 14 13:41:05 UTC 2012
Date: Saturday, April 14, 2012 @ 13:41:04
Author: jtaylor-guest
Revision: 21222
add get-orig-source target and remove minified js sources
Added:
packages/ipython/trunk/debian/README.source
Modified:
packages/ipython/trunk/debian/changelog
packages/ipython/trunk/debian/rules
Added: packages/ipython/trunk/debian/README.source
===================================================================
--- packages/ipython/trunk/debian/README.source (rev 0)
+++ packages/ipython/trunk/debian/README.source 2012-04-14 13:41:04 UTC (rev 21222)
@@ -0,0 +1,5 @@
+Files removed from upstream source:
+
+Minified javascript without source:
+IPython/frontend/html/notebook/static/jquery/js/jquery-1.6.2.min.js
+IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.14.custom.min.js
Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog 2012-04-14 13:41:00 UTC (rev 21221)
+++ packages/ipython/trunk/debian/changelog 2012-04-14 13:41:04 UTC (rev 21222)
@@ -1,18 +1,20 @@
-ipython (0.12+git20120218-1) UNRELEASED; urgency=low
+ipython (0.12.1~git20120411+dfsg1-1) UNRELEASED; urgency=low
* New upstream snapshort from 0.12.1 branch.
- Commit bbec0404b8e51a55a16e516d61465896b368151
+ Commit cb7ff561f33acff72035da212c70def49fd65437
+ Repackaged to remove minified javascript files from source.
+ * add get-orig-source target to rules
* ipython-notebook: depend on libjs-mathjax instead of recommending.
mathjax can't be securely served from cloudfront.
* debian/rules: delete build directory in clean
* remove transitional ipython-parallel package
- * set HOME to build folder for doc build and tests (Closes: #665224)
+ * set HOME to build folder for doc build and tests (Closes: #665224)
* move all examples to ipython-doc
* move python-argparse to suggests (Closes: #653650)
* update standard version to 3.9.3, no changes needed
* override lintian desktop-command-not-in-package
- -- Julian Taylor <jtaylor.debian at googlemail.com> Fri, 06 Apr 2012 13:55:10 +0200
+ -- Julian Taylor <jtaylor.debian at googlemail.com> Mon, 09 Apr 2012 15:42:33 +0200
ipython (0.12-1) unstable; urgency=low
Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules 2012-04-14 13:41:00 UTC (rev 21221)
+++ packages/ipython/trunk/debian/rules 2012-04-14 13:41:04 UTC (rev 21222)
@@ -21,6 +21,9 @@
set -e && for pyvers in $(PY3VERS); do \
$$pyvers setup.py build --executable '/usr/bin/env python3'; \
done
+ # so dh_python2 symlinks the missing stuff
+ touch IPython/frontend/html/notebook/static/jquery/js/jquery-1.6.2.min.js
+ touch IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.14.custom.min.js
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
HOME=$(CURDIR)/build PYTHONPATH=$(CURDIR) $(MAKE) -C $(CURDIR)/docs html
endif
@@ -154,3 +157,15 @@
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
dh_sphinxdoc
endif
+
+VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | sed -r "s/Version: (.*)-.*/\1/")
+COMMIT = $(shell dpkg-parsechangelog | grep Commit | sed -e "s/^\s*Commit //")
+get-orig-source:
+ git clone --depth 1 git://github.com/ipython/ipython ipython.git
+ cd ipython.git && git archive --format=tar --prefix=ipython.git/ $(COMMIT) | gzip -9 -c > ../ipython_$(VERSION).orig.tar.gz
+ rm -rf ipython.git
+ tar xfz ipython_$(VERSION).orig.tar.gz
+ rm -f ipython.git/IPython/frontend/html/notebook/static/jquery/js/jquery-1.6.2.min.js
+ rm -f ipython.git/IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.14.custom.min.js
+ tar cfz ipython_$(VERSION).orig.tar.gz ipython.git
+ rm -rf ipython.git
More information about the Python-modules-commits
mailing list