From 78df3b28d894d716c4c7f7b5aedb278829d92e04 Mon Sep 17 00:00:00 2001 From: fgsch Date: Thu, 29 May 2008 22:40:48 +0000 Subject: [PATCH] import py-elixir, a declarative mapper for SQLAlchemy. with help and ok from wcmaier@. --- databases/py-elixir/Makefile | 34 ++++++++++++++++++++++++++++++++ databases/py-elixir/distinfo | 5 +++++ databases/py-elixir/pkg/DESCR | 6 ++++++ databases/py-elixir/pkg/PLIST | 37 +++++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 databases/py-elixir/Makefile create mode 100644 databases/py-elixir/distinfo create mode 100644 databases/py-elixir/pkg/DESCR create mode 100644 databases/py-elixir/pkg/PLIST diff --git a/databases/py-elixir/Makefile b/databases/py-elixir/Makefile new file mode 100644 index 00000000000..2330ae89326 --- /dev/null +++ b/databases/py-elixir/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/05/29 22:40:48 fgsch Exp $ + +COMMENT = declarative mapper for SQLAlchemy + +MODPY_EGG_VERSION = 0.5.2 +DISTNAME = Elixir-${MODPY_EGG_VERSION} +PKGNAME = py-${DISTNAME:L} + +CATEGORIES = databases + +HOMEPAGE = http://elixir.ematia.de/trac/wiki + +# MIT +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = http://pypi.python.org/packages/source/E/Elixir/ + +MODULES = lang/python +MODPY_SETUPTOOLS = Yes + +RUN_DEPENDS = ::databases/py-sqlalchemy \ + ::security/py-crypto +REGRESS_DEPENDS = ${RUN_DEPENDS} + +do-regress: fake + @cd ${WRKSRC}/tests; for i in `echo test_*.py`; do \ + echo $$i; ${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \ + ${MODPY_BIN} $$i; \ + done + +.include diff --git a/databases/py-elixir/distinfo b/databases/py-elixir/distinfo new file mode 100644 index 00000000000..813acb1cdca --- /dev/null +++ b/databases/py-elixir/distinfo @@ -0,0 +1,5 @@ +MD5 (Elixir-0.5.2.tar.gz) = 6jfpF4ltzkGfd30Xr8Q/zg== +RMD160 (Elixir-0.5.2.tar.gz) = fZlPOIFYPOlZKU7d0aSJuK3KvGo= +SHA1 (Elixir-0.5.2.tar.gz) = kKNvbwF2cXDMNmCB0bpLtnEMSYw= +SHA256 (Elixir-0.5.2.tar.gz) = 8k9mjvFz2/ERdP23dMPVp9IDRHDwaRNBaoYw9+b4PuM= +SIZE (Elixir-0.5.2.tar.gz) = 104146 diff --git a/databases/py-elixir/pkg/DESCR b/databases/py-elixir/pkg/DESCR new file mode 100644 index 00000000000..83041f4453f --- /dev/null +++ b/databases/py-elixir/pkg/DESCR @@ -0,0 +1,6 @@ +A declarative layer on top of SQLAlchemy. It is a fairly thin +wrapper, which provides the ability to create simple Python classes +that map directly to relational database tables (this pattern is +often referred to as the Active Record design pattern), providing +many of the benefits of traditional databases without losing the +convenience of Python objects. diff --git a/databases/py-elixir/pkg/PLIST b/databases/py-elixir/pkg/PLIST new file mode 100644 index 00000000000..257275e3be6 --- /dev/null +++ b/databases/py-elixir/pkg/PLIST @@ -0,0 +1,37 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/29 22:40:48 fgsch Exp $ +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt +lib/python${MODPY_VERSION}/site-packages/Elixir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/elixir/ +lib/python${MODPY_VERSION}/site-packages/elixir/__init__.py +lib/python${MODPY_VERSION}/site-packages/elixir/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/entity.py +lib/python${MODPY_VERSION}/site-packages/elixir/entity.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/events.py +lib/python${MODPY_VERSION}/site-packages/elixir/events.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/ext/ +lib/python${MODPY_VERSION}/site-packages/elixir/ext/__init__.py +lib/python${MODPY_VERSION}/site-packages/elixir/ext/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/ext/associable.py +lib/python${MODPY_VERSION}/site-packages/elixir/ext/associable.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/ext/encrypted.py +lib/python${MODPY_VERSION}/site-packages/elixir/ext/encrypted.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/ext/list.py +lib/python${MODPY_VERSION}/site-packages/elixir/ext/list.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/ext/versioned.py +lib/python${MODPY_VERSION}/site-packages/elixir/ext/versioned.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/fields.py +lib/python${MODPY_VERSION}/site-packages/elixir/fields.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/options.py +lib/python${MODPY_VERSION}/site-packages/elixir/options.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/properties.py +lib/python${MODPY_VERSION}/site-packages/elixir/properties.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/py23compat.py +lib/python${MODPY_VERSION}/site-packages/elixir/py23compat.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/relationships.py +lib/python${MODPY_VERSION}/site-packages/elixir/relationships.pyc +lib/python${MODPY_VERSION}/site-packages/elixir/statements.py +lib/python${MODPY_VERSION}/site-packages/elixir/statements.pyc