[Python-modules-commits] r17162 - in packages/storm/trunk/debian (4 files)
nomadium-guest at users.alioth.debian.org
nomadium-guest at users.alioth.debian.org
Thu May 26 17:19:43 UTC 2011
Date: Thursday, May 26, 2011 @ 17:19:42
Author: nomadium-guest
Revision: 17162
* Fix screw up with control file.
* Pass --buildsystem=python_distutils option to debhelper.
Added:
packages/storm/trunk/debian/install
packages/storm/trunk/debian/python-storm-dbg.install
Modified:
packages/storm/trunk/debian/control
packages/storm/trunk/debian/rules
Modified: packages/storm/trunk/debian/control
===================================================================
--- packages/storm/trunk/debian/control 2011-05-26 16:55:15 UTC (rev 17161)
+++ packages/storm/trunk/debian/control 2011-05-26 17:19:42 UTC (rev 17162)
@@ -14,13 +14,46 @@
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/storm/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/storm/trunk/
+Package: python-storm
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
+Suggests: python-psycopg2 | python-mysqldb | python-pysqlite2
+XB-Python-Version: ${python:Versions}
+Description: object-relational mapper (ORM) for Python
+ Storm is an object-relation mapper (ORM) for the Python language. In
+ simple terms, that kind of system allows rows from a relational
+ database to be seen as objects in an object-oriented language like
+ Python.
+ .
+ Features:
+ * Clean and lightweight API offers a short learning curve and long-
+ erm maintainability.
+ * Storm is developed in a test-driven manner. An untested line of
+ code is considered a bug.
+ * Storm needs no special class constructors, nor imperative base
+ classes.
+ * Storm is well designed (different classes have very clear
+ boundaries, with small and clean public APIs).
+ * Designed from day one to work both with thin relational databases,
+ such as SQLite, and big iron systems like PostgreSQL and MySQL.
+ * Storm is easy to debug, since its code is written with a KISS
+ principle, and thus is easy to understand.
+ * Designed from day one to work both at the low end, with trivial
+ small databases, and the high end, with applications accessing
+ billion row tables and committing to multiple database backends.
+ * It's very easy to write and support backends for Storm (current
+ backends have around 100 lines of code).
+
Package: python-storm-dbg
Architecture: any
+Section: debug
+Priority: extra
Depends:
python-storm (= ${binary:Version}),
${misc:Depends},
${python:Depends},
${shlibs:Depends}
+Recommends: python-dbg
Suggests: python-psycopg2 | python-mysqldb | python-pysqlite2
Description: object-relational mapper (ORM) for Python - debugging files
Storm is an object-relation mapper (ORM) for the Python language. In
@@ -48,6 +81,3 @@
backends have around 100 lines of code).
.
This package contains the extension built for the Python debug interpreter.
-Section: debug
-Priority: extra
-Recommends: python-dbg
Added: packages/storm/trunk/debian/install
===================================================================
--- packages/storm/trunk/debian/install (rev 0)
+++ packages/storm/trunk/debian/install 2011-05-26 17:19:42 UTC (rev 17162)
@@ -0,0 +1,4 @@
+usr/lib/python2.*/*-packages/*.egg-info
+usr/lib/python2.*/*-packages/storm/*.py
+usr/lib/python2.*/*-packages/storm/*/*
+usr/lib/python2.*/*-packages/storm/cextensions.so
Added: packages/storm/trunk/debian/python-storm-dbg.install
===================================================================
--- packages/storm/trunk/debian/python-storm-dbg.install (rev 0)
+++ packages/storm/trunk/debian/python-storm-dbg.install 2011-05-26 17:19:42 UTC (rev 17162)
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/storm/cextensions_d.so
Modified: packages/storm/trunk/debian/rules
===================================================================
--- packages/storm/trunk/debian/rules 2011-05-26 16:55:15 UTC (rev 17161)
+++ packages/storm/trunk/debian/rules 2011-05-26 17:19:42 UTC (rev 17162)
@@ -1,21 +1,14 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2
+ dh $@ --with python2 --buildsystem=python_distutils
-override_dh_auto_build:
- for python in $(shell pyversions -r); do \
- $$python setup.py build; \
- done
-
-override_dh_install:
- for python in $(shell pyversions -r); do \
- $$python setup.py install --root debian/python-storm --prefix /usr; \
- done
- dh_install
-
override_dh_installchangelogs:
dh_installchangelogs NEWS
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf storm.egg-info
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
for python in $(shell pyversions -r); do \
@@ -25,7 +18,9 @@
endif
override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
dh_strip --dbg-package=python-storm-dbg
+endif
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
More information about the Python-modules-commits
mailing list