pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-parsel py-parsel: updated to 1.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbf2febd3b1e
branches:  trunk
changeset: 391639:dbf2febd3b1e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 11 11:47:18 2023 +0000

description:
py-parsel: updated to 1.7.0

1.7.0 (2022-11-01)
* Add PEP 561-style type information
* Support for Python 2.7, 3.5 and 3.6 is removed
* Support for Python 3.9-3.11 is added
* Very large documents (with deep nesting or long tag content) can now be
  parsed, and ``Selector`` now takes a new argument ``huge_tree`` to disable
  this
* Support for new features of cssselect 1.2.0 is added
* The ``Selector.remove()`` and ``SelectorList.remove()`` methods are
  deprecated and replaced with the new ``Selector.drop()`` and
  ``SelectorList.drop()`` methods which don't delete text after the dropped
  elements when used in the HTML mode.

diffstat:

 www/py-parsel/Makefile |  19 +++++++++----------
 www/py-parsel/PLIST    |   3 ++-
 www/py-parsel/distinfo |   8 ++++----
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (70 lines):

diff -r 915d10582279 -r dbf2febd3b1e www/py-parsel/Makefile
--- a/www/py-parsel/Makefile    Wed Jan 11 10:54:59 2023 +0000
+++ b/www/py-parsel/Makefile    Wed Jan 11 11:47:18 2023 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:55:32 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/01/11 11:47:18 adam Exp $
 
-DISTNAME=      parsel-1.6.0
+DISTNAME=      parsel-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/parsel/}
 
@@ -11,18 +10,18 @@
 COMMENT=       Library to extract data from HTML and XML using XPath and CSS
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-cssselect>=0.9:../../textproc/py-cssselect
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.3:../../textproc/py-lxml
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.6.0:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-w3lib>=1.19.0:../../www/py-w3lib
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
-.endif
+TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.6.3:../../sysutils/py-psutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 915d10582279 -r dbf2febd3b1e www/py-parsel/PLIST
--- a/www/py-parsel/PLIST       Wed Jan 11 10:54:59 2023 +0000
+++ b/www/py-parsel/PLIST       Wed Jan 11 11:47:18 2023 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/02/26 08:32:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/01/11 11:47:18 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,6 +11,7 @@
 ${PYSITELIB}/parsel/csstranslator.py
 ${PYSITELIB}/parsel/csstranslator.pyc
 ${PYSITELIB}/parsel/csstranslator.pyo
+${PYSITELIB}/parsel/py.typed
 ${PYSITELIB}/parsel/selector.py
 ${PYSITELIB}/parsel/selector.pyc
 ${PYSITELIB}/parsel/selector.pyo
diff -r 915d10582279 -r dbf2febd3b1e www/py-parsel/distinfo
--- a/www/py-parsel/distinfo    Wed Jan 11 10:54:59 2023 +0000
+++ b/www/py-parsel/distinfo    Wed Jan 11 11:47:18 2023 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 11:30:44 nia Exp $
+$NetBSD: distinfo,v 1.10 2023/01/11 11:47:18 adam Exp $
 
-BLAKE2s (parsel-1.6.0.tar.gz) = 4361c01a001d46c54c1cc51f08d16e8d4fe473bc18e8c83e07b756a676d2877c
-SHA512 (parsel-1.6.0.tar.gz) = 1e1fd8ae059253a89f694dd56dd6366965222d34053db6809f0cde97af349ff39bcecbb9c8f4c8c2da5f7e8264e041c2562a4429758869b81f36a24dd8005f22
-Size (parsel-1.6.0.tar.gz) = 41812 bytes
+BLAKE2s (parsel-1.7.0.tar.gz) = e1321d5216ed02205fdecba8f5c7bac1dded76cacedc6730fe19764de58570fb
+SHA512 (parsel-1.7.0.tar.gz) = 850784cfb32fbf619dbcd53152edb569b199965e59f3ec088892a8d432aaf08c1a61f3562499c5c592d9578fb28f871d519e3d7b344e3b7a12fbaaca57909f89
+Size (parsel-1.7.0.tar.gz) = 46036 bytes



Home | Main Index | Thread Index | Old Index