33 lines
897 B
Bash
33 lines
897 B
Bash
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
|
|
|
_realname=certifi
|
|
pkgname="python-${_realname}"
|
|
pkgver=2022.12.7
|
|
pkgrel=2
|
|
pkgdesc="Python package for providing Mozilla's CA Bundle"
|
|
url='https://pypi.python.org/pypi/certifi'
|
|
license=('spdx:MPL-2.0')
|
|
arch=('any')
|
|
depends=("python")
|
|
makedepends=(
|
|
"python-setuptools"
|
|
"python-wheel"
|
|
"python-build"
|
|
"python-installer"
|
|
)
|
|
source=("https://pypi.io/packages/source/${_realname:0:1}/${_realname}/${_realname}-${pkgver}.tar.gz")
|
|
sha256sums=('35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
|
|
python -m build --wheel --skip-dependency-check --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
|
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
install -D -m644 LICENSE "${pkgdir}${MINGW_PREFIX}"/share/licenses/python-${_realname}/LICENSE
|
|
}
|