diff options
author | dryice <dryice@FreeBSD.org> | 2007-01-30 10:27:11 +0000 |
---|---|---|
committer | dryice <dryice@FreeBSD.org> | 2007-01-30 10:27:11 +0000 |
commit | f38e3e871aaadf93470fa064f2c3971829c3485e (patch) | |
tree | 189a5741a24cf2cf33ddf57441a4d8fc1951f489 /databases/py-sqlalchemy | |
parent | 68e4663f01d748743e0029f83931c02fba58eb4e (diff) | |
download | FreeBSD-ports-f38e3e871aaadf93470fa064f2c3971829c3485e.zip FreeBSD-ports-f38e3e871aaadf93470fa064f2c3971829c3485e.tar.gz |
- update to 0.3.4
- update my mail address
- add PYALCHEMY_EGG for future TurboGears update
- modify plist file to remove the egg entry when deinstall
Approved by: itetcu (mentor)
Diffstat (limited to 'databases/py-sqlalchemy')
-rw-r--r-- | databases/py-sqlalchemy/Makefile | 9 | ||||
-rw-r--r-- | databases/py-sqlalchemy/distinfo | 6 | ||||
-rw-r--r-- | databases/py-sqlalchemy/pkg-plist | 1 |
3 files changed, 11 insertions, 5 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile index 5cfd108..de889d1 100644 --- a/databases/py-sqlalchemy/Makefile +++ b/databases/py-sqlalchemy/Makefile @@ -6,7 +6,7 @@ # PORTNAME= sqlalchemy -PORTVERSION= 0.3.3 +PORTVERSION= 0.3.4 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://cheeseshop.python.org/packages/source/S/SQLAlchemy/ \ @@ -15,16 +15,19 @@ MASTER_SITE_SUBDIR= sqlalchemy PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= SQLAlchemy-${PORTVERSION} -MAINTAINER= dryice@dryice.name +MAINTAINER= dryice@FreeBSD.org COMMENT= A Python SQL toolkit and Object Relational Mapper USE_PYTHON= 2.3+ PLIST_SUB+= PORTVERSION=${PORTVERSION} \ PYTHONVERSION=${_PYTHON_VERSION} \ + EGG="SQLAlchemy==${PORTVERSION}" \ EXAMPLEDIR=share/examples/${PORTNAME} USE_PYDISTUTILS= yes BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools +# make sure we have it @deinstall time to remove the egg +RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools # bypass infrastructure bug OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options @@ -70,6 +73,8 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 .endif +PYALCHEMY_EGG= SQLAlchemy-${PORTVERSION}-py${PYTHON_VERSION:S/^python//}.egg + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/databases/py-sqlalchemy/distinfo b/databases/py-sqlalchemy/distinfo index a1f983c..177156e 100644 --- a/databases/py-sqlalchemy/distinfo +++ b/databases/py-sqlalchemy/distinfo @@ -1,3 +1,3 @@ -MD5 (SQLAlchemy-0.3.3.tar.gz) = 1336d87f659944f131f7f2c340e81e02 -SHA256 (SQLAlchemy-0.3.3.tar.gz) = fd425065ba70ce199508c3bde9cf7198dd84dd72980ca36a05a24bcbdd095c15 -SIZE (SQLAlchemy-0.3.3.tar.gz) = 737019 +MD5 (SQLAlchemy-0.3.4.tar.gz) = 38b258725d3c76c9d5aa36f471789064 +SHA256 (SQLAlchemy-0.3.4.tar.gz) = c68f56ffe6986a331ab83be29ca2fa57ee9330b609f6c003ef8034603d122e1c +SIZE (SQLAlchemy-0.3.4.tar.gz) = 769753 diff --git a/databases/py-sqlalchemy/pkg-plist b/databases/py-sqlalchemy/pkg-plist index e4dddb6..12b06ee 100644 --- a/databases/py-sqlalchemy/pkg-plist +++ b/databases/py-sqlalchemy/pkg-plist @@ -1,3 +1,4 @@ +@unexec %%PREFIX%%/bin/easy_install -q -N -m -x -S %%PREFIX%%/%%PYTHON_SITELIBDIR%% %%EGG%% %%PYTHON_SITELIBDIR%%/SQLAlchemy-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg %%EXAMPLEDIR%%/adjacencytree/basic_tree.py %%EXAMPLEDIR%%/adjacencytree/byroot_tree.py |