pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-cssselect2 py-cssselect2: Update to 0.6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04dd620de59c
branches:  trunk
changeset: 379725:04dd620de59c
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Sun May 22 15:07:50 2022 +0000

description:
py-cssselect2: Update to 0.6.0.

Version 0.6.0
.............

Released on 2022-04-15.

**This version deprecates the ``iter_ancestors`` and
``iter_previous_siblings`` methods, that will be removed in 0.7.0.
Use the ``ancestors`` and ``previous_siblings`` properties instead.**

* Improve speed of ancestors and previous siblings


Version 0.5.0
.............

Released on 2022-02-27.

* Support Python 3.10
* Drop support of Python 3.6
* Handle many CSS4 selectors
* Ignore comments at the beginning of selectors

diffstat:

 textproc/py-cssselect2/Makefile               |   8 ++++----
 textproc/py-cssselect2/PLIST                  |  18 ++++++++----------
 textproc/py-cssselect2/distinfo               |   9 ++++-----
 textproc/py-cssselect2/patches/patch-setup.py |  15 ---------------
 4 files changed, 16 insertions(+), 34 deletions(-)

diffs (92 lines):

diff -r b5bc2e523681 -r 04dd620de59c textproc/py-cssselect2/Makefile
--- a/textproc/py-cssselect2/Makefile   Sun May 22 14:38:44 2022 +0000
+++ b/textproc/py-cssselect2/Makefile   Sun May 22 15:07:50 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/05/22 15:07:50 kleink Exp $
 
-DISTNAME=      cssselect2-0.4.1
+DISTNAME=      cssselect2-0.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cssselect2/}
 
@@ -11,6 +10,7 @@
 COMMENT=       CSS selectors for Python ElementTree
 LICENSE=       modified-bsd
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
 DEPENDS+=      ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py-tinycss2
 DEPENDS+=      ${PYPKGPREFIX}-webencodings-[0-9]*:../../textproc/py-webencodings
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
@@ -25,5 +25,5 @@
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b5bc2e523681 -r 04dd620de59c textproc/py-cssselect2/PLIST
--- a/textproc/py-cssselect2/PLIST      Sun May 22 14:38:44 2022 +0000
+++ b/textproc/py-cssselect2/PLIST      Sun May 22 15:07:50 2022 +0000
@@ -1,18 +1,16 @@
-@comment $NetBSD: PLIST,v 1.2 2021/04/28 08:52:17 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
+@comment $NetBSD: PLIST,v 1.3 2022/05/22 15:07:50 kleink Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/cssselect2/__init__.py
 ${PYSITELIB}/cssselect2/__init__.pyc
-${PYSITELIB}/cssselect2/__init__.pyo
 ${PYSITELIB}/cssselect2/compiler.py
 ${PYSITELIB}/cssselect2/compiler.pyc
-${PYSITELIB}/cssselect2/compiler.pyo
 ${PYSITELIB}/cssselect2/parser.py
 ${PYSITELIB}/cssselect2/parser.pyc
-${PYSITELIB}/cssselect2/parser.pyo
 ${PYSITELIB}/cssselect2/tree.py
 ${PYSITELIB}/cssselect2/tree.pyc
-${PYSITELIB}/cssselect2/tree.pyo
diff -r b5bc2e523681 -r 04dd620de59c textproc/py-cssselect2/distinfo
--- a/textproc/py-cssselect2/distinfo   Sun May 22 14:38:44 2022 +0000
+++ b/textproc/py-cssselect2/distinfo   Sun May 22 15:07:50 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:23:01 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/05/22 15:07:50 kleink Exp $
 
-BLAKE2s (cssselect2-0.4.1.tar.gz) = 9baaf7d8d124e95116ef7040d1efd336585f5e3115952c37abf14ed6691569cd
-SHA512 (cssselect2-0.4.1.tar.gz) = feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac
-Size (cssselect2-0.4.1.tar.gz) = 32756 bytes
-SHA1 (patch-setup.py) = 4a5a26801f3ebc2bfb1b87be7fcd76d9d31ab2fc
+BLAKE2s (cssselect2-0.6.0.tar.gz) = 2fec4e8bf62d6c35fde7bfb7e07dc07928afb45221ac427734df3ceb8ced047c
+SHA512 (cssselect2-0.6.0.tar.gz) = 10cb55ebaaa16b755d85f1e511ae0281fb017d6937750392ae1da7f32d51ff944fb14c6d1c9ea5f42734450b719157ded116dc14ef471a9a20fcc43fb6682308
+Size (cssselect2-0.6.0.tar.gz) = 35442 bytes
diff -r b5bc2e523681 -r 04dd620de59c textproc/py-cssselect2/patches/patch-setup.py
--- a/textproc/py-cssselect2/patches/patch-setup.py     Sun May 22 14:38:44 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2021/04/28 08:52:17 adam Exp $
-
-Use setuptools.
-
---- setup.py.orig      2021-04-28 08:48:09.000000000 +0000
-+++ setup.py
-@@ -1,7 +1,7 @@
- #!/usr/bin/env python
- # setup.py generated by flit for tools that don't yet use PEP 517
- 
--from distutils.core import setup
-+from setuptools import setup
- 
- packages = \
- ['cssselect2']



Home | Main Index | Thread Index | Old Index