pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-requests-mock



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Apr 18 07:13:20 UTC 2024

Modified Files:
        pkgsrc/devel/py-requests-mock: Makefile PLIST distinfo

Log Message:
py-requests-mock: updated to 1.12.1

1.12.1
Set python_requires to >3 to prevent installation in python2 deployments.

1.12.0
Update copyright year
Remove py2
Allow raw parameter to accept callable like body elements
Improve type definition of Mocker.__call__
Drop PBR Support
fix(mocker.pyi): fix Mocker class type hints
Remove unused six dependency


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-requests-mock/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-requests-mock/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-requests-mock/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-requests-mock/Makefile
diff -u pkgsrc/devel/py-requests-mock/Makefile:1.21 pkgsrc/devel/py-requests-mock/Makefile:1.22
--- pkgsrc/devel/py-requests-mock/Makefile:1.21 Tue Nov  7 22:38:00 2023
+++ pkgsrc/devel/py-requests-mock/Makefile      Thu Apr 18 07:13:20 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2023/11/07 22:38:00 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2024/04/18 07:13:20 adam Exp $
 
-DISTNAME=      requests-mock-1.11.0
+DISTNAME=      requests-mock-1.12.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
@@ -10,14 +10,13 @@ HOMEPAGE=   https://requests-mock.readthed
 COMMENT=       Mock out responses from the requests package
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.3:../../devel/py-requests
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-TOOL_DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=56:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.22:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
 TEST_DEPENDS+= ${PYPKGPREFIX}-purl-[0-9]*:../../www/py-purl
 TEST_DEPENDS+= ${PYPKGPREFIX}-requests-futures-[0-9]*:../../devel/py-requests-futures
 TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository
 
@@ -25,8 +24,5 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-requests-mock/PLIST
diff -u pkgsrc/devel/py-requests-mock/PLIST:1.5 pkgsrc/devel/py-requests-mock/PLIST:1.6
--- pkgsrc/devel/py-requests-mock/PLIST:1.5     Sat Jul  8 07:33:35 2023
+++ pkgsrc/devel/py-requests-mock/PLIST Thu Apr 18 07:13:20 2024
@@ -1,12 +1,10 @@
-@comment $NetBSD: PLIST,v 1.5 2023/07/08 07:33:35 adam Exp $
-${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}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.6 2024/04/18 07:13:20 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${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}/requests_mock/__init__.py
 ${PYSITELIB}/requests_mock/__init__.pyc
 ${PYSITELIB}/requests_mock/__init__.pyi
@@ -15,9 +13,6 @@ ${PYSITELIB}/requests_mock/adapter.py
 ${PYSITELIB}/requests_mock/adapter.pyc
 ${PYSITELIB}/requests_mock/adapter.pyi
 ${PYSITELIB}/requests_mock/adapter.pyo
-${PYSITELIB}/requests_mock/compat.py
-${PYSITELIB}/requests_mock/compat.pyc
-${PYSITELIB}/requests_mock/compat.pyo
 ${PYSITELIB}/requests_mock/contrib/__init__.py
 ${PYSITELIB}/requests_mock/contrib/__init__.pyc
 ${PYSITELIB}/requests_mock/contrib/__init__.pyo

Index: pkgsrc/devel/py-requests-mock/distinfo
diff -u pkgsrc/devel/py-requests-mock/distinfo:1.15 pkgsrc/devel/py-requests-mock/distinfo:1.16
--- pkgsrc/devel/py-requests-mock/distinfo:1.15 Sat Jul  8 07:33:35 2023
+++ pkgsrc/devel/py-requests-mock/distinfo      Thu Apr 18 07:13:20 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2023/07/08 07:33:35 adam Exp $
+$NetBSD: distinfo,v 1.16 2024/04/18 07:13:20 adam Exp $
 
-BLAKE2s (requests-mock-1.11.0.tar.gz) = 071f077178cfafdb62ce6b7d0a7c9632ad3c8bf4b460ae47122b92d6b48e5b1b
-SHA512 (requests-mock-1.11.0.tar.gz) = 8d161cb0f6183994053d4dd06b801c2614b7ac937798addcdc52ee8e3973a7ef874ca615ca1946ea4bc0e05ce36c5c813460f7a41b3254671095059536fd2961
-Size (requests-mock-1.11.0.tar.gz) = 74377 bytes
+BLAKE2s (requests-mock-1.12.1.tar.gz) = 5140f55bc79aac2603ac7c703ea207ed4cb12877e5b293180d39285d825ea82f
+SHA512 (requests-mock-1.12.1.tar.gz) = be1f4afa800811025e3c7b14a65759851ef2d56a3e4bf155368dc6772440fe0fcc5d01f62b1b029d0cabd7a57fe35074e3ba0791240f95f43b62109a00f96120
+Size (requests-mock-1.12.1.tar.gz) = 60901 bytes



Home | Main Index | Thread Index | Old Index