- 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)
This commit is contained in:
Dryice Dong Liu
2007-01-30 10:27:11 +00:00
parent 2df76eb0a7
commit 1f25cdcb80
6 changed files with 22 additions and 10 deletions

View File

@@ -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}

View File

@@ -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

View File

@@ -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