[Python-modules-commits] r6782 - in packages/pyglet/trunk/debian (changelog rules)

speijnik-guest at users.alioth.debian.org speijnik-guest at users.alioth.debian.org
Wed Oct 29 01:03:39 UTC 2008


    Date: Wednesday, October 29, 2008 @ 01:03:39
  Author: speijnik-guest
Revision: 6782

New upstream release. Updated debian/changelog accordingly.
Updated get-orig-sources in debian/rules.

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

Modified: packages/pyglet/trunk/debian/changelog
===================================================================
--- packages/pyglet/trunk/debian/changelog	2008-10-28 22:39:39 UTC (rev 6781)
+++ packages/pyglet/trunk/debian/changelog	2008-10-29 01:03:39 UTC (rev 6782)
@@ -1,3 +1,13 @@
+pyglet (1.1.2.dfsg-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * Updated debian/rules: get-orig-sources now also removes the documentation
+    + due to unclean licensing in pyglet-1.1.2.
+  * Added PYGLET_VERSION variable in debian/rules to simplify 
+    + upadting of get-orig-sources.
+
+ -- Stephan Peijnik <debian at sp.or.at>  Wed, 29 Oct 2008 02:01:17 +0100
+
 pyglet (1.1.1.dfsg.2-1) unstable; urgency=low
 
   * Removed examples broken by the removal of non-free files as per the

Modified: packages/pyglet/trunk/debian/rules
===================================================================
--- packages/pyglet/trunk/debian/rules	2008-10-28 22:39:39 UTC (rev 6781)
+++ packages/pyglet/trunk/debian/rules	2008-10-29 01:03:39 UTC (rev 6782)
@@ -8,26 +8,31 @@
 
 DEB_COMPRESS_EXCLUDE := .py
 DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG
+PYGLET_VERSION=1.1.2
 
 get-orig-sources:
-	wget http://pyglet.googlecode.com/files/pyglet-1.1.1.tar.gz
-	tar xzf pyglet-1.1.1.tar.gz
+	wget http://pyglet.googlecode.com/files/pyglet-$(PYGLET_VERSION).tar.gz
+	tar xzf pyglet-$(PYGLET_VERSION).tar.gz
 	# Remove examples with unclean licensing.
 	#
 	# Resources (images, sound files, etc.) needed by these examples
 	# have no license attached and thus are non-free.
-	rm -rf pyglet-1.1.1/examples/astraea/
-	rm -rf pyglet-1.1.1/examples/noisy/
-	rm -rf pyglet-1.1.1/examples/soundspace/
-	rm -f pyglet-1.1.1/examples/pyglet.png
-	rm -f pyglet-1.1.1/examples/html_label.py
-	rm -f pyglet-1.1.1/examples/programming_guide/animation.py
-	rm -f pyglet-1.1.1/examples/programming_guide/image_viewer.py
-	rm -f pyglet-1.1.1/examples/programming_guide/dinosaur.gif
-	rm -f pyglet-1.1.1/examples/programming_guide/kitten.jpg
+	rm -rf pyglet-$(PYGLET_VERSION)/examples/astraea/
+	rm -rf pyglet-$(PYGLET_VERSION)/examples/noisy/
+	rm -rf pyglet-$(PYGLET_VERSION)/examples/soundspace/
+	rm -f pyglet-$(PYGLET_VERSION)/examples/pyglet.png
+	rm -f pyglet-$(PYGLET_VERSION)/examples/html_label.py
+	rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/animation.py
+	rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/image_viewer.py
+	rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/dinosaur.gif
+	rm -f pyglet-$(PYGLET_VERSION)/examples/programming_guide/kitten.jpg
 
+	# Remove complete doc/ folder (unclean licensing). Present in
+	# pyglet-1.1.2.
+	rm -rf pyglet-$(PYGLET_VERSION)/doc
+
 	# Remove tools that come without copyright and/or license notice.
-	rm -f pyglet-1.1.1/tools/inspect_font.py
+	rm -f pyglet-$(PYGLET_VERSION)/tools/inspect_font.py
 
-	tar czf pyglet_1.1.1.dfsg.2.orig.tar.gz pyglet-1.1.1
-	rm -r pyglet-1.1.1 pyglet-1.1.1.tar.gz
+	tar czf pyglet_$(PYGLET_VERSION).dfsg.orig.tar.gz pyglet-$(PYGLET_VERSION)
+	rm -r pyglet-$(PYGLET_VERSION) pyglet-$(PYGLET_VERSION).tar.gz




More information about the Python-modules-commits mailing list