Date: Tuesday, March 6, 2018 @ 22:17:32
  Author: svenstaro
Revision: 303341

upgpkg: python-idna_ssl 1.0.1-1

Modified:
  python-idna_ssl/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-06 22:15:40 UTC (rev 303340)
+++ PKGBUILD    2018-03-06 22:17:32 UTC (rev 303341)
@@ -1,8 +1,8 @@
 # Maintainer: Sven-Hendrik Haase <svenst...@gmail.com>
 
 pkgname=python-idna_ssl
-pkgver=1.0.0
-pkgrel=2
+pkgver=1.0.1
+pkgrel=1
 pkgdesc="Patch ssl.match_hostname for Unicode(idna_ssl) domains support"
 arch=('any')
 license=('MIT')
@@ -9,25 +9,21 @@
 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')
+source=("https://github.com/aio-libs/idna-ssl/archive/v${pkgver}.tar.gz";)
+sha512sums=('04605ec681ca20a79cb928308d8f863e08973362cd59ba8cf00b010af3433805188269a3c1c7351b14c3ce924fd74eb706a660dece828232ce448247fd0cdf96')
 
-prepare() {
-  sed -i "s/aiohttp.*'/aiohttp==2.3.10'/" idna_ssl-$pkgver/setup.py
-}
-
 build() {
-  cd "$srcdir"/idna_ssl-$pkgver
+  cd "$srcdir"/idna-ssl-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/idna_ssl-$pkgver
+  cd "$srcdir"/idna-ssl-$pkgver
   python setup.py test
 }
 
 package() {
-  cd idna_ssl-$pkgver
+  cd idna-ssl-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

Reply via email to