svn commit: r357762 - head/net/py-gntp

Marcus von Appen mva at FreeBSD.org
Sat Jun 14 10:40:50 UTC 2014


Author: mva
Date: Sat Jun 14 10:40:49 2014
New Revision: 357762
URL: http://svnweb.freebsd.org/changeset/ports/357762
QAT: https://qat.redports.org/buildarchive/r357762/

Log:
  - 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)

Modified:
  head/net/py-gntp/Makefile
  head/net/py-gntp/pkg-plist

Modified: head/net/py-gntp/Makefile
==============================================================================
--- head/net/py-gntp/Makefile	Sat Jun 14 10:34:03 2014	(r357761)
+++ head/net/py-gntp/Makefile	Sat Jun 14 10:40:49 2014	(r357762)
@@ -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_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/${PKGNAMEPR
 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>

Modified: head/net/py-gntp/pkg-plist
==============================================================================
--- head/net/py-gntp/pkg-plist	Sat Jun 14 10:34:03 2014	(r357761)
+++ head/net/py-gntp/pkg-plist	Sat Jun 14 10:40:49 2014	(r357762)
@@ -1,5 +1,3 @@
-bin/gntp
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 %%PORTDOCS%%%%DOCSDIR%%/.buildinfo
 %%PORTDOCS%%%%DOCSDIR%%/_sources/core.txt
 %%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt


More information about the svn-ports-head mailing list