pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/py-zopfli py-zopfli: updated to 0.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac17bd263eb6
branches:  trunk
changeset: 378036:ac17bd263eb6
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 27 10:33:41 2022 +0000

description:
py-zopfli: updated to 0.2.1

v0.2.1
[zopfli.png] Only print debug info to console output when -v/--verbose flag is used.

v0.2.0
Dropped support for EOL Python 2.7 and 3.6, require Python 3.7+.
Added support for compressing PNGs via zopfli.png.optimize method. Also available from the command line as python -m zopfli.png; mimics the upstream's zopflipng c++ executable.

diffstat:

 archivers/py-zopfli/Makefile |  16 +++++++++++-----
 archivers/py-zopfli/PLIST    |   6 +++++-
 archivers/py-zopfli/distinfo |   8 ++++----
 3 files changed, 20 insertions(+), 10 deletions(-)

diffs (68 lines):

diff -r 2c098c273bbc -r ac17bd263eb6 archivers/py-zopfli/Makefile
--- a/archivers/py-zopfli/Makefile      Wed Apr 27 09:50:05 2022 +0000
+++ b/archivers/py-zopfli/Makefile      Wed Apr 27 10:33:41 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2022/01/13 19:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/04/27 10:33:41 adam Exp $
 
-DISTNAME=      zopfli-0.1.9
+DISTNAME=      zopfli-0.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zopfli/}
 EXTRACT_SUFX=  .zip
@@ -12,8 +11,15 @@
 COMMENT=       Zopfli module for Python
 LICENSE=       apache-2.0
 
-PYTHON_VERSIONED_DEPENDENCIES= setuptools_scm:build
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>0:../../devel/py-setuptools_scm
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+
+USE_LANGUAGES= c c++
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2c098c273bbc -r ac17bd263eb6 archivers/py-zopfli/PLIST
--- a/archivers/py-zopfli/PLIST Wed Apr 27 09:50:05 2022 +0000
+++ b/archivers/py-zopfli/PLIST Wed Apr 27 10:33:41 2022 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/19 09:48:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/27 10:33:41 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/zopfli/__init__.py
@@ -13,6 +14,9 @@
 ${PYSITELIB}/zopfli/gzip.py
 ${PYSITELIB}/zopfli/gzip.pyc
 ${PYSITELIB}/zopfli/gzip.pyo
+${PYSITELIB}/zopfli/png.py
+${PYSITELIB}/zopfli/png.pyc
+${PYSITELIB}/zopfli/png.pyo
 ${PYSITELIB}/zopfli/zlib.py
 ${PYSITELIB}/zopfli/zlib.pyc
 ${PYSITELIB}/zopfli/zlib.pyo
diff -r 2c098c273bbc -r ac17bd263eb6 archivers/py-zopfli/distinfo
--- a/archivers/py-zopfli/distinfo      Wed Apr 27 09:50:05 2022 +0000
+++ b/archivers/py-zopfli/distinfo      Wed Apr 27 10:33:41 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2021/11/19 09:48:38 adam Exp $
+$NetBSD: distinfo,v 1.2 2022/04/27 10:33:41 adam Exp $
 
-BLAKE2s (zopfli-0.1.9.zip) = f2c4f2fb3356a7c10738f4bd9b9d238ea64e61e0f6c9bf67421a1d8382286316
-SHA512 (zopfli-0.1.9.zip) = 45e7dd3e4aac145ee4737ed6630708799e0606db201f52b42b5090855223652b1d7c5aed9761fe61518c936eaada6b466dccf7a9c6f79c8ca3e8b2d12856d5db
-Size (zopfli-0.1.9.zip) = 79873 bytes
+BLAKE2s (zopfli-0.2.1.zip) = 02653d46b39a47757d59f76b6ff0e6a0d3c59284ad3bab976cf8d5d069c88b3f
+SHA512 (zopfli-0.2.1.zip) = 73f8be5209d62a2f26f70584827f540a441f00e98a5e621981f1b12bb7fe7481e2571746524d7a9fd0a16e1eac957941663cf05f6494e4527974ebb83791f987
+Size (zopfli-0.2.1.zip) = 205086 bytes



Home | Main Index | Thread Index | Old Index