Skip to content

Commit f991fef

Browse files
committed
service_identity: update to 23.1.0.
## [23.1.0](pyca/service-identity@21.1.0...23.1.0) - 2023-06-14 ### Removed - All Python versions up to and including 3.7 have been dropped. - Support for `commonName` in certificates has been dropped. It has been deprecated since 2017 and isn't supported by any major browser. - The oldest supported pyOpenSSL version (when using the `pyopenssl` backend) is now 17.0.0. When using such an old pyOpenSSL version, you have to pin *cryptography* yourself to ensure compatibility between them. Please check out [`contraints/oldest-pyopenssl.txt`](https://github.com/pyca/service-identity/blob/main/tests/constraints/oldest-pyopenssl.txt) to verify what we are testing against. ### Deprecated - If you've used `service_identity.(cryptography|pyopenssl).extract_ids()`, please switch to the new names `extract_patterns()`. [#56](pyca/service-identity#56) ### Added - `service_identity.(cryptography|pyopenssl).extract_patterns()` are now public APIs (FKA `extract_ids()`). You can use them to extract the patterns from a certificate without verifying anything. [#55](pyca/service-identity#55) - *service-identity* is now fully typed. [#57](pyca/service-identity#57)
1 parent 17fb79e commit f991fef

File tree

3 files changed

+23
-28
lines changed

3 files changed

+23
-28
lines changed

security/py-service_identity/Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# $NetBSD: Makefile,v 1.11 2023/05/05 09:02:12 wiz Exp $
1+
# $NetBSD: Makefile,v 1.12 2023/07/01 11:29:20 wiz Exp $
22

3-
DISTNAME= service-identity-21.1.0
4-
# to match previous pkgsrc name
5-
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-/_/}
3+
DISTNAME= service_identity-23.1.0
64
CATEGORIES= security python
75
MASTER_SITES= ${MASTER_SITE_PYPI:=s/service_identity/}
86

@@ -11,6 +9,9 @@ HOMEPAGE= https://pypi.python.org/pypi/service_identity
119
COMMENT= Service identity verification for pyOpenSSL
1210
LICENSE= mit
1311

12+
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
14+
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme-[0-9]*:../../devel/py-hatch-fancy-pypi-readme
1415
DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
1516
DEPENDS+= ${PYPKGPREFIX}-asn1-modules-[0-9]*:../../security/py-asn1-modules
1617
DEPENDS+= ${PYPKGPREFIX}-attrs>=19.1.0:../../devel/py-attrs
@@ -19,13 +20,13 @@ DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
1920
DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
2021
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
2122

22-
PYTHON_VERSIONS_INCOMPATIBLE= 27
23+
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
2324

24-
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
25+
# needs 'make install'
2526
do-test:
2627
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
2728

28-
.include "../../lang/python/egg.mk"
29+
.include "../../lang/python/wheel.mk"
2930
PYTHON_VERSIONED_DEPENDENCIES+= cryptography
3031
PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL
3132
.include "../../lang/python/versioned_dependencies.mk"

security/py-service_identity/PLIST

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
@comment $NetBSD: PLIST,v 1.3 2017/05/29 11:22:51 wiz Exp $
2-
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3-
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4-
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5-
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
6-
${PYSITELIB}/${EGG_INFODIR}/requires.txt
7-
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
1+
@comment $NetBSD: PLIST,v 1.4 2023/07/01 11:29:20 wiz Exp $
2+
${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
3+
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
4+
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
5+
${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
6+
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
7+
${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
8+
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
89
${PYSITELIB}/service_identity/__init__.py
910
${PYSITELIB}/service_identity/__init__.pyc
10-
${PYSITELIB}/service_identity/__init__.pyo
11-
${PYSITELIB}/service_identity/_common.py
12-
${PYSITELIB}/service_identity/_common.pyc
13-
${PYSITELIB}/service_identity/_common.pyo
14-
${PYSITELIB}/service_identity/_compat.py
15-
${PYSITELIB}/service_identity/_compat.pyc
16-
${PYSITELIB}/service_identity/_compat.pyo
1711
${PYSITELIB}/service_identity/cryptography.py
1812
${PYSITELIB}/service_identity/cryptography.pyc
19-
${PYSITELIB}/service_identity/cryptography.pyo
2013
${PYSITELIB}/service_identity/exceptions.py
2114
${PYSITELIB}/service_identity/exceptions.pyc
22-
${PYSITELIB}/service_identity/exceptions.pyo
15+
${PYSITELIB}/service_identity/hazmat.py
16+
${PYSITELIB}/service_identity/hazmat.pyc
17+
${PYSITELIB}/service_identity/py.typed
2318
${PYSITELIB}/service_identity/pyopenssl.py
2419
${PYSITELIB}/service_identity/pyopenssl.pyc
25-
${PYSITELIB}/service_identity/pyopenssl.pyo
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.8 2023/05/05 09:02:12 wiz Exp $
1+
$NetBSD: distinfo,v 1.9 2023/07/01 11:29:20 wiz Exp $
22

3-
BLAKE2s (service-identity-21.1.0.tar.gz) = 54b28202f38c671a05437e055a5f3605ff7d247f4780fb56bbc0cb56837636cc
4-
SHA512 (service-identity-21.1.0.tar.gz) = 36a6f7cb30871bd38da865521503c622a70318f8c5cdc74b0565bdc292bb3b84682bf3afe050d007b21f27d0c54ba0bfe1cd71b63fb13fa42cbaef66cb115c2b
5-
Size (service-identity-21.1.0.tar.gz) = 40073 bytes
3+
BLAKE2s (service_identity-23.1.0.tar.gz) = b484afc1fcc1f6c280d43231d3c3c3aa40dfb286b39f17cd70a11957ddd18939
4+
SHA512 (service_identity-23.1.0.tar.gz) = bc53f563050811a2b40dbfcf1e0a1b1b5677e2b48ed4e94e37d29735baea49ed7a7099d656444c0054fa2c23ae96026e67919cf24b01a3ae6b3549fd25dfe4d1
5+
Size (service_identity-23.1.0.tar.gz) = 39840 bytes

0 commit comments

Comments
 (0)