pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-pook



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jan 14 15:34:05 UTC 2024

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

Log Message:
py-pook: updated to 1.4.0

v1.4.0 / 2023-12-29

Add support for httpx
Enable mocket integration tests for Python >= 3.11

v1.3.0 / 2023-12-25

This release modernizes Pook build and development environments.

Drop support for EOL'd Python versions (in other words, 3.6 and 3.7)
Use pyproject.toml
Use ruff to lint files
Use pre-commit to add pre-commit hooks
Use hatch to manage test, development, and build environments
Fix the test configuration to actually run the example tests
Fix the documentation build
Fix support for asynchronous functions in the activate decorator (this was a direct result of re-enabling the example tests and finding lots of little issues)
Remove all mention of the unsupported pycurl library
Clean up tests that can use pytest parametrize to do so (and get better debugging information during tests runs as a result)
Use pytest-pook to clean up a bunch of unnecessary test fixtures
Fix deprecation warning for invalid string escape sequences caused by untagged regex strings

v1.2.1 / 2023-12-23

Fix usage of regex values in header matchers
Fix urllib SSL handling

v1.2.0 / 2023-12-17

feat(api): add support for binary bodies
fix(urllib3): don't put non-strings into HTTP header dict
refactor: drop Python 3.5 support

v1.1.0 / 2023-01-01

chore(version): bump minor v1.1.0
Switch to Python >= 3.5 and fix latest aiohttp compatability
fix: remove print cal


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-pook/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-pook/PLIST pkgsrc/www/py-pook/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-pook/Makefile
diff -u pkgsrc/www/py-pook/Makefile:1.2 pkgsrc/www/py-pook/Makefile:1.3
--- pkgsrc/www/py-pook/Makefile:1.2     Wed Aug 24 12:50:12 2022
+++ pkgsrc/www/py-pook/Makefile Sun Jan 14 15:34:05 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2022/08/24 12:50:12 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2024/01/14 15:34:05 adam Exp $
 
-DISTNAME=      pook-1.0.2
+DISTNAME=      pook-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pook/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,21 +10,24 @@ HOMEPAGE=   https://github.com/h2non/pook
 COMMENT=       HTTP traffic mocking and expectations made easy
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-furl>=0.5.6:../../www/py-furl
-DEPENDS+=      ${PYPKGPREFIX}-xmltodict>=0.11.0:../../textproc/py-xmltodict
 DEPENDS+=      ${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.6.2:../../www/py-aiohttp
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.20.0:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.24.2:../../www/py-urllib3
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.3:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-xmltodict>=0.11.0:../../textproc/py-xmltodict
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.20.3:../../devel/py-test-asyncio
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-pook>=0.1.0b0:../../devel/py-test-pook
+
+USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 # as of 1.0.2
 # 2 failed, 31 passed, 14 warnings
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/egg.mk"
+post-extract:
+       ${MKDIR} ${WRKSRC}/src
+       ${MV} ${WRKSRC}/pook ${WRKSRC}/src/pook
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-pook/PLIST
diff -u pkgsrc/www/py-pook/PLIST:1.1 pkgsrc/www/py-pook/PLIST:1.2
--- pkgsrc/www/py-pook/PLIST:1.1        Wed Aug 24 12:48:05 2022
+++ pkgsrc/www/py-pook/PLIST    Sun Jan 14 15:34:05 2024
@@ -1,10 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2022/08/24 12:48:05 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/01/14 15:34:05 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/pook/__init__.py
 ${PYSITELIB}/pook/__init__.pyc
 ${PYSITELIB}/pook/__init__.pyo
@@ -38,6 +36,9 @@ ${PYSITELIB}/pook/helpers.pyo
 ${PYSITELIB}/pook/interceptors/__init__.py
 ${PYSITELIB}/pook/interceptors/__init__.pyc
 ${PYSITELIB}/pook/interceptors/__init__.pyo
+${PYSITELIB}/pook/interceptors/_httpx.py
+${PYSITELIB}/pook/interceptors/_httpx.pyc
+${PYSITELIB}/pook/interceptors/_httpx.pyo
 ${PYSITELIB}/pook/interceptors/aiohttp.py
 ${PYSITELIB}/pook/interceptors/aiohttp.pyc
 ${PYSITELIB}/pook/interceptors/aiohttp.pyo
@@ -47,9 +48,6 @@ ${PYSITELIB}/pook/interceptors/base.pyo
 ${PYSITELIB}/pook/interceptors/http.py
 ${PYSITELIB}/pook/interceptors/http.pyc
 ${PYSITELIB}/pook/interceptors/http.pyo
-${PYSITELIB}/pook/interceptors/pycurl.py
-${PYSITELIB}/pook/interceptors/pycurl.pyc
-${PYSITELIB}/pook/interceptors/pycurl.pyo
 ${PYSITELIB}/pook/interceptors/urllib3.py
 ${PYSITELIB}/pook/interceptors/urllib3.pyc
 ${PYSITELIB}/pook/interceptors/urllib3.pyo
Index: pkgsrc/www/py-pook/distinfo
diff -u pkgsrc/www/py-pook/distinfo:1.1 pkgsrc/www/py-pook/distinfo:1.2
--- pkgsrc/www/py-pook/distinfo:1.1     Wed Aug 24 12:48:05 2022
+++ pkgsrc/www/py-pook/distinfo Sun Jan 14 15:34:05 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/08/24 12:48:05 wiz Exp $
+$NetBSD: distinfo,v 1.2 2024/01/14 15:34:05 adam Exp $
 
-BLAKE2s (pook-1.0.2.tar.gz) = 9db8fa69a00501a43ae1b181675527841d6c3ff3762fbb35d6d43e930e5f117b
-SHA512 (pook-1.0.2.tar.gz) = 9d5d87e27e292acf93df7d90942d4b7f5b0fa56fe8355c3f3b3595bf4e1f8f167785e018046c856d21546eefe79d6713962a17275091fecc302032366a298f07
-Size (pook-1.0.2.tar.gz) = 42069 bytes
+BLAKE2s (pook-1.4.0.tar.gz) = 4cb1bd4e9177489dc83337514cc4cfcef2cb373c4089205a8f7847f07a0c563a
+SHA512 (pook-1.4.0.tar.gz) = b8c9b6b239333be3d81728199febe882f61cccd94b1af22195ff7d6f5cee93ddbd41661ea0263e12726f2fe73da5840c4846376042c58536dae6ca245972cc23
+Size (pook-1.4.0.tar.gz) = 30736 bytes



Home | Main Index | Thread Index | Old Index