Skip to content

Commit

Permalink
py-cssutils: update to 2.3.0.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
0-wiz-0 committed Jan 5, 2022
1 parent 69a7e15 commit ca4ff3e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
16 changes: 13 additions & 3 deletions textproc/py-cssutils/Makefile
Original file line number Diff line number Diff line change
@@ -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/}

Expand All @@ -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}
Expand All @@ -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"
9 changes: 2 additions & 7 deletions textproc/py-cssutils/PLIST
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
@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}
${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
Expand Down
8 changes: 4 additions & 4 deletions textproc/py-cssutils/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ca4ff3e

Please sign in to comment.