Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 22:10:22 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344490 - head/devel/py-utils
Message-ID:  <201402152210.s1FMAMbp037342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Feb 15 22:10:22 2014
New Revision: 344490
URL: http://svnweb.freebsd.org/changeset/ports/344490
QAT: https://qat.redports.org/buildarchive/r344490/

Log:
  - Stage support
  - Use PYDISTUTILS_AUTOPLIST
  - Remove infozip dependency

Deleted:
  head/devel/py-utils/pkg-plist
Modified:
  head/devel/py-utils/Makefile

Modified: head/devel/py-utils/Makefile
==============================================================================
--- head/devel/py-utils/Makefile	Sat Feb 15 22:02:02 2014	(r344489)
+++ head/devel/py-utils/Makefile	Sat Feb 15 22:10:22 2014	(r344490)
@@ -7,24 +7,22 @@ CATEGORIES=	devel python
 MASTER_SITES=	http://www.voidspace.org.uk/downloads/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	pythonutils-${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	daniel@netwalk.org
 COMMENT=	General utility modules that simplify common programming in Python
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME=	pythonutils
-PYDISTUTILS_EGGINFODIR=	${PYTHONPREFIX_SITELIBDIR}/pythonutils
-WRKSRC=		${WRKDIR}/pythonutils-${PORTVERSION}
-USE_ZIP=	yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402152210.s1FMAMbp037342>