pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-service_identity



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri May  5 09:02:12 UTC 2023

Modified Files:
        pkgsrc/security/py-service_identity: Makefile distinfo

Log Message:
py-service_identity: update to 21.1.0.

21.1.0 (2021-05-09)
-------------------

Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Python 3.4 is not supported anymore.
  It has been unsupported by the Python core team for a while now, its PyPI downloads are negligible, and our CI provider removed it as a supported option.

  It's very unlikely that ``service-identity`` will break under 3.4 anytime soon, which is why we do *not* block its installation on Python 3.4.
  But we don't test it anymore and will block it once someone reports breakage.

Changes:
^^^^^^^^

- ``service_identity.exceptions.VerificationError`` can now be pickled and is overall more well-behaved as an exception.
  This raises the requirement of ``attrs`` to 19.1.0.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/py-service_identity/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-service_identity/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-service_identity/Makefile
diff -u pkgsrc/security/py-service_identity/Makefile:1.10 pkgsrc/security/py-service_identity/Makefile:1.11
--- pkgsrc/security/py-service_identity/Makefile:1.10   Wed Oct 19 14:25:20 2022
+++ pkgsrc/security/py-service_identity/Makefile        Fri May  5 09:02:12 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2022/10/19 14:25:20 nia Exp $
+# $NetBSD: Makefile,v 1.11 2023/05/05 09:02:12 wiz Exp $
 
-DISTNAME=      service_identity-18.1.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+DISTNAME=      service-identity-21.1.0
+# to match previous pkgsrc name
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-/_/}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/service_identity/}
 
@@ -11,14 +11,22 @@ HOMEPAGE=   https://pypi.python.org/pypi/s
 COMMENT=       Service identity verification for pyOpenSSL
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
 DEPENDS+=      ${PYPKGPREFIX}-asn1-modules-[0-9]*:../../security/py-asn1-modules
-DEPENDS+=      ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-characteristic>=14.0.0:../../devel/py-characteristic
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=19.1.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+# optional, but let's depend on it
 DEPENDS+=      ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
+PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
 PYTHON_VERSIONED_DEPENDENCIES+=        OpenSSL
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-service_identity/distinfo
diff -u pkgsrc/security/py-service_identity/distinfo:1.7 pkgsrc/security/py-service_identity/distinfo:1.8
--- pkgsrc/security/py-service_identity/distinfo:1.7    Tue Oct 26 11:17:49 2021
+++ pkgsrc/security/py-service_identity/distinfo        Fri May  5 09:02:12 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:17:49 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/05/05 09:02:12 wiz Exp $
 
-BLAKE2s (service_identity-18.1.0.tar.gz) = a771ff0ba3548fef7bc463153f893f3483350988e0da0d553d1d7acd92696f3b
-SHA512 (service_identity-18.1.0.tar.gz) = c1556e385035a8d43fd0e3960c0396b9d2536c5e3c7450b3669c8c9b8ff60b6a9d2f0282dc30c1fb46034b4abcb0ff6d74ed79f6bcc33f59035988ccaf3324d2
-Size (service_identity-18.1.0.tar.gz) = 21653 bytes
+BLAKE2s (service-identity-21.1.0.tar.gz) = 54b28202f38c671a05437e055a5f3605ff7d247f4780fb56bbc0cb56837636cc
+SHA512 (service-identity-21.1.0.tar.gz) = 36a6f7cb30871bd38da865521503c622a70318f8c5cdc74b0565bdc292bb3b84682bf3afe050d007b21f27d0c54ba0bfe1cd71b63fb13fa42cbaef66cb115c2b
+Size (service-identity-21.1.0.tar.gz) = 40073 bytes



Home | Main Index | Thread Index | Old Index