git: 83c9d6936920 - main - archivers/py-zopfli: Update to 0.1.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Oct 2021 21:58:47 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=83c9d6936920251f340aa21fa6ce36cf3c013d0b
commit 83c9d6936920251f340aa21fa6ce36cf3c013d0b
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 21:23:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 21:46:35 +0000
archivers/py-zopfli: Update to 0.1.9
- Strip shared library
- Update WWW
Changes: https://github.com/fonttools/py-zopfli/releases
---
archivers/py-zopfli/Makefile | 7 ++++++-
archivers/py-zopfli/distinfo | 6 +++---
archivers/py-zopfli/pkg-descr | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/archivers/py-zopfli/Makefile b/archivers/py-zopfli/Makefile
index ccafc78bf1a4..a610d671d2a7 100644
--- a/archivers/py-zopfli/Makefile
+++ b/archivers/py-zopfli/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= zopfli
-PORTVERSION= 0.1.8
+PORTVERSION= 0.1.9
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,12 @@ COMMENT= Zopfli module for python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+
USES= python:3.6+ zip
USE_PYTHON= autoplist concurrent distutils
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
.include <bsd.port.mk>
diff --git a/archivers/py-zopfli/distinfo b/archivers/py-zopfli/distinfo
index aa0fecaf1b7a..31b8f76b4780 100644
--- a/archivers/py-zopfli/distinfo
+++ b/archivers/py-zopfli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618320088
-SHA256 (zopfli-0.1.8.zip) = 8b977dc07e3797907ab59e08096583bcd0b7e6c739849fbbeec09263f6356623
-SIZE (zopfli-0.1.8.zip) = 75707
+TIMESTAMP = 1635181027
+SHA256 (zopfli-0.1.9.zip) = 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b
+SIZE (zopfli-0.1.9.zip) = 79873
diff --git a/archivers/py-zopfli/pkg-descr b/archivers/py-zopfli/pkg-descr
index 2003c8769968..269ef6eadd2d 100644
--- a/archivers/py-zopfli/pkg-descr
+++ b/archivers/py-zopfli/pkg-descr
@@ -2,4 +2,4 @@ pyzopfli is a straightforward Python wrapper around zopfli's ZlibCompress
method. It also wraps GzipCompress, but the API point does not try to mimic the
gzip module.
-WWW: https://github.com/obp/py-zopfli
+WWW: https://github.com/fonttools/py-zopfli