This package is needed as an dependency for the kimchi aport.
Fixes on the kimchi aport will need this aport
---
testing/py-bcrypt/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 testing/py-bcrypt/APKBUILD
diff --git a/testing/py-bcrypt/APKBUILD b/testing/py-bcrypt/APKBUILD
new file mode 100644
index 0000000000..063f2062d7
--- /dev/null
+++ b/testing/py-bcrypt/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Andre Bierwolf <a.b.bierwolf@gmail.com>
+# Maintainer: Andre Bierwolf <a.b.bierwolf@gmail.com>
+pkgname=py-bcrypt
+_pkgname=bcrypt
+pkgver=3.1.3
+pkgrel=0
+pkgdesc="Modern password hashing for your software and your servers"
+url="https://pypi.python.org/pypi/bcrypt"
+arch="all"
+license="ASL 2.0"
+makedepends="python2-dev py-setuptools libressl-dev swig"
+subpackages="py2-${pkgname#py-}:_py2"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ python2 setup.py build
+}
+
+package() {
+ mkdir -p "$pkgdir"
+}
+
+_py2() {
+ depends="py2-typing"
+ replaces="$pkgname"
+ _py python2
+}
+
+_py3() {
+ _py python3
+}
+
+_py() {
+ local python="$1"
+ pkgdesc="$pkgdesc (for $python)"
+ install_if="$pkgname=$pkgver-r$pkgrel $python"
+
+ cd "$builddir"
+ $python setup.py install --prefix=/usr --root="$subpkgdir"
+}
+
+sha512sums="1fe80a156cd3707c27d4d3b6495caede3404acfdcd238d0461fdd83249601a0b0f2945e0f531dd4422f19e9cd47107245d8e40eb8b47b78e5c679e7e6b37a92c bcrypt-3.1.3.tar.gz"
--
2.13.2
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---