svn commit: r341160 - in head/security/py-plaso: . files

Antoine Brodin antoine at FreeBSD.org
Sun Jan 26 10:29:42 UTC 2014


Author: antoine
Date: Sun Jan 26 10:29:40 2014
New Revision: 341160
URL: http://svnweb.freebsd.org/changeset/ports/341160
QAT: https://qat.redports.org/buildarchive/r341160/

Log:
  - Switch from easy_install to install
  - Use PYDISTUTILS_AUTOPLIST
  - Remove DOCS/EXAMPLES conditionals

Added:
  head/security/py-plaso/files/patch-setup.py   (contents, props changed)
Deleted:
  head/security/py-plaso/pkg-plist
Modified:
  head/security/py-plaso/Makefile

Modified: head/security/py-plaso/Makefile
==============================================================================
--- head/security/py-plaso/Makefile	Sun Jan 26 09:36:41 2014	(r341159)
+++ head/security/py-plaso/Makefile	Sun Jan 26 10:29:40 2014	(r341160)
@@ -3,6 +3,7 @@
 
 PORTNAME=	plaso
 PORTVERSION=	1.0.2
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	https://googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/${PORTVERSION}/final/ \
 		LOCAL/antoine
@@ -38,8 +39,8 @@ RUN_DEPENDS=	hachoir-core>=0:${PORTSDIR}
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml
 
 USE_PYTHON=	2
-USE_PYDISTUTILS=easy_install
-PYDISTUTILS_PKGVERSION=${PORTVERSION}alpha
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PORTDOCS=	ACKNOWLEDGEMENT AUTHORS
@@ -50,16 +51,10 @@ EXAMPLESDIR=	${PREFIX}/share/examples/py
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/extra/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Added: head/security/py-plaso/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-plaso/files/patch-setup.py	Sun Jan 26 10:29:40 2014	(r341160)
@@ -0,0 +1,11 @@
+--- ./setup.py.orig	2013-10-31 18:02:07.000000000 +0000
++++ ./setup.py	2014-01-26 09:42:25.000000000 +0000
+@@ -104,7 +104,7 @@
+           'Programming Language :: Python',
+       ],
+       #include_package_data=True,
+-      packages=find_packages('.'),
++      packages=find_packages('.', exclude=['test_data']),
+       package_data={'plaso.test_data': GetFileList('test_data', ['*'])},
+      )
+ 


More information about the svn-ports-all mailing list