pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-cssutils py-cssutils: update to 2.3.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9413a87bbf96
branches: trunk
changeset: 371152:9413a87bbf96
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jan 05 21:26:01 2022 +0000
description:
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.
diffstat:
textproc/py-cssutils/Makefile | 16 +++++++++++++---
textproc/py-cssutils/PLIST | 9 ++-------
textproc/py-cssutils/distinfo | 8 ++++----
3 files changed, 19 insertions(+), 14 deletions(-)
diffs (85 lines):
diff -r a515c8cf43f9 -r 9413a87bbf96 textproc/py-cssutils/Makefile
--- a/textproc/py-cssutils/Makefile Wed Jan 05 20:50:24 2022 +0000
+++ b/textproc/py-cssutils/Makefile Wed Jan 05 21:26:01 2022 +0000
@@ -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 @@
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 @@
${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"
diff -r a515c8cf43f9 -r 9413a87bbf96 textproc/py-cssutils/PLIST
--- a/textproc/py-cssutils/PLIST Wed Jan 05 20:50:24 2022 +0000
+++ b/textproc/py-cssutils/PLIST Wed Jan 05 21:26:01 2022 +0000
@@ -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}/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
diff -r a515c8cf43f9 -r 9413a87bbf96 textproc/py-cssutils/distinfo
--- a/textproc/py-cssutils/distinfo Wed Jan 05 20:50:24 2022 +0000
+++ b/textproc/py-cssutils/distinfo Wed Jan 05 21:26:01 2022 +0000
@@ -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