pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-cssselect



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 11 11:48:35 UTC 2023

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

Log Message:
py-cssselect: updated to 1.2.0

Version 1.2.0
-------------
* Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11.
* Add type annotations (PEP 484 and PEP 561).
* More features from the CSS Selectors Level 4:
  * The ``:is()`` pseudo-class.
  * The ``:where()`` pseudo-class.
  * The ``:has()`` pseudo-class, with some limitations.
* Fix parsing ``:scope`` after a comma.
* Add parentheses to fix condition precedence in some cases.
* Private API changes related to the removal of the Python 2 support:
  * Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``.
  * Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``.
  * Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just
    call ``getattr()``.
* Include tests in the PyPI tarball.
* Many CI additions and improvements.
* Improve the test coverage.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-cssselect/Makefile \
    pkgsrc/textproc/py-cssselect/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-cssselect/PLIST

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-cssselect/Makefile
diff -u pkgsrc/textproc/py-cssselect/Makefile:1.8 pkgsrc/textproc/py-cssselect/Makefile:1.9
--- pkgsrc/textproc/py-cssselect/Makefile:1.8   Tue Jan  4 20:54:53 2022
+++ pkgsrc/textproc/py-cssselect/Makefile       Wed Jan 11 11:48:35 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:54:53 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/01/11 11:48:35 adam Exp $
 
-DISTNAME=      cssselect-1.1.0
+DISTNAME=      cssselect-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cssselect/}
 
@@ -13,5 +12,10 @@ LICENSE=     modified-bsd
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-cssselect/distinfo
diff -u pkgsrc/textproc/py-cssselect/distinfo:1.8 pkgsrc/textproc/py-cssselect/distinfo:1.9
--- pkgsrc/textproc/py-cssselect/distinfo:1.8   Tue Oct 26 11:23:01 2021
+++ pkgsrc/textproc/py-cssselect/distinfo       Wed Jan 11 11:48:35 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:23:01 nia Exp $
+$NetBSD: distinfo,v 1.9 2023/01/11 11:48:35 adam Exp $
 
-BLAKE2s (cssselect-1.1.0.tar.gz) = bdda14f0b2d8a61b6b5a8508d8fb0133a06a01f52fc05782be65c53c9c51a823
-SHA512 (cssselect-1.1.0.tar.gz) = 98ce8233ef7486bb240ec55f0d07aff684c08376b301a2e8cbc0579515f204b56b1ed2cc7106bd7afac59a7286165ec87d73cf0db74e5741fed7b2ddfa04b544
-Size (cssselect-1.1.0.tar.gz) = 22718 bytes
+BLAKE2s (cssselect-1.2.0.tar.gz) = 518e4efda534418cf73aa4b5cfad06645d050e961ede0e0362dff2f0d5bce6c3
+SHA512 (cssselect-1.2.0.tar.gz) = 389a571cb8d0a8bfac7968a033df949d99c1252c3bd194d7270e7b43f22dd40014864b6423dc645d9fd8014ca3735daab68fe36cb2beedb012728818da4ba1e5
+Size (cssselect-1.2.0.tar.gz) = 41423 bytes

Index: pkgsrc/textproc/py-cssselect/PLIST
diff -u pkgsrc/textproc/py-cssselect/PLIST:1.2 pkgsrc/textproc/py-cssselect/PLIST:1.3
--- pkgsrc/textproc/py-cssselect/PLIST:1.2      Mon Feb 13 17:58:47 2017
+++ pkgsrc/textproc/py-cssselect/PLIST  Wed Jan 11 11:48:35 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/02/13 17:58:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/01/11 11:48:35 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,6 +9,7 @@ ${PYSITELIB}/cssselect/__init__.pyo
 ${PYSITELIB}/cssselect/parser.py
 ${PYSITELIB}/cssselect/parser.pyc
 ${PYSITELIB}/cssselect/parser.pyo
+${PYSITELIB}/cssselect/py.typed
 ${PYSITELIB}/cssselect/xpath.py
 ${PYSITELIB}/cssselect/xpath.pyc
 ${PYSITELIB}/cssselect/xpath.pyo



Home | Main Index | Thread Index | Old Index