freebsd-ports/databases/py-mysql2pgsql/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

32 lines
900 B
Makefile

# $FreeBSD$
PORTNAME= mysql2pgsql
PORTVERSION= 0.1.6
PORTREVISION= 1
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= c.kworr@gmail.com
COMMENT= Tool for migrating/converting from MySQL to PostgreSQL
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb \
${PYTHON_PKGNAMEPREFIX}psycopg2>=2.4.2:${PORTSDIR}/databases/py-psycopg2 \
${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:${PORTSDIR}/devel/py-termcolor \
${PYTHON_PKGNAMEPREFIX}yaml>=3.10.0:${PORTSDIR}/devel/py-yaml \
${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= py_${PORTNAME}
PYDISTUTILS_AUTOPLIST= yes
USE_GITHUB= yes
GH_ACCOUNT= philipsoutham
GH_COMMIT= 250cb1c
GH_PROJECT= py-${PORTNAME}
GH_TAGNAME= v${PORTVERSION}
.include <bsd.port.mk>