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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:14:27 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:14:27
  Author: felixonmars
Revision: 429816

archrelease: copy trunk to staging-any

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

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

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 429814, python-service-identity/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-30 21:14:27 UTC (rev 429816)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-service-identity
+pkgver=21.1.0
+pkgrel=2
+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