[Python-modules-commits] r21872 - in packages/alembic/trunk/debian (4 files)
matthiask-guest at users.alioth.debian.org
matthiask-guest at users.alioth.debian.org
Tue May 22 15:19:44 UTC 2012
Date: Tuesday, May 22, 2012 @ 15:19:43
Author: matthiask-guest
Revision: 21872
Alembic: New upstream release, further work on package.
Added:
packages/alembic/trunk/debian/alembic.docs
Modified:
packages/alembic/trunk/debian/changelog
packages/alembic/trunk/debian/control
packages/alembic/trunk/debian/rules
Added: packages/alembic/trunk/debian/alembic.docs
===================================================================
--- packages/alembic/trunk/debian/alembic.docs (rev 0)
+++ packages/alembic/trunk/debian/alembic.docs 2012-05-22 15:19:43 UTC (rev 21872)
@@ -0,0 +1 @@
+docs/build/output/html
Modified: packages/alembic/trunk/debian/changelog
===================================================================
--- packages/alembic/trunk/debian/changelog 2012-05-22 14:09:06 UTC (rev 21871)
+++ packages/alembic/trunk/debian/changelog 2012-05-22 15:19:43 UTC (rev 21872)
@@ -1,5 +1,5 @@
-alembic (0.3.1-1) unstable; urgency=low
+alembic (0.3.2-1) unstable; urgency=low
* Initial release. (Closes: #669404)
- -- Matthias Kümmerer <matthias at matthias-k.org> Thu, 19 Apr 2012 18:32:56 +0200
+ -- Matthias Kümmerer <matthias at matthias-k.org> Tue, 22 May 2012 17:12:32 +0200
Modified: packages/alembic/trunk/debian/control
===================================================================
--- packages/alembic/trunk/debian/control 2012-05-22 14:09:06 UTC (rev 21871)
+++ packages/alembic/trunk/debian/control 2012-05-22 15:19:43 UTC (rev 21872)
@@ -1,6 +1,6 @@
Source: alembic
Section: python
-Priority: extra
+Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Matthias Kümmerer <matthias at matthias-k.org>
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/alembic/trunk/
@@ -8,13 +8,14 @@
Standards-Version: 3.9.3
Homepage: http://www.bitbucket.org/zzzeek/alembic
Build-Depends: debhelper (>= 8), python-all, python-setuptools,
- python-nose, python-sqlalchemy, python-mako
+ python-nose, python-sqlalchemy, python-mako,
+ python-sphinx (>= 1.0.7+dfsg) | python3-sphinx
Package: alembic
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-sqlalchemy,
- python-mako
-Provides: ${python:Provides}
+Depends: ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends},
+ python-sqlalchemy, python-mako
+Recommends: python-pkg-resources
Description: lightweight database migration tool for SQLAlchemy
Alembic is a new database migration tool, written by the author
of SQLAlchemy. A migration tool offers the following functionality:
Modified: packages/alembic/trunk/debian/rules
===================================================================
--- packages/alembic/trunk/debian/rules 2012-05-22 14:09:06 UTC (rev 21871)
+++ packages/alembic/trunk/debian/rules 2012-05-22 15:19:43 UTC (rev 21872)
@@ -1,11 +1,37 @@
#!/usr/bin/make -f
+VERSION=0.3.2
+PYVERS:=$(shell pyversions -vr)
+
+
%:
- dh $@ --with=python2
+ dh $@ --with=python2,sphinxdoc
+override_dh_auto_build:
+ dh_auto_build
+ make -C docs/build html
+
+override_dh_auto_clean:
+ dh_auto_clean
+ make -C docs/build clean
+
override_dh_auto_test:
- nosetests
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ set -e; for py in $(PYVERS); do \
+ python$$py setup.py test ;\
+ done
+endif
+get-orig-source:
+ wget http://pypi.python.org/packages/source/a/alembic/alembic-$(VERSION).tar.gz
+ tar xvzf alembic-$(VERSION).tar.gz
+ rm alembic-$(VERSION).tar.gz
+ rm -rf alembic-$(VERSION)/docs/*.html alembic-$(VERSION)/docs/*.js alembic-$(VERSION)/docs/*.inv alembic-$(VERSION)/docs/_sources alembic-$(VERSION)/docs/_images alembic-$(VERSION)/docs/_static
+ rm alembic-$(VERSION)/distribute_setup.py
+ mv alembic-$(VERSION) alembic-$(VERSION).orig
+ tar czfv alembic_$(VERSION).orig.tar.gz alembic-$(VERSION).orig
+ rm -rf alembic-$(VERSION).orig
+
help2man:
help2man --version-string=0.3.1 -n "lightweight database migration tool for usage with the SQLAlchemy" -N alembic > alembic.1
sed -i "s/,\(\w\)/, \1/g" alembic.1
More information about the Python-modules-commits
mailing list