aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2016-12-07 08:15:55 +0800
committersbz <sbz@FreeBSD.org>2016-12-07 08:15:55 +0800
commit4c4b0e032fdc520efa33e07fe668c57300c24af1 (patch)
treea80184e578fe47bff22b3ca3127e9caffc25af7f /archivers
parentef046d312e84c615af98a8c5537c24ab2e66a8dd (diff)
downloadfreebsd-ports-gnome-4c4b0e032fdc520efa33e07fe668c57300c24af1.tar.gz
freebsd-ports-gnome-4c4b0e032fdc520efa33e07fe668c57300c24af1.tar.zst
freebsd-ports-gnome-4c4b0e032fdc520efa33e07fe668c57300c24af1.zip
- Update to 0.4.8
- Allow Python concurrent installation
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-lzma/Makefile18
-rw-r--r--archivers/py-lzma/distinfo5
2 files changed, 14 insertions, 9 deletions
diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile
index 72488c31b8d2..3ee85ae4df88 100644
--- a/archivers/py-lzma/Makefile
+++ b/archivers/py-lzma/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= lzma
-PORTVERSION= 0.4.4
-PORTREVISION= 1
+PORTVERSION= 0.4.8
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +12,25 @@ MAINTAINER= sbz@FreeBSD.org
COMMENT= Python binding for the LZMA compression library
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
-ONLY_FOR_ARCHS= i386
-
+ONLY_FOR_ARCHS= amd64 i386
USES= dos2unix python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= concurrent distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-PORTDOCS= usage.txt
+PORTDOCS= USAGE.md
+
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/pylzma.so
+
.include <bsd.port.mk>
diff --git a/archivers/py-lzma/distinfo b/archivers/py-lzma/distinfo
index d3e9cd94773c..3ef411f393f9 100644
--- a/archivers/py-lzma/distinfo
+++ b/archivers/py-lzma/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pylzma-0.4.4.tar.gz) = ba65fbeee504bd10af275399df10e5603a33226a3e22d393dfa59ae99765cff1
-SIZE (pylzma-0.4.4.tar.gz) = 106537
+TIMESTAMP = 1480645446
+SHA256 (pylzma-0.4.8.tar.gz) = e6239cc4c134083ef6cfee54b1b9f5116dfc081474e093136b1b0e3226ac2532
+SIZE (pylzma-0.4.8.tar.gz) = 115234