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

- Remove easy_install dependency

- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-19 06:11:52 +00:00
parent aea6946f6c
commit f983df7468
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358345

View File

@ -3,7 +3,7 @@
PORTNAME= keywords PORTNAME= keywords
PORTVERSION= 0.2 PORTVERSION= 0.2
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= http://dist.codelabs.ru/fbsd/ MASTER_SITES= http://dist.codelabs.ru/fbsd/
PKGNAMEPREFIX= trac- PKGNAMEPREFIX= trac-
@ -14,13 +14,12 @@ COMMENT= Plugin for using pre-configured keywords
RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
USE_PYTHON= 2
USES= zip USES= zip
USE_PYDISTUTILS= easy_install USE_PYTHON= 2
PYDISTUTILS_PKGNAME= TracKeywordsPlugin USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
WRKSRC= ${WRKDIR}/trackeywordsplugin/0.11 WRKSRC= ${WRKDIR}/trackeywordsplugin/0.11
REL= 7273 REL= 7273
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-extract: post-extract:
# Fix misplaced Genshi template: https://trac-hacks.org/ticket/6104 # Fix misplaced Genshi template: https://trac-hacks.org/ticket/6104
@ -28,4 +27,5 @@ post-extract:
# Seems like web_ui.py was misplaced too. # Seems like web_ui.py was misplaced too.
@${MV} ${WRKDIR}/trackeywordsplugin/0.10/trackeywords/web_ui.py ${WRKSRC}/trackeywords/ @${MV} ${WRKDIR}/trackeywordsplugin/0.10/trackeywords/web_ui.py ${WRKSRC}/trackeywords/
.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk> .include <bsd.port.mk>