[Python-modules-commits] r16261 - in packages/python-django-voting/trunk/debian (3 files)

ockham-guest at users.alioth.debian.org ockham-guest at users.alioth.debian.org
Mon Mar 28 19:08:19 UTC 2011


    Date: Monday, March 28, 2011 @ 19:08:07
  Author: ockham-guest
Revision: 16261

Rebase package on PyPI release (instead of SVN repository)

Modified:
  packages/python-django-voting/trunk/debian/changelog
  packages/python-django-voting/trunk/debian/rules
  packages/python-django-voting/trunk/debian/watch

Modified: packages/python-django-voting/trunk/debian/changelog
===================================================================
--- packages/python-django-voting/trunk/debian/changelog	2011-03-28 19:01:51 UTC (rev 16260)
+++ packages/python-django-voting/trunk/debian/changelog	2011-03-28 19:08:07 UTC (rev 16261)
@@ -1,3 +1,11 @@
+python-django-voting (0.1-1) unstable; urgency=low
+
+  * First actual upstream release; no changes from svn revision 73.
+  * debian/rules: Remove get-orig-source chunk that pulled source from svn.
+  * debian/watch: Point to PyPi release.
+
+ -- Bernhard Reiter <ockham at raz.or.at>  Mon, 28 Mar 2011 18:59:21 +0200
+
 python-django-voting (0+svn73-1) unstable; urgency=low
 
   * Initial release (Closes: #581833, LP: #575481)

Modified: packages/python-django-voting/trunk/debian/rules
===================================================================
--- packages/python-django-voting/trunk/debian/rules	2011-03-28 19:01:51 UTC (rev 16260)
+++ packages/python-django-voting/trunk/debian/rules	2011-03-28 19:08:07 UTC (rev 16261)
@@ -11,18 +11,3 @@
 		PYTHONPATH=${PYTHONPATH}:../.. $$python runtests.py; \
 	done
 endif
-
-# Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source
-PACKAGE = python-django-voting
-SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
-SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' )
-TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
-.PHONY: get-orig-source
-get-orig-source:
-	rm -rf get-orig-source $(TARBALL)
-	mkdir get-orig-source
-	svn export -r $(SVN_REVISION) http://django-voting.googlecode.com/svn/trunk/ \
-	get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
-	GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
-	rm -rf get-orig-source
-	echo "  "$(TARBALL)" created; move it to the right destination to build the package"

Modified: packages/python-django-voting/trunk/debian/watch
===================================================================
--- packages/python-django-voting/trunk/debian/watch	2011-03-28 19:01:51 UTC (rev 16260)
+++ packages/python-django-voting/trunk/debian/watch	2011-03-28 19:08:07 UTC (rev 16261)
@@ -1 +1,2 @@
-# This is an SVN snapshot, so a watch file is impractical.
+version=3
+http://pypi.python.org/packages/source/d/django-voting/django-voting-([0-9a-z.]*)\.tar\.gz




More information about the Python-modules-commits mailing list