pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-parsel



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 11 11:47:18 UTC 2023

Modified Files:
        pkgsrc/www/py-parsel: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-parsel/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-parsel/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-parsel/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-parsel/Makefile
diff -u pkgsrc/www/py-parsel/Makefile:1.10 pkgsrc/www/py-parsel/Makefile:1.11
--- pkgsrc/www/py-parsel/Makefile:1.10  Tue Jan  4 20:55:32 2022
+++ pkgsrc/www/py-parsel/Makefile       Wed Jan 11 11:47:18 2023
@@ -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 @@ HOMEPAGE=   https://github.com/scrapy/pars
 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"

Index: pkgsrc/www/py-parsel/PLIST
diff -u pkgsrc/www/py-parsel/PLIST:1.2 pkgsrc/www/py-parsel/PLIST:1.3
--- pkgsrc/www/py-parsel/PLIST:1.2      Mon Feb 26 08:32:32 2018
+++ pkgsrc/www/py-parsel/PLIST  Wed Jan 11 11:47:18 2023
@@ -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/__init__.pyo
 ${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

Index: pkgsrc/www/py-parsel/distinfo
diff -u pkgsrc/www/py-parsel/distinfo:1.9 pkgsrc/www/py-parsel/distinfo:1.10
--- pkgsrc/www/py-parsel/distinfo:1.9   Tue Oct 26 11:30:44 2021
+++ pkgsrc/www/py-parsel/distinfo       Wed Jan 11 11:47:18 2023
@@ -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