diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-14 06:21:23 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-14 06:21:23 +0000 |
commit | d950570f82f7f97bf1a13cb3e7f3a61ff43e72c0 (patch) | |
tree | 23316ff2dc86f3ae7675e1acb0f9c6ed2e9092e9 /databases/py-axiom | |
parent | a69a649787a476c772d8ea7c7b2c5192f4ca78c7 (diff) | |
download | FreeBSD-ports-d950570f82f7f97bf1a13cb3e7f3a61ff43e72c0.zip FreeBSD-ports-d950570f82f7f97bf1a13cb3e7f3a61ff43e72c0.tar.gz |
[NEW PORT] databases/py24-axiom: Axion is an object database in python using sqlite3
Axiom is an object database, or alternatively, an
object-relational mapper.
Its primary goal is to provide an object-oriented layer
with what we consider to be the key aspects of OO, i.e.
polymorphism and message dispatch, without hindering the
power of an RDBMS. It is designed to "feel pythonic", without
encouraging the typical ORM behavior such as potato
programming.
Axiom provides a full interface to the database, which
strongly suggests that you do not write any SQL of your
own. Metaprogramming is difficult and dangerous (as many,
many SQL injection attacks amply demonstrate). Writing your
own SQL is still possible, however, and Axiom does have
several methods which return fragments of generated schema
if you wish to use them in your own queries.
WWW: http://divmod.org/trac/wiki/DivmodAxiom
PR: ports/95724
Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
Diffstat (limited to 'databases/py-axiom')
-rw-r--r-- | databases/py-axiom/Makefile | 28 | ||||
-rw-r--r-- | databases/py-axiom/distinfo | 3 | ||||
-rw-r--r-- | databases/py-axiom/pkg-descr | 15 | ||||
-rw-r--r-- | databases/py-axiom/pkg-plist | 180 |
4 files changed, 226 insertions, 0 deletions
diff --git a/databases/py-axiom/Makefile b/databases/py-axiom/Makefile new file mode 100644 index 0000000..b43300d --- /dev/null +++ b/databases/py-axiom/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: py-axiom +# Date created: 13 Apr 2006 +# Whom: Alexander Botero-Lowry <alex@foxybanana.com> +# +# $FreeBSD$ +# + +PORTNAME= axiom +PORTVERSION= 0.4.0 +CATEGORIES= databases python +MASTER_SITES= http://divmod.org/trac/attachment/wiki/SoftwareReleases/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Axiom-${PORTVERSION} +EXTRACT_SUFX= .tar.gz?format=raw + +MAINTAINER= alex@foxybanana.com +COMMENT= Axiom is an object database in python using sqlite3 + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/epsilon/__init__.py:${PORTSDIR}/devel/py-epsilon +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/epsilon/__init__.py:${PORTSDIR}/devel/py-epsilon \ + ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite21 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +USE_TWISTED= yes +NO_BUILD= yes + +.include <bsd.port.mk> diff --git a/databases/py-axiom/distinfo b/databases/py-axiom/distinfo new file mode 100644 index 0000000..0f3cce2 --- /dev/null +++ b/databases/py-axiom/distinfo @@ -0,0 +1,3 @@ +MD5 (Axiom-0.4.0.tar.gz?format=raw) = d5427672a5e1f68ce32889c6610d7271 +SHA256 (Axiom-0.4.0.tar.gz?format=raw) = fcb2138c03668b05e70196960e0faaede5fa8ca0c62b909525b85d878ff1384f +SIZE (Axiom-0.4.0.tar.gz?format=raw) = 66266 diff --git a/databases/py-axiom/pkg-descr b/databases/py-axiom/pkg-descr new file mode 100644 index 0000000..be4a719 --- /dev/null +++ b/databases/py-axiom/pkg-descr @@ -0,0 +1,15 @@ +Axiom is an object database, or alternatively, an object-relational mapper. + +Its primary goal is to provide an object-oriented layer with what we consider +to be the key aspects of OO, i.e. polymorphism and message dispatch, without +hindering the power of an RDBMS. It is designed to "feel pythonic", without +encouraging the typical ORM behavior such as potato programming. + +Axiom provides a full interface to the database, which strongly suggests that +you do not write any SQL of your own. Metaprogramming is difficult and +dangerous (as many, many SQL injection attacks amply demonstrate). Writing +your own SQL is still possible, however, and Axiom does have several methods +which return fragments of generated schema if you wish to use them in your own +queries. + +WWW: http://divmod.org/trac/wiki/DivmodAxiom diff --git a/databases/py-axiom/pkg-plist b/databases/py-axiom/pkg-plist new file mode 100644 index 0000000..bf27dbc --- /dev/null +++ b/databases/py-axiom/pkg-plist @@ -0,0 +1,180 @@ +bin/axiomatic +%%PYTHON_SITELIBDIR%%/axiom/__init__.py +%%PYTHON_SITELIBDIR%%/axiom/__init__.pyc +%%PYTHON_SITELIBDIR%%/axiom/__init__.pyo +%%PYTHON_SITELIBDIR%%/axiom/_fincache.py +%%PYTHON_SITELIBDIR%%/axiom/_fincache.pyc +%%PYTHON_SITELIBDIR%%/axiom/_fincache.pyo +%%PYTHON_SITELIBDIR%%/axiom/_schema.py +%%PYTHON_SITELIBDIR%%/axiom/_schema.pyc +%%PYTHON_SITELIBDIR%%/axiom/_schema.pyo +%%PYTHON_SITELIBDIR%%/axiom/attributes.py +%%PYTHON_SITELIBDIR%%/axiom/attributes.pyc +%%PYTHON_SITELIBDIR%%/axiom/attributes.pyo +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testbase.py +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testbase.pyc +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testbase.pyo +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testindex.py +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testindex.pyc +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testindex.pyo +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testinit.py +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testinit.pyc +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testinit.pyo +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testreader.py +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testreader.pyc +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testreader.pyo +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testwriter.py +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testwriter.pyc +%%PYTHON_SITELIBDIR%%/axiom/benchmarks/testwriter.pyo +%%PYTHON_SITELIBDIR%%/axiom/errors.py +%%PYTHON_SITELIBDIR%%/axiom/errors.pyc +%%PYTHON_SITELIBDIR%%/axiom/errors.pyo +%%PYTHON_SITELIBDIR%%/axiom/examples/bucket.py +%%PYTHON_SITELIBDIR%%/axiom/examples/bucket.pyc +%%PYTHON_SITELIBDIR%%/axiom/examples/bucket.pyo +%%PYTHON_SITELIBDIR%%/axiom/examples/library.py +%%PYTHON_SITELIBDIR%%/axiom/examples/library.pyc +%%PYTHON_SITELIBDIR%%/axiom/examples/library.pyo +%%PYTHON_SITELIBDIR%%/axiom/iaxiom.py +%%PYTHON_SITELIBDIR%%/axiom/iaxiom.pyc +%%PYTHON_SITELIBDIR%%/axiom/iaxiom.pyo +%%PYTHON_SITELIBDIR%%/axiom/item.py +%%PYTHON_SITELIBDIR%%/axiom/item.pyc +%%PYTHON_SITELIBDIR%%/axiom/item.pyo +%%PYTHON_SITELIBDIR%%/axiom/plugins/__init__.py +%%PYTHON_SITELIBDIR%%/axiom/plugins/__init__.pyc +%%PYTHON_SITELIBDIR%%/axiom/plugins/__init__.pyo +%%PYTHON_SITELIBDIR%%/axiom/plugins/userbasecmd.py +%%PYTHON_SITELIBDIR%%/axiom/plugins/userbasecmd.pyc +%%PYTHON_SITELIBDIR%%/axiom/plugins/userbasecmd.pyo +%%PYTHON_SITELIBDIR%%/axiom/queryutil.py +%%PYTHON_SITELIBDIR%%/axiom/queryutil.pyc +%%PYTHON_SITELIBDIR%%/axiom/queryutil.pyo +%%PYTHON_SITELIBDIR%%/axiom/scheduler.py +%%PYTHON_SITELIBDIR%%/axiom/scheduler.pyc +%%PYTHON_SITELIBDIR%%/axiom/scheduler.pyo +%%PYTHON_SITELIBDIR%%/axiom/scripts/__init__.py +%%PYTHON_SITELIBDIR%%/axiom/scripts/__init__.pyc +%%PYTHON_SITELIBDIR%%/axiom/scripts/__init__.pyo +%%PYTHON_SITELIBDIR%%/axiom/scripts/axiomatic.py +%%PYTHON_SITELIBDIR%%/axiom/scripts/axiomatic.pyc +%%PYTHON_SITELIBDIR%%/axiom/scripts/axiomatic.pyo +%%PYTHON_SITELIBDIR%%/axiom/scripts/pysql.py +%%PYTHON_SITELIBDIR%%/axiom/scripts/pysql.pyc +%%PYTHON_SITELIBDIR%%/axiom/scripts/pysql.pyo +%%PYTHON_SITELIBDIR%%/axiom/sequence.py +%%PYTHON_SITELIBDIR%%/axiom/sequence.pyc +%%PYTHON_SITELIBDIR%%/axiom/sequence.pyo +%%PYTHON_SITELIBDIR%%/axiom/slot%%PERL_ARCH%%ine.py +%%PYTHON_SITELIBDIR%%/axiom/slot%%PERL_ARCH%%ine.pyc +%%PYTHON_SITELIBDIR%%/axiom/slot%%PERL_ARCH%%ine.pyo +%%PYTHON_SITELIBDIR%%/axiom/store.py +%%PYTHON_SITELIBDIR%%/axiom/store.pyc +%%PYTHON_SITELIBDIR%%/axiom/store.pyo +%%PYTHON_SITELIBDIR%%/axiom/substore.py +%%PYTHON_SITELIBDIR%%/axiom/substore.pyc +%%PYTHON_SITELIBDIR%%/axiom/substore.pyo +%%PYTHON_SITELIBDIR%%/axiom/tags.py +%%PYTHON_SITELIBDIR%%/axiom/tags.pyc +%%PYTHON_SITELIBDIR%%/axiom/tags.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/__init__.py +%%PYTHON_SITELIBDIR%%/axiom/test/__init__.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/__init__.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/historic/__init__.py +%%PYTHON_SITELIBDIR%%/axiom/test/historic/__init__.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/historic/__init__.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/historic/account1to2.axiom.tbz2 +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stub_account1to2.py +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stub_account1to2.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stub_account1to2.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stubloader.py +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stubloader.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/historic/stubloader.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/historic/test_account1to2.py +%%PYTHON_SITELIBDIR%%/axiom/test/historic/test_account1to2.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/historic/test_account1to2.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/itemtest.py +%%PYTHON_SITELIBDIR%%/axiom/test/itemtest.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/itemtest.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/itemtestmain.py +%%PYTHON_SITELIBDIR%%/axiom/test/itemtestmain.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/itemtestmain.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/newapp.py +%%PYTHON_SITELIBDIR%%/axiom/test/newapp.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/newapp.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/oldapp.py +%%PYTHON_SITELIBDIR%%/axiom/test/oldapp.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/oldapp.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_attributes.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_attributes.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_attributes.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_count.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_count.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_count.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_files.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_files.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_files.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_inheritance.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_inheritance.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_inheritance.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_item.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_item.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_item.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_mixin.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_mixin.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_mixin.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_powerup.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_powerup.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_powerup.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_query.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_query.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_query.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_queryutil.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_queryutil.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_queryutil.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_reference.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_reference.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_reference.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_scheduler.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_scheduler.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_scheduler.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_sequence.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_sequence.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_sequence.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_slot%%PERL_ARCH%%ine.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_slot%%PERL_ARCH%%ine.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_slot%%PERL_ARCH%%ine.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_substore.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_substore.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_substore.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_tablecreate.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_tablecreate.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_tablecreate.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_tags.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_tags.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_tags.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_unavailable_type.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_unavailable_type.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_unavailable_type.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_upgrading.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_upgrading.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_upgrading.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_userbase.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_userbase.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_userbase.pyo +%%PYTHON_SITELIBDIR%%/axiom/test/test_xatop.py +%%PYTHON_SITELIBDIR%%/axiom/test/test_xatop.pyc +%%PYTHON_SITELIBDIR%%/axiom/test/test_xatop.pyo +%%PYTHON_SITELIBDIR%%/axiom/upgrade.py +%%PYTHON_SITELIBDIR%%/axiom/upgrade.pyc +%%PYTHON_SITELIBDIR%%/axiom/upgrade.pyo +%%PYTHON_SITELIBDIR%%/axiom/userbase.py +%%PYTHON_SITELIBDIR%%/axiom/userbase.pyc +%%PYTHON_SITELIBDIR%%/axiom/userbase.pyo +@dirrm %%PYTHON_SITELIBDIR%%/axiom/benchmarks +@dirrm %%PYTHON_SITELIBDIR%%/axiom/examples +@dirrm %%PYTHON_SITELIBDIR%%/axiom/plugins +@dirrm %%PYTHON_SITELIBDIR%%/axiom/scripts +@dirrm %%PYTHON_SITELIBDIR%%/axiom/test/historic +@dirrm %%PYTHON_SITELIBDIR%%/axiom/test +@dirrm %%PYTHON_SITELIBDIR%%/axiom |