* update python-certifi to 2024.12.14-1

This commit is contained in:
Alexander Baldeck 2025-01-02 13:15:21 +01:00
parent 940555993d
commit b0aa9ec147
2 changed files with 14 additions and 12 deletions

View File

@ -1,7 +1,7 @@
pkgbase = python-certifi
pkgdesc = Python package for providing Mozilla's CA Bundle (using system CA store)
pkgver = 2024.08.30
pkgrel = 3
pkgver = 2024.12.14
pkgrel = 1
url = https://github.com/certifi/python-certifi
arch = any
license = MPL-2.0
@ -12,8 +12,8 @@ pkgbase = python-certifi
makedepends = python-wheel
depends = ca-certificates
depends = python
source = https://github.com/certifi/python-certifi/archive/2024.08.30/python-certifi-2024.08.30.tar.gz
sha512sums = f3aed04d82abb59477b9aba8b8eb0dee689fffb56c116fcd26c4282e058eaa5f7344f714c2e7fba7fe25297f1e0215aa8c5caca9696cd3abda27a5f17d26d010
b2sums = 3d287a3f46802a8a447c9e8a758d6edf74e06954ed9f8a48cec80df96f8631a60c4f35aa34697224c2171a0808a07d63da9f635d5dee6db73da7e9d185003f32
source = https://github.com/certifi/python-certifi/archive/2024.12.14/python-certifi-2024.12.14.tar.gz
sha512sums = 787033daa69473cc272f79729f2c74946d7997a005e2b3455d3938171aa10c97d38c7fdfc51c296e64e7321dd82bd0ac19ad71b6ef3dbb8d96245fcfe7c3002a
b2sums = 037ab475d40dc47078687f68f0dc6db282e5b71373f58749b33e9b3a36632095f68ae7e9395657bed2361414b8224c65adb8fa102f8a9d9272d05bb951bbfff3
pkgname = python-certifi

View File

@ -1,12 +1,13 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: David Runge <dvzrv@archlinux.org>
# Maintainer: Carl Smedstad <carsme@archlinux.org>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: William J Bowman <bluephoenix47@gmail.com>
pkgname=python-certifi
pkgver=2024.08.30
pkgrel=3
pkgver=2024.12.14
pkgrel=1
pkgdesc="Python package for providing Mozilla's CA Bundle (using system CA store)"
arch=(any)
url="https://github.com/certifi/python-certifi"
@ -22,13 +23,14 @@ makedepends=(
python-wheel
)
checkdepends=(python-pytest)
source=($url/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('f3aed04d82abb59477b9aba8b8eb0dee689fffb56c116fcd26c4282e058eaa5f7344f714c2e7fba7fe25297f1e0215aa8c5caca9696cd3abda27a5f17d26d010')
b2sums=('3d287a3f46802a8a447c9e8a758d6edf74e06954ed9f8a48cec80df96f8631a60c4f35aa34697224c2171a0808a07d63da9f635d5dee6db73da7e9d185003f32')
source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('787033daa69473cc272f79729f2c74946d7997a005e2b3455d3938171aa10c97d38c7fdfc51c296e64e7321dd82bd0ac19ad71b6ef3dbb8d96245fcfe7c3002a')
b2sums=('037ab475d40dc47078687f68f0dc6db282e5b71373f58749b33e9b3a36632095f68ae7e9395657bed2361414b8224c65adb8fa102f8a9d9272d05bb951bbfff3')
prepare() {
cd $pkgname-$pkgver
# Use system CA store. Replacing the copy in the source tree so the test suite is actually run against it.
# Use system CA store. Replacing the copy in the source tree so the test
# suite is actually run against it.
ln -sf /etc/ssl/certs/ca-certificates.crt certifi/cacert.pem
# Our CA store has non-ASCII comments, but we are not packaging for JVM
# https://github.com/certifi/python-certifi/issues/50
@ -52,7 +54,7 @@ package() {
python -m installer --destdir="$pkgdir" dist/*.whl
# Replace CA store here again because the symlink was installed as a file
ln -sf /etc/ssl/certs/ca-certificates.crt "$pkgdir"/$site_packages/certifi/cacert.pem
ln -sf /etc/ssl/certs/ca-certificates.crt "$pkgdir/$site_packages/certifi/cacert.pem"
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}