[arch-commits] Commit in python-idna_ssl/repos/community-any (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue Mar 6 22:17:42 UTC 2018
Date: Tuesday, March 6, 2018 @ 22:17:40
Author: svenstaro
Revision: 303342
archrelease: copy trunk to community-any
Added:
python-idna_ssl/repos/community-any/PKGBUILD
(from rev 303341, python-idna_ssl/trunk/PKGBUILD)
Deleted:
python-idna_ssl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 29 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-06 22:17:32 UTC (rev 303341)
+++ PKGBUILD 2018-03-06 22:17:40 UTC (rev 303342)
@@ -1,33 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-
-pkgname=python-idna_ssl
-pkgver=1.0.0
-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://pypi.io/packages/source/i/idna_ssl/idna_ssl-$pkgver.tar.gz")
-sha512sums=('d1f7479cc3edff164bb26deb05af757906ba91241bc668f1b087560087a89f741a0b36e166bfb8142128ceed6008621ab36a2556ed2304ea6374c19982bc663a')
-
-prepare() {
- sed -i "s/aiohttp.*'/aiohttp==2.3.10'/" idna_ssl-$pkgver/setup.py
-}
-
-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
-}
Copied: python-idna_ssl/repos/community-any/PKGBUILD (from rev 303341, python-idna_ssl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-06 22:17:40 UTC (rev 303342)
@@ -0,0 +1,29 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=python-idna_ssl
+pkgver=1.0.1
+pkgrel=1
+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