summaryrefslogtreecommitdiff
path: root/python3-cryptography/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-03-07 13:29:25 +1100
committerDanny Rawlins <contact@romster.me>2021-03-07 13:29:25 +1100
commita30a2ff2716784c76d158e94d5eba533471f4ad6 (patch)
tree6ffa2f22a555cf5f6fb6381d2eee074ac4de8f19 /python3-cryptography/Pkgfile
parentfbc8a06e4bc6833a1352f20cc0d8a75e628f97fe (diff)
downloadcontrib-a30a2ff2716784c76d158e94d5eba533471f4ad6.tar.gz
contrib-a30a2ff2716784c76d158e94d5eba533471f4ad6.tar.xz
[notify] python3-cryptography: 3.3.1 -> 3.4.6 dependency changes: - python3-asn1crypto python3-idna python3-six + python3-setuptools-rust rust
Diffstat (limited to 'python3-cryptography/Pkgfile')
-rw-r--r--python3-cryptography/Pkgfile8
1 files changed, 6 insertions, 2 deletions
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

Generated by cgit