aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-12-07 19:04:29 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-12-07 19:05:55 +0000
commitd0a2b85aee80ec36e69b1e50ce5c5283def72d83 (patch)
treef22f94a8a786b6e5c0d70cdbe497e4914564d4e4
parent9b144993f019f354bea0aa533eb30ed7b455ba76 (diff)
downloadaports-d0a2b85aee80ec36e69b1e50ce5c5283def72d83.tar.bz2
aports-d0a2b85aee80ec36e69b1e50ce5c5283def72d83.tar.xz
community/py3-pycryptodome: install as independent library
By default, pycryptodome installs as a drop-in replacement for pycrypto, but this causes conflict when installing both. For now, install as an independent library so that they can co-exist. Fixes #10963
-rw-r--r--community/py3-pycryptodome/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/py3-pycryptodome/APKBUILD b/community/py3-pycryptodome/APKBUILD
index 003bf2274d..4a4c96626d 100644
--- a/community/py3-pycryptodome/APKBUILD
+++ b/community/py3-pycryptodome/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-pycryptodome
pkgver=3.9.4
-pkgrel=0
+pkgrel=1
pkgdesc="Self-contained cryptographic library"
url="https://www.pycryptodome.org"
arch="all"
@@ -14,6 +14,10 @@ builddir="$srcdir"/pycryptodome-$pkgver
replaces="py-pycryptodome" # Backwards compatibility
provides="py-pycryptodome=$pkgver-r$pkgrel" # Backwards compatibility
+prepare() {
+ touch "$builddir"/.separate_namespace
+}
+
build() {
python3 setup.py --quiet build
}