aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-lzma
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2016-12-07 00:15:55 +0000
committerSofian Brabez <sbz@FreeBSD.org>2016-12-07 00:15:55 +0000
commit5490c47768888323ef01fc93d5215bba7e95444f (patch)
treea80184e578fe47bff22b3ca3127e9caffc25af7f /archivers/py-lzma
parent6a5d953b06f11bbee35a2627dc8dd42ed5046a87 (diff)
downloadports-5490c47768888323ef01fc93d5215bba7e95444f.tar.gz
ports-5490c47768888323ef01fc93d5215bba7e95444f.zip
- Update to 0.4.8
- Allow Python concurrent installation
Notes
Notes: svn path=/head/; revision=428020
Diffstat (limited to 'archivers/py-lzma')
-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