mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 06:17:10 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
33 lines
978 B
Text
33 lines
978 B
Text
# Maintainer: Frank Oltmanns <alpine@oltmanns.dev>
|
|
pkgname=py3-pip-system-certs
|
|
pkgver=4.0
|
|
pkgrel=1
|
|
pkgdesc="Patches pip and requests at runtime to use certificates from the default system store"
|
|
url="https://pypi.org/project/pip-system-certs/"
|
|
arch="noarch"
|
|
license="BSD-2-Clause"
|
|
depends="py3-wrapt"
|
|
makedepends="
|
|
py3-git-versioner
|
|
py3-gpep517
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://gitlab.com/alelec/pip-system-certs/-/archive/v$pkgver/pip-system-certs-v$pkgver.tar.gz"
|
|
builddir="$srcdir/pip-system-certs-v$pkgver"
|
|
options="!check" # test suite installs/uninstalls using pip. Skip that.
|
|
|
|
build() {
|
|
GIT_VERSIONER_VERSION_PY=$pkgver \
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
6c583e0f8b61a774a78e0f561aa95717ed3e5735268bdd6a2767f0803697a3f7a64d132c9d1d5947a2bf06c220b9da4a10d4c31e8e523605422c4cbb7935a294 pip-system-certs-v4.0.tar.gz
|
|
"
|