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:   wiz
Date:           Wed Jan  5 21:26:01 UTC 2022

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

Log Message:
py-cssutils: update to 2.3.0.

v2.3.0
======

#7: Add support for a ``calc()`` within a ``calc()``.

v2.2.0
======

Minor cleanup.

Restored package version reporting when fetching URLs.

v2.1.0
======

Adopted `jaraco/skeleton <https://github.com/jaraco/skeleton>`_.

Delinted codebase.

Removed ``cssutils.VERSION`` and ``cssutils.__version__``.
Consumers wishing to know the version should use
``importlib.metadata.version('cssutils')``.

v2.0.0
======

New `maintainer <https://pypi.org/user/jaraco>`_ revives the project
and moves `hosting <https://github.com/jaraco/cssutils>`_ with
continuous integration testing.

Refreshed packaging.

Project now requires Python 3.6 or later.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/py-cssutils/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-cssutils/PLIST
cvs rdiff -u -r1.8 -r1.9 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.14 pkgsrc/textproc/py-cssutils/Makefile:1.15
--- pkgsrc/textproc/py-cssutils/Makefile:1.14   Wed Jan  5 20:07:11 2022
+++ pkgsrc/textproc/py-cssutils/Makefile        Wed Jan  5 21:26:01 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/01/05 20:07:11 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/01/05 21:26:01 wiz Exp $
 
-DISTNAME=      cssutils-1.0.2
+DISTNAME=      cssutils-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cssutils/}
 
@@ -11,12 +10,20 @@ HOMEPAGE=   http://cthedot.de/cssutils/
 COMMENT=       Cascading Style Sheets parser and library for Python
 LICENSE=       gnu-lgpl-v3
 
+BUILD_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
+
 USE_LANGUAGES= # none
 
 REPLACE_PYTHON+=       src/cssutils/*.py src/cssutils/scripts/*.py
 
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 # all files are group/others writable.
 post-extract:
        chmod -R go-w ${WRKSRC}
@@ -26,6 +33,9 @@ post-install:
        ${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}
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-cssutils/PLIST
diff -u pkgsrc/textproc/py-cssutils/PLIST:1.4 pkgsrc/textproc/py-cssutils/PLIST:1.5
--- pkgsrc/textproc/py-cssutils/PLIST:1.4       Fri Apr 14 13:06:49 2017
+++ pkgsrc/textproc/py-cssutils/PLIST   Wed Jan  5 21:26:01 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/04/14 13:06:49 leot Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/01/05 21:26:01 wiz Exp $
 bin/csscapture-${PYVERSSUFFIX}
 bin/csscombine-${PYVERSSUFFIX}
 bin/cssparse-${PYVERSSUFFIX}
@@ -6,16 +6,11 @@ ${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}/cssutils/__init__.py
 ${PYSITELIB}/cssutils/__init__.pyc
 ${PYSITELIB}/cssutils/__init__.pyo
-${PYSITELIB}/cssutils/_codec2.py
-${PYSITELIB}/cssutils/_codec2.pyc
-${PYSITELIB}/cssutils/_codec2.pyo
-${PYSITELIB}/cssutils/_codec3.py
-${PYSITELIB}/cssutils/_codec3.pyc
-${PYSITELIB}/cssutils/_codec3.pyo
 ${PYSITELIB}/cssutils/_fetch.py
 ${PYSITELIB}/cssutils/_fetch.pyc
 ${PYSITELIB}/cssutils/_fetch.pyo

Index: pkgsrc/textproc/py-cssutils/distinfo
diff -u pkgsrc/textproc/py-cssutils/distinfo:1.8 pkgsrc/textproc/py-cssutils/distinfo:1.9
--- pkgsrc/textproc/py-cssutils/distinfo:1.8    Tue Oct 26 11:23:01 2021
+++ pkgsrc/textproc/py-cssutils/distinfo        Wed Jan  5 21:26:01 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:23:01 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/01/05 21:26:01 wiz Exp $
 
-BLAKE2s (cssutils-1.0.2.tar.gz) = 30b85221cd4c88a5af3033dd2b2495f34769fffd3c4e8053419e74422b3c689d
-SHA512 (cssutils-1.0.2.tar.gz) = 4988893875a03923d3127e334654799e5c2ebcdc0a7f5b3fb5c9ab27d1b331caa5bf197161312a298531e0757843aa3259ceba5fa19947353eea24a5da53ceda
-Size (cssutils-1.0.2.tar.gz) = 367038 bytes
+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



Home | Main Index | Thread Index | Old Index