aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-11 06:42:34 +0800
committerantoine <antoine@FreeBSD.org>2014-02-11 06:42:34 +0800
commit335349f495e97bb8b3f865d72dda02db9336bc12 (patch)
tree69d2ccea7afb5f8ad04a1f56db9467a6d233183a /devel
parent1e1dd987773a72f10a6fbe79b20acadc77124cf7 (diff)
downloadfreebsd-ports-gnome-335349f495e97bb8b3f865d72dda02db9336bc12.tar.gz
freebsd-ports-gnome-335349f495e97bb8b3f865d72dda02db9336bc12.tar.zst
freebsd-ports-gnome-335349f495e97bb8b3f865d72dda02db9336bc12.zip
- Update to 0.30
- This version works with python 3 - Use PYDISTUTILS_AUTOPLIST - Remove DOCS, the README is identical in content to the PKGINFO
Diffstat (limited to 'devel')
-rw-r--r--devel/py-olefileio_pl/Makefile22
-rw-r--r--devel/py-olefileio_pl/distinfo4
-rw-r--r--devel/py-olefileio_pl/pkg-plist3
3 files changed, 8 insertions, 21 deletions
diff --git a/devel/py-olefileio_pl/Makefile b/devel/py-olefileio_pl/Makefile
index 3f47e98f8d21..8145b2341377 100644
--- a/devel/py-olefileio_pl/Makefile
+++ b/devel/py-olefileio_pl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= olefileio_pl
-PORTVERSION= 0.26
+PORTVERSION= 0.30
CATEGORIES= devel python
MASTER_SITES= http://cdn.bitbucket.org/decalage/olefileio_pl/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,21 +15,11 @@ COMMENT= Python module to read MS OLE2 files
LICENSE= MIT
USES= dos2unix
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME=OleFileIO_PL
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
-OPTIONS_DEFINE= DOCS
-
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS= README.txt
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
+post-patch:
+ @${REINPLACE_CMD} "s|, 'OleFileIO_PL2'||" ${WRKSRC}/setup.py
.include <bsd.port.mk>
diff --git a/devel/py-olefileio_pl/distinfo b/devel/py-olefileio_pl/distinfo
index 1e7f006f73c9..a40a71666fd6 100644
--- a/devel/py-olefileio_pl/distinfo
+++ b/devel/py-olefileio_pl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (OleFileIO_PL-0.26.zip) = 4933cdd181a2506678dd2b01743c33ceec2ec8ecb813fc5e7fa50ea4d6b88fa4
-SIZE (OleFileIO_PL-0.26.zip) = 38261
+SHA256 (OleFileIO_PL-0.30.zip) = b9799ca895febc310d72a4c72164f2486f070ce362f494a571ae34a1acba7e04
+SIZE (OleFileIO_PL-0.30.zip) = 78444
diff --git a/devel/py-olefileio_pl/pkg-plist b/devel/py-olefileio_pl/pkg-plist
deleted file mode 100644
index 7b66b2b06c73..000000000000
--- a/devel/py-olefileio_pl/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/OleFileIO_PL.py
-%%PYTHON_SITELIBDIR%%/OleFileIO_PL.pyc
-%%PYTHON_SITELIBDIR%%/OleFileIO_PL.pyo