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

Felix Yan felixonmars at archlinux.org
Mon May 10 22:47:27 UTC 2021


    Date: Monday, May 10, 2021 @ 22:47:26
  Author: felixonmars
Revision: 414961

archrelease: copy trunk to testing-any

Added:
  python-service-identity/repos/testing-any/
  python-service-identity/repos/testing-any/PKGBUILD
    (from rev 414960, python-service-identity/trunk/PKGBUILD)

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

Copied: python-service-identity/repos/testing-any/PKGBUILD (from rev 414960, python-service-identity/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2021-05-10 22:47:26 UTC (rev 414961)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-service-identity
+pkgver=21.1.0
+pkgrel=1
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/service_identity"
+depends=('python-attrs' 'python-pyasn1-modules' 'python-pyasn1' 'python-cryptography' 'python-six')
+makedepends=('python-setuptools' 'python-idna')
+checkdepends=('python-pytest-runner')
+optdepends=('python-idna: for Internationalized Domain Names support')
+source=("https://github.com/pyca/service-identity/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6375bc5e8329118b2beb163ffffecc1479839e4e98173576e4737deebcc4c057ac357315976d3f53a280defd4e2c1f6b74e9604ec1aa94144240c2fb4bf07461')
+
+build() {
+  cd service-identity-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd service-identity-$pkgver
+  python setup.py pytest
+}
+ 
+package() {
+  cd service-identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list