blob: a6719529383722574d6430c097dae8d6dbd496e5 (
plain) (
tree)
|
|
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-certifi
_pkgname=${pkgname#py3-}
pkgver=2018.11.29
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="6a6bf1ff98caefcdbf78a8c83e11e155368bacdd806f0ae0c6afa8f513667df6598e594b3584de61acdca3d6049f4a776937f2aa8672b602bd6db7b737f6074e certifi-2018.11.29.tar.gz
1de38c55102b41bc91870b4810de89d8b0cffd61ba14257fe6c8445173b8b44153f2736050772eb63dd0a755890afe0f2d27516bbd39f05bf4016a4e29eebb67 use-system-certs.patch"
|