From d07965fa9866856a6255feca3df20b93d314c663 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Mon, 23 Jul 2012 21:14:48 +0000 Subject: - Update to 2.3.1 - Set DISTNAME and PYDISTUTILS_PKGNAME using modifiers - Bump min USE_PYTHON version to 2.6 - Upstream moved PostgreSQL/MySQL modules into their own packages - Remove PostgreSQL and MySQL RUN_DEPENDS accordingly - Remove post-patch: bits - Add pkg-message mentioning py-htsql-{pgsql,mysql} ports PR: ports/169851 Submitted by: Kubilay Kocak (maintainer) --- databases/py-htsql/Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'databases/py-htsql/Makefile') diff --git a/databases/py-htsql/Makefile b/databases/py-htsql/Makefile index 307fc94a4758..277ab38edb05 100644 --- a/databases/py-htsql/Makefile +++ b/databases/py-htsql/Makefile @@ -6,24 +6,23 @@ # PORTNAME= htsql -PORTVERSION= 2.2.1 +PORTVERSION= 2.3.1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= HTSQL-${PORTVERSION} +DISTNAME= ${PORTNAME:U}-${PORTVERSION} MAINTAINER= koobs.freebsd@gmail.com COMMENT= Python HTSQL -USE_PYTHON= 2.5-2.7 +USE_PYTHON= 2.6-2.7 USE_PYDISTUTILS= easy_install -PYDISTUTILS_PKGNAME= HTSQL +PYDISTUTILS_PKGNAME= ${PORTNAME:U} -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \ - ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 \ - ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 -post-patch: - @${REINPLACE_CMD} -e 's|build/dist/egg|dist|g' ${WRKSRC}/setup.cfg +post-install: + @${CAT} ${PKGMESSAGE} .include -- cgit v1.2.3