pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py27-cryptography



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun May  5 20:21:19 UTC 2024

Modified Files:
        pkgsrc/security/py27-cryptography: DESCR Makefile PLIST

Log Message:
py27-cryptography: convert to wheel.mk.

Despite the name, this package is only here because it builds
without Rust. We have no Python 2 users left in pkgsrc.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py27-cryptography/DESCR \
    pkgsrc/security/py27-cryptography/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/py27-cryptography/Makefile

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

Modified files:

Index: pkgsrc/security/py27-cryptography/DESCR
diff -u pkgsrc/security/py27-cryptography/DESCR:1.1 pkgsrc/security/py27-cryptography/DESCR:1.2
--- pkgsrc/security/py27-cryptography/DESCR:1.1 Thu Apr 21 10:48:49 2022
+++ pkgsrc/security/py27-cryptography/DESCR     Sun May  5 20:21:18 2024
@@ -6,4 +6,4 @@ cryptography includes both high level re
 interfaces to common cryptographic algorithms such as symmetric
 ciphers, message digests and key derivation functions.
 
-This package contains the branch supporting python 2.x.
+This package contains the last version that does not use Rust.
Index: pkgsrc/security/py27-cryptography/PLIST
diff -u pkgsrc/security/py27-cryptography/PLIST:1.1 pkgsrc/security/py27-cryptography/PLIST:1.2
--- pkgsrc/security/py27-cryptography/PLIST:1.1 Thu Apr 21 10:48:49 2022
+++ pkgsrc/security/py27-cryptography/PLIST     Sun May  5 20:21:18 2024
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2022/04/21 10:48:49 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/05/05 20:21:18 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.APACHE
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.BSD
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.PSF
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/cryptography/__about__.py
 ${PYSITELIB}/cryptography/__about__.pyc
 ${PYSITELIB}/cryptography/__about__.pyo
@@ -98,10 +101,8 @@ ${PYSITELIB}/cryptography/hazmat/backend
 ${PYSITELIB}/cryptography/hazmat/bindings/__init__.py
 ${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/bindings/__init__.pyo
-${PLIST.py3x}${PYSITELIB}/cryptography/hazmat/bindings/_openssl.abi3.so
-${PLIST.py2x}${PYSITELIB}/cryptography/hazmat/bindings/_openssl.so
-${PLIST.py3x}${PYSITELIB}/cryptography/hazmat/bindings/_padding.abi3.so
-${PLIST.py2x}${PYSITELIB}/cryptography/hazmat/bindings/_padding.so
+${PYSITELIB}/cryptography/hazmat/bindings/_openssl.abi3.so
+${PYSITELIB}/cryptography/hazmat/bindings/_padding.abi3.so
 ${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.py
 ${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyc
 ${PYSITELIB}/cryptography/hazmat/bindings/openssl/__init__.pyo

Index: pkgsrc/security/py27-cryptography/Makefile
diff -u pkgsrc/security/py27-cryptography/Makefile:1.10 pkgsrc/security/py27-cryptography/Makefile:1.11
--- pkgsrc/security/py27-cryptography/Makefile:1.10     Thu Jan  4 20:49:27 2024
+++ pkgsrc/security/py27-cryptography/Makefile  Sun May  5 20:21:18 2024
@@ -1,38 +1,29 @@
-# $NetBSD: Makefile,v 1.10 2024/01/04 20:49:27 triaxx Exp $
+# $NetBSD: Makefile,v 1.11 2024/05/05 20:21:18 wiz Exp $
 
 DISTNAME=      cryptography-3.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cryptography/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/pyca/cryptography
-COMMENT=       Cryptographic recipes and primitives for Python
+COMMENT=       Cryptographic recipes and primitives for Python (non-Rust version)
 LICENSE=       apache-2.0 OR modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-cffi>=0:../../devel/py-cffi
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
-# not available for python27
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
+TEST_DEPENDS+= ${PYPKGPREFIX}-cryptography_vectors-[0-9]*:../../security/py-cryptography_vectors
+TEST_DEPENDS+= ${PYPKGPREFIX}-iso8601-[0-9]*:../../time/py-iso8601
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis4
 
-PYTHON_VERSIONED_DEPENDENCIES= cffi
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-DEPENDS+=      ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
-.endif
-
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index