summaryrefslogblamecommitdiff
path: root/user/py3-certifi/APKBUILD
blob: 53eada11d9386ba7748b23f08cc8dbe3fe909bf9 (plain) (tree)
1
2
3
4
5
6
7
8

                                         

                        
                

                                                          
                                      


                           
                                 






                                                                                                         




                              


                                                               

                                                                                                                                                                      
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-certifi
_pkgname=${pkgname#py3-}
pkgver=2019.6.16
pkgrel=0
pkgdesc="Python package for providing Mozilla's CA Bundle"
url="https://pypi.org/project/certifi"
arch="noarch"
options="!check" # no tests
license="MPL-2.0"
depends="python3 ca-certificates"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	use-system-certs.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="4641626bc5073cd0b3a520855ddef1007dcb42933baa7a3469856f936e725581042bcbd5b67e984ba9748e7faa62b9125cba7dc160dcc5db2eafe46461a29f5e  certifi-2019.6.16.tar.gz
f9c7d953b08d6ef87bae07605e2c09e9de1d1e60285fa1f5043beeae1d9f00f3b70fdf598585cd350df2632e22c0197ea2e8b76127e2927ad53880b60b349c9c  use-system-certs.patch"