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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 20:15:51 UTC 2021


    Date: Friday, December 3, 2021 @ 20:15:51
  Author: felixonmars
Revision: 1064876

archrelease: copy trunk to community-staging-any

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

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

Copied: python-idna_ssl/repos/community-staging-any/PKGBUILD (from rev 1064875, python-idna_ssl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 20:15:51 UTC (rev 1064876)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-idna_ssl
+pkgver=1.1.0
+pkgrel=5
+pkgdesc="Patch ssl.match_hostname for Unicode(idna_ssl) domains support"
+arch=('any')
+license=('MIT')
+url="https://github.com/aio-libs/idna_ssl"
+depends=('python' 'python-idna')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-asyncio' 'python-aiohttp' 'python-pytest-cov')
+source=("https://github.com/aio-libs/idna-ssl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('01e58e9f32f7e02ef203edbd76e199916ea0b16d01a929ca2fb272d83988483c17e9c36e131f47bfba7f7b657bef9e2be222f81800716a5b87d5847c27cce34d')
+
+build() {
+  cd "$srcdir"/idna-ssl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/idna-ssl-$pkgver
+  pytest
+}
+
+package() {
+  cd idna-ssl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list