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

- Enable stagedir support

- 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-14 10:40:49 +00:00
parent b9d2342fc7
commit 33e6dee6e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357762
2 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= gntp
PORTVERSION= 0.8
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= net
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,10 +19,10 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
USE_PYTHON= 2
USE_PYDISTUTILS= easy_install
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
@ -33,8 +33,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PYDISTUTILS_BUILD_TARGET+= build_sphinx
post-install:
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>

View File

@ -1,5 +1,3 @@
bin/gntp
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
%%PORTDOCS%%%%DOCSDIR%%/_sources/core.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt