pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-twill



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jan 16 14:13:55 UTC 2024

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

Log Message:
py-twill: updated to 3.2.1

3.2.1 (released 2023-11-23)
---------------------------
* Increased the default request timeout of the twill browser to 10 seconds
  (from 5 seconds in 3.2) and added a command to change the timeout

3.2 (released 2023-11-02)
-------------------------
* The supported Python versions are now 3.8 to 3.12.
* A new method 'find_links' was added to the twill browser
* Twill now uses httpx_ instead of requests_.
* WSGI apps are now supported via httpx, wsgi_intercept is not needed anymore.
* We now use 'pyproject.toml' instead of 'setup.py'.
* Type hints and code style have been improved and are checked with ruff.
* Internal code was reformatted using ruff format (compatible with black).


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/py-twill/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-twill/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-twill/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-twill/Makefile
diff -u pkgsrc/www/py-twill/Makefile:1.19 pkgsrc/www/py-twill/Makefile:1.20
--- pkgsrc/www/py-twill/Makefile:1.19   Mon Nov 14 19:29:38 2022
+++ pkgsrc/www/py-twill/Makefile        Tue Jan 16 14:13:55 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2022/11/14 19:29:38 adam Exp $
+# $NetBSD: Makefile,v 1.20 2024/01/16 14:13:55 adam Exp $
 
-DISTNAME=      twill-3.1
+DISTNAME=      twill-3.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/twill/}
@@ -10,14 +10,17 @@ HOMEPAGE=   https://github.com/twill-tools
 COMMENT=       Simple scripting language for web browsing
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=68:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-httpx>=0.25.0:../../www/py-httpx
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=4.9:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-pyparsing>=3.0:../../devel/py-pyparsing
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.27:../../devel/py-requests
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-pytidylib>=0.3
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-quixote>=3.6:../../devel/py-quixote
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-tox>=4:../../devel/py-tox
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
@@ -26,5 +29,5 @@ post-install:
        ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-twill/PLIST
diff -u pkgsrc/www/py-twill/PLIST:1.2 pkgsrc/www/py-twill/PLIST:1.3
--- pkgsrc/www/py-twill/PLIST:1.2       Mon Nov 14 19:29:38 2022
+++ pkgsrc/www/py-twill/PLIST   Tue Jan 16 14:13:55 2024
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2022/11/14 19:29:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/01/16 14:13:55 adam Exp $
 bin/twill-${PYVERSSUFFIX}
 bin/twill-fork-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/twill/__init__.py
 ${PYSITELIB}/twill/__init__.pyc
 ${PYSITELIB}/twill/__init__.pyo
@@ -55,9 +55,9 @@ ${PYSITELIB}/twill/extensions/match_pars
 ${PYSITELIB}/twill/extensions/require.py
 ${PYSITELIB}/twill/extensions/require.pyc
 ${PYSITELIB}/twill/extensions/require.pyo
-${PYSITELIB}/twill/extensions/shell_test_extension.py
-${PYSITELIB}/twill/extensions/shell_test_extension.pyc
-${PYSITELIB}/twill/extensions/shell_test_extension.pyo
+${PYSITELIB}/twill/extensions/shell_test.py
+${PYSITELIB}/twill/extensions/shell_test.pyc
+${PYSITELIB}/twill/extensions/shell_test.pyo
 ${PYSITELIB}/twill/fork.py
 ${PYSITELIB}/twill/fork.pyc
 ${PYSITELIB}/twill/fork.pyo
@@ -67,6 +67,7 @@ ${PYSITELIB}/twill/namespaces.pyo
 ${PYSITELIB}/twill/parse.py
 ${PYSITELIB}/twill/parse.pyc
 ${PYSITELIB}/twill/parse.pyo
+${PYSITELIB}/twill/py.typed
 ${PYSITELIB}/twill/shell.py
 ${PYSITELIB}/twill/shell.pyc
 ${PYSITELIB}/twill/shell.pyo

Index: pkgsrc/www/py-twill/distinfo
diff -u pkgsrc/www/py-twill/distinfo:1.5 pkgsrc/www/py-twill/distinfo:1.6
--- pkgsrc/www/py-twill/distinfo:1.5    Mon Nov 14 19:29:38 2022
+++ pkgsrc/www/py-twill/distinfo        Tue Jan 16 14:13:55 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2022/11/14 19:29:38 adam Exp $
+$NetBSD: distinfo,v 1.6 2024/01/16 14:13:55 adam Exp $
 
-BLAKE2s (twill-3.1.tar.gz) = 3b8090e17970ea5ebc659ba2916ddf03aee873b7a440f759f5f38cbee6b0b464
-SHA512 (twill-3.1.tar.gz) = e0f25d011bd70b8f26075febb6729198a07dda69b66bf460d1983e130f8598375f4d7e870afe4400ed2cb9d9341a148c2f03cefe538f654b58cd40d92b3e08fe
-Size (twill-3.1.tar.gz) = 82442 bytes
+BLAKE2s (twill-3.2.1.tar.gz) = 0665517099d0dbcf50aef310ccc71f38abaad144b6703e5cfd2bef1485383c47
+SHA512 (twill-3.2.1.tar.gz) = c04199087d2143c7576088a8f403d07fb120d6b29e449e688e48cb474617c1d31e20c8b6ff13bb00d0f69aef9952b571dfab4de229f8507c84cdc21aadc8e7dd
+Size (twill-3.2.1.tar.gz) = 88803 bytes



Home | Main Index | Thread Index | Old Index