pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-pyquery



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar  8 12:10:51 UTC 2023

Modified Files:
        pkgsrc/textproc/py-pyquery: Makefile distinfo

Log Message:
py-pyquery: updated to 2.0.0

2.0.0 (2022-12-28)
------------------

- Breaking change: inputs starting with ``"http://"`` or ``"https://"`` like
  ``PyQuery("http://example.com";)`` will no longer fetch the contents of the URL.
  Users desiring the old behavior should switch to ``PyQuery(url="http://example.com";)``.

- Add nextUntil method

- ``.remove()`` no longer inserts a space in place of the removed element

- Fix escaping of top-level element text in ``.html()`` output

- Support (and require) cssselect 1.2+

- Drop support for python 3.5/3.6


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/py-pyquery/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-pyquery/distinfo

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-pyquery/Makefile
diff -u pkgsrc/textproc/py-pyquery/Makefile:1.12 pkgsrc/textproc/py-pyquery/Makefile:1.13
--- pkgsrc/textproc/py-pyquery/Makefile:1.12    Sat Mar  5 09:00:56 2022
+++ pkgsrc/textproc/py-pyquery/Makefile Wed Mar  8 12:10:51 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/03/05 09:00:56 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2023/03/08 12:10:51 adam Exp $
 
-DISTNAME=      pyquery-1.4.3
+DISTNAME=      pyquery-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyquery/}
 
@@ -11,7 +10,7 @@ HOMEPAGE=     https://github.com/gawel/pyque
 COMMENT=       Python jquery-like library
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-cssselect>0.7.9:../../textproc/py-cssselect
+DEPENDS+=      ${PYPKGPREFIX}-cssselect>=1.2.0:../../textproc/py-cssselect
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.1:../../textproc/py-lxml
 TEST_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
 
@@ -20,7 +19,7 @@ USE_LANGUAGES=        # none
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pyquery/distinfo
diff -u pkgsrc/textproc/py-pyquery/distinfo:1.10 pkgsrc/textproc/py-pyquery/distinfo:1.11
--- pkgsrc/textproc/py-pyquery/distinfo:1.10    Tue Oct 26 11:23:11 2021
+++ pkgsrc/textproc/py-pyquery/distinfo Wed Mar  8 12:10:51 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:23:11 nia Exp $
+$NetBSD: distinfo,v 1.11 2023/03/08 12:10:51 adam Exp $
 
-BLAKE2s (pyquery-1.4.3.tar.gz) = d3d884bf731f5e9731141a87d75b5be39a90ecbcec95b36e0c0d085a37c21c17
-SHA512 (pyquery-1.4.3.tar.gz) = cb61326e38f78763ca15de09e3a56dad776b3d4831b54eabf295db0f9af8bf04599642c73f5db3e3172b86d7b66ba2ef626c8cba2dfb458af6ac432d15ea7cba
-Size (pyquery-1.4.3.tar.gz) = 47448 bytes
+BLAKE2s (pyquery-2.0.0.tar.gz) = 619518404178513dba43bd67e089dc477189ffa61f3cf719f9062539e0e8ce4f
+SHA512 (pyquery-2.0.0.tar.gz) = 316a479acd23e371b6e70550681527b15203e7ab62f4722375335180f13d9b48d9170abf308bb26b6180d954de4f8dfea5f90426cb820c5e888cc56f8a99ba33
+Size (pyquery-2.0.0.tar.gz) = 45210 bytes



Home | Main Index | Thread Index | Old Index