aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-bcrypt/APKBUILD
blob: 43360fd6dcb3239ea1f17c578f09f553a22f70f7 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           

                  
            
        


                                                                    
                    
                                                             


                                                                                          


                                                               
         

                              

 
         

                              


           

                                                               

 
                                                                                                                                                                      
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-bcrypt
_pkgname=bcrypt
pkgver=3.1.7
pkgrel=2
pkgdesc="Modern password hashing for your software and your servers"
url="https://github.com/pyca/bcrypt"
arch="all"
license="Apache-2.0"
makedepends="python3-dev py3-setuptools py3-wheel libffi-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/pyca/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-bcrypt" # Backwards compatibility
provides="py-bcrypt=$pkgver-r$pkgrel" # Backwards compatibility

check() {
	cd "$builddir"
	python3 setup.py check
}

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="bfe487ac43aa5081a16c7f67787c2aec777a9c42f3f0f64d4dd238e6cf135e248e806a675ecdc5240066e2b5a31773f9c5dd939479e96ec25357e27bced01409  py3-bcrypt-3.1.7.tar.gz"