summaryrefslogblamecommitdiff
path: root/user/py3-certifi/APKBUILD
blob: 01b338ea72e305475c1c869132f404f9c0eacc75 (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.3.9
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() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="d86559b0d384f8114245b169391c73d5e6df02ba411cf9706c9d4e5958eeef610b6550bcb5eb519856b8fa25f3f5eb1cea02c0df1f6df72e16da8201732b0dd9  certifi-2019.3.9.tar.gz
afa381a68bbf117fcebb4cd020d8134dcf7c641a3258231249804c4b66d1c2c59fafe2dc1e55f0ddc2e269ad5f49ab10b96fd73d243d7b1df78f15fe70f279e4  use-system-certs.patch"