1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- Drop PLIST_FILES in favor of PYDISTUTILS_AUTOPLIST
- Use USE_PYDISTUTILS=yes instead of deprecated
  USE_PYDISTUTILS=easy_install
This commit is contained in:
Roman Bogorodskiy 2014-03-29 17:39:32 +00:00
parent 919b377570
commit 0e3c226a69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349575

View File

@ -16,14 +16,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argparse>=0:${PORTSDIR}/devel/py-argparse \
${PKGNAMEPREFIX}httplib2>=0:${PORTSDIR}/www/py-httplib2
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
USE_PYDISTUTILS=yes
PYDISTUTILS_NOEGGINFO= yes
PYDISTUTILS_PKGNAME= python-${PORTNAME}
PYDISTUTILS_AUTOPLIST= yes
PLIST_FILES= bin/nova \
${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PYEASYINSTALL_EGG}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py