pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-cssutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb 12 14:31:15 UTC 2024

Modified Files:
        pkgsrc/textproc/py-cssutils: Makefile PLIST distinfo

Log Message:
py-cssutils: updated to 2.9.0

v2.9.0
Features
- Made URL fetcher lenient to missing metadata.

v2.8.0
Features
- Require Python 3.8 or later.

Bugfixes
- Made some unreachable tests reachable.

v2.7.1
Refactored to restore docs builds without warning-errors.

v2.7.0
Updated deprecated usage of ``cgi`` module.
Updated deprecated setup/teardown from ``nose`` in tests.
Other miscellaneous cleanup and packaging updates.

v2.6.0
Added support for custom CSS variables with ``--`` prefix.

v2.5.1
Some refactoring.

v2.5.0
Substantial code refresh. Ported tests to native pytest.
Enrolled project with Tidelift.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/py-cssutils/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-cssutils/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-cssutils/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-cssutils/Makefile
diff -u pkgsrc/textproc/py-cssutils/Makefile:1.16 pkgsrc/textproc/py-cssutils/Makefile:1.17
--- pkgsrc/textproc/py-cssutils/Makefile:1.16   Tue Jun  6 12:42:32 2023
+++ pkgsrc/textproc/py-cssutils/Makefile        Mon Feb 12 14:31:15 2024
@@ -1,41 +1,36 @@
-# $NetBSD: Makefile,v 1.16 2023/06/06 12:42:32 riastradh Exp $
+# $NetBSD: Makefile,v 1.17 2024/02/12 14:31:15 adam Exp $
 
-DISTNAME=      cssutils-2.3.0
+DISTNAME=      cssutils-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cssutils/}
 
 MAINTAINER=    rhialto%falu.nl@localhost
-HOMEPAGE=      http://cthedot.de/cssutils/
+HOMEPAGE=      https://cthedot.de/cssutils/
 COMMENT=       Cascading Style Sheets parser and library for Python
 LICENSE=       gnu-lgpl-v3
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
-DEPENDS+=      ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=56:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.test>=5.1:../../devel/py-jaraco.test
+TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
-REPLACE_PYTHON+=       src/cssutils/*.py src/cssutils/scripts/*.py
-
-USE_PKG_RESOURCES=     yes
+REPLACE_PYTHON+=       src/cssutils/*.py
+REPLACE_PYTHON+=       src/cssutils/scripts/*.py
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# all files are group/others writable.
-post-extract:
-       chmod -R go-w ${WRKSRC}
-
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/csscapture ${DESTDIR}${PREFIX}/bin/csscapture-${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/bin/csscombine ${DESTDIR}${PREFIX}/bin/csscombine-${PYVERSSUFFIX} || ${TRUE}
-       ${MV} ${DESTDIR}${PREFIX}/bin/cssparse ${DESTDIR}${PREFIX}/bin/cssparse-${PYVERSSUFFIX} || ${TRUE}
-
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+.for bin in csscapture csscombine cssparse
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-cssutils/PLIST
diff -u pkgsrc/textproc/py-cssutils/PLIST:1.5 pkgsrc/textproc/py-cssutils/PLIST:1.6
--- pkgsrc/textproc/py-cssutils/PLIST:1.5       Wed Jan  5 21:26:01 2022
+++ pkgsrc/textproc/py-cssutils/PLIST   Mon Feb 12 14:31:15 2024
@@ -1,13 +1,14 @@
-@comment $NetBSD: PLIST,v 1.5 2022/01/05 21:26:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/02/12 14:31:15 adam Exp $
 bin/csscapture-${PYVERSSUFFIX}
 bin/csscombine-${PYVERSSUFFIX}
 bin/cssparse-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING.LESSER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cssutils/__init__.py
 ${PYSITELIB}/cssutils/__init__.pyc
 ${PYSITELIB}/cssutils/__init__.pyo
@@ -279,9 +280,9 @@ ${PYSITELIB}/cssutils/tests/test_cssvari
 ${PYSITELIB}/cssutils/tests/test_domimplementation.py
 ${PYSITELIB}/cssutils/tests/test_domimplementation.pyc
 ${PYSITELIB}/cssutils/tests/test_domimplementation.pyo
-${PYSITELIB}/cssutils/tests/test_encutils/__init__.py
-${PYSITELIB}/cssutils/tests/test_encutils/__init__.pyc
-${PYSITELIB}/cssutils/tests/test_encutils/__init__.pyo
+${PYSITELIB}/cssutils/tests/test_encutils.py
+${PYSITELIB}/cssutils/tests/test_encutils.pyc
+${PYSITELIB}/cssutils/tests/test_encutils.pyo
 ${PYSITELIB}/cssutils/tests/test_errorhandler.py
 ${PYSITELIB}/cssutils/tests/test_errorhandler.pyc
 ${PYSITELIB}/cssutils/tests/test_errorhandler.pyo

Index: pkgsrc/textproc/py-cssutils/distinfo
diff -u pkgsrc/textproc/py-cssutils/distinfo:1.9 pkgsrc/textproc/py-cssutils/distinfo:1.10
--- pkgsrc/textproc/py-cssutils/distinfo:1.9    Wed Jan  5 21:26:01 2022
+++ pkgsrc/textproc/py-cssutils/distinfo        Mon Feb 12 14:31:15 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/01/05 21:26:01 wiz Exp $
+$NetBSD: distinfo,v 1.10 2024/02/12 14:31:15 adam Exp $
 
-BLAKE2s (cssutils-2.3.0.tar.gz) = 8ceeae5b5ef226a66c8624e38d2b9ec625320f2b43f4aa678a3b7b98547091c0
-SHA512 (cssutils-2.3.0.tar.gz) = 9919224a61222e860a99ec80e6375a472b89c52af72272c1de7bcd5fd31cf8570a04da7762c62a17a85bef2c41b1c67447583087df4c86c1f8969ad4875a76d2
-Size (cssutils-2.3.0.tar.gz) = 725849 bytes
+BLAKE2s (cssutils-2.9.0.tar.gz) = c5304b6b17ccfa469a01c648df255bdbe3746c936eed05a13f332536f5f35862
+SHA512 (cssutils-2.9.0.tar.gz) = d13d53b3e4f133afb5b72faba1e41a95cf2b146efb075dd3b328fc424eccd371194e1e14fd9e607b207b5c7d473e64f1e4c63975173d8491fa8036a16dc94d38
+Size (cssutils-2.9.0.tar.gz) = 723452 bytes



Home | Main Index | Thread Index | Old Index