aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sqlalchemy
diff options
context:
space:
mode:
authorDryice Dong Liu <dryice@FreeBSD.org>2007-01-30 10:27:11 +0000
committerDryice Dong Liu <dryice@FreeBSD.org>2007-01-30 10:27:11 +0000
commit1f25cdcb80bc9564ddf90242a8dda2b271e5e8a9 (patch)
tree90d53ba1704433221e2439dbd3488f8d579e0f1f /databases/py-sqlalchemy
parent2df76eb0a73bb59d817aa60758a5f10e3e544c3b (diff)
downloadports-1f25cdcb80bc9564ddf90242a8dda2b271e5e8a9.tar.gz
ports-1f25cdcb80bc9564ddf90242a8dda2b271e5e8a9.zip
Notes
Diffstat (limited to 'databases/py-sqlalchemy')
-rw-r--r--databases/py-sqlalchemy/Makefile9
-rw-r--r--databases/py-sqlalchemy/distinfo6
-rw-r--r--databases/py-sqlalchemy/pkg-plist1
3 files changed, 11 insertions, 5 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