dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/
commit b691cc731d07cb3c8ae7559cf4d6fb05d3a4dfb1
parent 7243ed13affe5160691024db4ca107e42fe057b4
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed,  9 Feb 2011 20:54:42 +1000

initial exheres for sqlalchemy-migrate and its deps (Tempita, decorator)

Diffstat:
Apackages/dev-python/Tempita/Tempita-0.4.exheres-0 | 21+++++++++++++++++++++
Apackages/dev-python/decorator/decorator-3.3.0.exheres-0 | 16++++++++++++++++
Apackages/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.6.exheres-0 | 33+++++++++++++++++++++++++++++++++
3 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/packages/dev-python/Tempita/Tempita-0.4.exheres-0 b/packages/dev-python/Tempita/Tempita-0.4.exheres-0
@@ -0,0 +1,21 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi distutils [ python_dep=2.2 ]
+
+SUMMARY="A very small text templating language for Python"
+
+LICENCES="MIT"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+    test:
+        dev-python/nose
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_test() {
+    edo python setup.py nosetests
+}
diff --git a/packages/dev-python/decorator/decorator-3.3.0.exheres-0 b/packages/dev-python/decorator/decorator-3.3.0.exheres-0
@@ -0,0 +1,16 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi distutils [ python_dep=2.4 ]
+
+SUMMARY="Python library for decorators"
+
+LICENCES="BSD-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+BUGS_TO="djc@djc.id.au"
+
+src_test() {
+    edo env PYTHONPATH=build/lib python documentation.py -v
+}
diff --git a/packages/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.6.exheres-0 b/packages/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.6.exheres-0
@@ -0,0 +1,33 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi googlecode [ suffix=tar.gz ] distutils [ has_bin=true python_dep=2.4 ]
+
+SUMMARY="Database schema migration for SQLAlchemy"
+DESCRIPTION="
+Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with database schema changes 
+in SQLAlchemy projects. Migrate extends SQLAlchemy to have database changeset handling. It provides 
+a database change repository mechanism which can be used from the command line as well as from 
+inside python code.
+"
+
+LICENCES="MIT"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+RESTRICT="test" # way too many unpackaged deps
+
+DEPENDENCIES="
+    run:
+        dev-python/SQLAlchemy[>=0.5]
+        dev-python/decorator
+        dev-python/Tempita
+    test:
+        dev-python/nose
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_test() {
+    edo python setup.py nosetests
+}