pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-mocket
Module Name: pkgsrc
Committed By: wiz
Date: Mon Nov 6 10:42:23 UTC 2023
Modified Files:
pkgsrc/devel/py-mocket: Makefile PLIST distinfo
Log Message:
py-mocket: update to 3.12.0.
3.12.0
Support for Python 3.12 (#204)
* Fix for Python 3.12
* Getting rid of Python 3.7, since it's not supported anymore.
* Precommit hooks' autoupdate.
* Disabling `aiohttp` for testing Python 3.12.
3.11.1
Replace aiohttp with httpx for a few tests by @mindflayer in #197
Fix for urllib2>=2 by @mindflayer in #201
3.11.0
Migrating the HTTP[S] mock from relying on http-parser to httptools.
Never discovered the root cause for the failing tests with
aiohttp/Python 3.11 (first time ever I added @pytest.mark.xfail
to a few tests). Same test works with httpx, so I suspect it's
related to a client issue. I'll probably migrate to httpx as
the reference client for testing async/await code.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-mocket/Makefile \
pkgsrc/devel/py-mocket/PLIST pkgsrc/devel/py-mocket/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-mocket/Makefile
diff -u pkgsrc/devel/py-mocket/Makefile:1.1 pkgsrc/devel/py-mocket/Makefile:1.2
--- pkgsrc/devel/py-mocket/Makefile:1.1 Wed Aug 24 12:52:40 2022
+++ pkgsrc/devel/py-mocket/Makefile Mon Nov 6 10:42:23 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2022/08/24 12:52:40 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/11/06 10:42:23 wiz Exp $
-DISTNAME= mocket-3.10.8
+DISTNAME= mocket-3.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mocket/}
@@ -10,22 +10,23 @@ HOMEPAGE= https://github.com/mindflayer/
COMMENT= Socket Mock Framework
LICENSE= modified-bsd
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-magic>=0.4.5:../../sysutils/py-magic
DEPENDS+= ${PYPKGPREFIX}-decorator>=4.0.0:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.25.3:../../www/py-urllib3
-DEPENDS+= ${PYPKGPREFIX}-http-parser>=0.9.0:../../www/py-http-parser
-TEST_DEPENDS+= ${PYPKGPREFIX}-aiohttp>=0:../../www/py-aiohttp
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-httptools>=0:../../www/py-httptools
# needs redis server as well
#TEST_DEPENDS+= ${PYPKGPREFIX}-redis>=0:../../databases/py-redis
+TEST_DEPENDS+= ${PYPKGPREFIX}-asgiref>=0:../../www/py-asgiref
TEST_DEPENDS+= ${PYPKGPREFIX}-gevent>=0:../../net/py-gevent
-TEST_DEPENDS+= ${PYPKGPREFIX}-sure>=0:../../devel/py-sure
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0:../../www/py-httpx
TEST_DEPENDS+= ${PYPKGPREFIX}-pook>=0:../../www/py-pook
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-sure>=0:../../devel/py-sure
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-mocket/PLIST
diff -u pkgsrc/devel/py-mocket/PLIST:1.1 pkgsrc/devel/py-mocket/PLIST:1.2
--- pkgsrc/devel/py-mocket/PLIST:1.1 Wed Aug 24 12:52:40 2022
+++ pkgsrc/devel/py-mocket/PLIST Mon Nov 6 10:42:23 2023
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2022/08/24 12:52:40 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/11/06 10:42:23 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/mocket/__init__.py
${PYSITELIB}/mocket/__init__.pyc
${PYSITELIB}/mocket/__init__.pyo
Index: pkgsrc/devel/py-mocket/distinfo
diff -u pkgsrc/devel/py-mocket/distinfo:1.1 pkgsrc/devel/py-mocket/distinfo:1.2
--- pkgsrc/devel/py-mocket/distinfo:1.1 Wed Aug 24 12:52:40 2022
+++ pkgsrc/devel/py-mocket/distinfo Mon Nov 6 10:42:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/08/24 12:52:40 wiz Exp $
+$NetBSD: distinfo,v 1.2 2023/11/06 10:42:23 wiz Exp $
-BLAKE2s (mocket-3.10.8.tar.gz) = a787a78d519b8d2c4a55191e2e41a09a5f2f092769666e42383facdcbfaa20d1
-SHA512 (mocket-3.10.8.tar.gz) = b9f59a016ba65a30ced4195d620531e6b0e3dabe72a019183f68343cb5f62be038bb6fddbf327ed56f4576d41e19c6fb7c6a31733fc2d1f2dd1203dce72809c2
-Size (mocket-3.10.8.tar.gz) = 77138 bytes
+BLAKE2s (mocket-3.12.0.tar.gz) = 32e968e4dce7befa793e1653a9541e1a916d645a6c1f78fec58ec94f9f847179
+SHA512 (mocket-3.12.0.tar.gz) = 3f9b636cc375033673ba55f0e372a48b5ee6f6e6fc39026a5624f2bf094431a405ec8e7c284c2d69c34d44d89d09a2821591e5b2dc6b34b408898940ac4e47d0
+Size (mocket-3.12.0.tar.gz) = 591080 bytes
Home |
Main Index |
Thread Index |
Old Index