diff options
author | dryice <dryice@FreeBSD.org> | 2007-01-30 18:27:11 +0800 |
---|---|---|
committer | dryice <dryice@FreeBSD.org> | 2007-01-30 18:27:11 +0800 |
commit | f38e3e871aaadf93470fa064f2c3971829c3485e (patch) | |
tree | 189a5741a24cf2cf33ddf57441a4d8fc1951f489 /databases | |
parent | 68e4663f01d748743e0029f83931c02fba58eb4e (diff) | |
download | freebsd-ports-gnome-f38e3e871aaadf93470fa064f2c3971829c3485e.tar.gz freebsd-ports-gnome-f38e3e871aaadf93470fa064f2c3971829c3485e.tar.zst freebsd-ports-gnome-f38e3e871aaadf93470fa064f2c3971829c3485e.zip |
- 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')
-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 | ||||
-rw-r--r-- | databases/py-sqlalchemy06/Makefile | 9 | ||||
-rw-r--r-- | databases/py-sqlalchemy06/distinfo | 6 | ||||
-rw-r--r-- | databases/py-sqlalchemy06/pkg-plist | 1 |
6 files changed, 22 insertions, 10 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile index 5cfd1082e66c..de889d1d26f6 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 a1f983cced95..177156eb3859 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 e4dddb6f29dc..12b06ee73f83 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 diff --git a/databases/py-sqlalchemy06/Makefile b/databases/py-sqlalchemy06/Makefile index 5cfd1082e66c..de889d1d26f6 100644 --- a/databases/py-sqlalchemy06/Makefile +++ b/databases/py-sqlalchemy06/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-sqlalchemy06/distinfo b/databases/py-sqlalchemy06/distinfo index a1f983cced95..177156eb3859 100644 --- a/databases/py-sqlalchemy06/distinfo +++ b/databases/py-sqlalchemy06/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-sqlalchemy06/pkg-plist b/databases/py-sqlalchemy06/pkg-plist index e4dddb6f29dc..12b06ee73f83 100644 --- a/databases/py-sqlalchemy06/pkg-plist +++ b/databases/py-sqlalchemy06/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 |