- Fix build with python-2.7

PR:		ports/155077
Submitted by:	Wen Heping (myself)
Approved by:	portmgr@
This commit is contained in:
Wen Heping 2011-03-07 00:27:15 +00:00
parent 62ebff95c5
commit 723f989728
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270393
3 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,7 @@ COMMENT= Flexible tool for DBF import into MySQL
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
RUN_DEPENDS+= ydbf=0.0.1:${PORTSDIR}/devel/py-ydbf
PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
USE_PYTHON= 2.6+
USE_PYDISTUTILS=yes
USE_BZIP2= yes

View File

@ -1,3 +1,2 @@
MD5 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 1ba9d8e35b7a86a6a9f2bb4abf93cc9c
SHA256 (MyDBF2MySQL-0.8.4.5.tar.bz2) = 5656a1b2f9bb73aba48266261f7f8d1c8e5d2c61cabcf47ebf470ad1b147bd60
SIZE (MyDBF2MySQL-0.8.4.5.tar.bz2) = 20031

View File

@ -1,5 +1,5 @@
bin/mydbf2mysql
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py2.6.egg-info
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL-0.8.4.5-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/__init__.pyo