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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 09:48:27 UTC 2019


    Date: Monday, November 4, 2019 @ 09:48:26
  Author: felixonmars
Revision: 523957

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 523956, python-idna_ssl/trunk/PKGBUILD)

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

Copied: python-idna_ssl/repos/community-staging-any/PKGBUILD (from rev 523956, python-idna_ssl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:48:26 UTC (rev 523957)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-idna_ssl
+pkgver=1.1.0
+pkgrel=3
+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')
+source=("https://github.com/aio-libs/idna-ssl/archive/v${pkgver}.tar.gz")
+sha512sums=('01e58e9f32f7e02ef203edbd76e199916ea0b16d01a929ca2fb272d83988483c17e9c36e131f47bfba7f7b657bef9e2be222f81800716a5b87d5847c27cce34d')
+
+build() {
+  cd "$srcdir"/idna-ssl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/idna-ssl-$pkgver
+  python setup.py test
+}
+
+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