[crux-commits] ports/contrib (refs/remotes/origin/3.6): [notify] python3-cryptography: 3.3.1 -> 3.4.6 dependency changes: - python3-asn1crypto python3-idna python3-six + python3-setuptools-rust rust

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:46 UTC 2021


commit a30a2ff2716784c76d158e94d5eba533471f4ad6
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Mar 7 13:29:25 2021 +1100

    [notify] python3-cryptography: 3.3.1 -> 3.4.6 dependency changes: - python3-asn1crypto python3-idna python3-six + python3-setuptools-rust rust

diff --git a/python3-cryptography/.footprint b/python3-cryptography/.footprint
index 65d151788..498a22d21 100644
--- a/python3-cryptography/.footprint
+++ b/python3-cryptography/.footprint
@@ -2,13 +2,13 @@ drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/lib/
 drwxr-xr-x	root/root	usr/lib/python3.9/
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/
-drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/PKG-INFO
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/SOURCES.txt
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/dependency_links.txt
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/not-zip-safe
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/requires.txt
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.3.1-py3.9.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/not-zip-safe
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/requires.txt
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography-3.4.6-py3.9.egg-info/top_level.txt
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/__about__.py
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/__init__.py
@@ -34,8 +34,11 @@ drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycac
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycache__/_der.cpython-39.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycache__/_oid.cpython-39.opt-1.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycache__/_oid.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycache__/_types.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/__pycache__/_types.cpython-39.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/_der.py
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/_oid.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/_types.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/backends/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/backends/__init__.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/backends/__pycache__/
@@ -116,6 +119,7 @@ drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/binding
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/__pycache__/__init__.cpython-39.pyc
 -rwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
 -rwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/_padding.abi3.so
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/_rust.abi3.so
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/__init__.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/__pycache__/
@@ -132,6 +136,12 @@ drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primiti
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/__init__.cpython-39.opt-1.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/__init__.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_asymmetric.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_cipheralgorithm.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-39.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/_serialization.cpython-39.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/cmac.cpython-39.opt-1.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/cmac.cpython-39.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/constant_time.cpython-39.opt-1.pyc
@@ -146,6 +156,9 @@ drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primiti
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/padding.cpython-39.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-39.opt-1.pyc
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/poly1305.cpython-39.pyc
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/_asymmetric.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/_cipheralgorithm.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/_serialization.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/__init__.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/asymmetric/__pycache__/
@@ -259,6 +272,7 @@ drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primiti
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/twofactor/hotp.py
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/twofactor/totp.py
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/hazmat/primitives/twofactor/utils.py
+-rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/py.typed (EMPTY)
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/utils.py
 drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/cryptography/x509/
 -rw-r--r--	root/root	usr/lib/python3.9/site-packages/cryptography/x509/__init__.py
diff --git a/python3-cryptography/.signature b/python3-cryptography/.signature
index becc9906b..4512417c2 100644
--- a/python3-cryptography/.signature
+++ b/python3-cryptography/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF30mpwyWUHKQFP499x+lEpXujZRHQdKoUpPtYUeA3uAqY1wvAznZyZKyLMoxWkG615w51Kg8bPVrN6L+g328ItwQ=
-SHA256 (Pkgfile) = 1e9db4a603160795870315d1c86aafe33bb3088501734739f057693c0d23d223
-SHA256 (.footprint) = 94c43b5264d344f3b5a6d167c528d6f155e2032ddd0bb82854e99159e1313a79
-SHA256 (cryptography-3.3.1.tar.gz) = 7e177e4bea2de937a584b13645cab32f25e3d96fc0bc4a4cf99c27dc77682be6
+RWSagIOpLGJF3yiogzjb6qLooDXpnkMscu8bMu4JDi50Mx5yq80ETeRJhCUid25qLDq47unA56CQSHe7BOGcb3Em90A2IHCZXgA=
+SHA256 (Pkgfile) = 47e4268c42f5beb91091082471f4f51f3236a7abda0033e085cd8521c3c7b93b
+SHA256 (.footprint) = 4a11f45e54a0cc4c8694293df0959e730cda0150c97e83f37216cc42f3ae3611
+SHA256 (cryptography-3.4.6.tar.gz) = 2d32223e5b0ee02943f32b19245b61a62db83a882f0e76cc564e1cec60d48f87
diff --git a/python3-cryptography/Pkgfile b/python3-cryptography/Pkgfile
index e0c6a6aff..7770a26c5 100644
--- a/python3-cryptography/Pkgfile
+++ b/python3-cryptography/Pkgfile
@@ -1,14 +1,18 @@
 # Description: A package designed to expose cryptographic recipes and primitives to Python developers.
 # URL: https://pypi.org/project/cryptography/
 # Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: python3-asn1crypto python3-cffi python3-idna python3-six
+# Depends on: python3-cffi python3-setuptools-rust rust
 
 name=python3-cryptography
-version=3.3.1
+version=3.4.6
 release=1
 source=(https://pypi.python.org/packages/source/c/cryptography/cryptography-$version.tar.gz)
 
 build() {
+	prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
+	mkdir "$PKGMK_SOURCE_DIR/rust" || true
+	export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
+
 	cd ${name#*-}-$version
 	/usr/bin/python3 setup.py build
 	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build


More information about the crux-commits mailing list