Fix packaging after the move from distutils to setuptools (egginfo is now

a directory, not a file):
- Use PYDISTUTILS_AUTOPLIST
- Stage support
- Bump PORTREVISION
This commit is contained in:
Antoine Brodin 2014-01-13 22:00:40 +00:00
parent 8fe1879b89
commit c02b6e710d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339643
2 changed files with 2 additions and 39 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= mydbf2mysql
PORTVERSION= 0.8.4.5
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= SF/mydbf2mysql/mydbf2mysql/${PORTVERSION}/
DISTNAME= MyDBF2MySQL-${PORTVERSION}
@ -13,17 +14,11 @@ 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= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=yes
USE_BZIP2= yes
PYDISTUTILS_NOEGGINFO= yes
PYDISTUTILS_PKGNAME= MyDBF2MySQL
PYDISTUTILS_PKGVERSION= ${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}/dist/${DISTNAME}/
MAN1= mydbf2mysql.1
NO_STAGE= yes
.include <bsd.port.mk>

View file

@ -1,32 +0,0 @@
bin/mydbf2mysql
%%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
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/codes.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/counter.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/filters.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/log.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/misc.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/threads.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/utils.pyo
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.py
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.pyc
%%PYTHON_SITELIBDIR%%/MyDBF2MySQL/version.pyo
@dirrm %%PYTHON_SITELIBDIR%%/MyDBF2MySQL
@dirrm %%PYTHON_SITELIBDIR%%
@dirrm %%PYTHON_LIBDIR%%