[arch-commits] Commit in python-certifi/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:18:14 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:14
  Author: felixonmars
Revision: 1057956

archrelease: copy trunk to community-staging-any

Added:
  python-certifi/repos/community-staging-any/
  python-certifi/repos/community-staging-any/PKGBUILD
    (from rev 1057952, python-certifi/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-certifi/repos/community-staging-any/PKGBUILD (from rev 1057952, python-certifi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:18:14 UTC (rev 1057956)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: William J Bowman <bluephoenix47 at gmail.com>
+
+pkgname=python-certifi
+_libname=${pkgname/python-/}
+pkgver=2021.10.8
+pkgrel=2
+pkgdesc="Python package for providing Mozilla's CA Bundle"
+arch=(any)
+url="https://pypi.python.org/pypi/certifi"
+license=('GPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+sha512sums=('06dc41a471f16f6c52751854e82fb42011c9388651cff55761298b86ba437d431e6325ab039ef330f2b2c5f69f5ba43dc468e7ca3df205a8bb31468f43711fbe')
+
+build() {
+  cd "$srcdir/$_libname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$_libname-$pkgver"
+  python setup.py install --skip-build -O1 --root="$pkgdir"
+  install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list