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

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 17:35:32 UTC 2018


    Date: Saturday, June 30, 2018 @ 17:35:32
  Author: foutrelis
Revision: 348652

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

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

Copied: python-idna_ssl/repos/community-staging-any/PKGBUILD (from rev 348651, python-idna_ssl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 17:35:32 UTC (rev 348652)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-idna_ssl
+pkgver=1.0.1
+pkgrel=2
+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=('04605ec681ca20a79cb928308d8f863e08973362cd59ba8cf00b010af3433805188269a3c1c7351b14c3ce924fd74eb706a660dece828232ce448247fd0cdf96')
+
+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