[arch-commits] Commit in (49 files)

Eli Schwartz eschwartz at archlinux.org
Tue Dec 26 02:22:11 UTC 2017


    Date: Tuesday, December 26, 2017 @ 02:22:10
  Author: eschwartz
Revision: 276082

Fix several packages failing to build from source.

ALso update urls to HTTPS where possible, and general cleanliness.

Added:
  pyrss/repos/community-any/dont-import-psyco.patch
  pyrss/trunk/dont-import-psyco.patch
Modified:
  pyrss/repos/community-any/PKGBUILD
  pyrss/trunk/PKGBUILD
  python-anyjson/repos/community-any/PKGBUILD
  python-anyjson/trunk/PKGBUILD
  python-apipkg/repos/community-any/PKGBUILD
  python-apipkg/trunk/PKGBUILD
  python-blinker/repos/community-any/PKGBUILD
  python-blinker/trunk/PKGBUILD
  python-characteristic/repos/community-any/PKGBUILD
  python-characteristic/trunk/PKGBUILD
  python-d2to1/repos/community-any/PKGBUILD
  python-d2to1/trunk/PKGBUILD
  python-ecdsa/repos/community-any/PKGBUILD
  python-ecdsa/trunk/PKGBUILD
  python-levenshtein/repos/community-x86_64/PKGBUILD
  python-levenshtein/trunk/PKGBUILD
  python-librabbitmq/repos/community-x86_64/PKGBUILD
  python-librabbitmq/trunk/PKGBUILD
  python-mock/repos/community-any/PKGBUILD
  python-mock/trunk/PKGBUILD
  python-paste/repos/community-any/PKGBUILD
  python-paste/trunk/PKGBUILD
  python-prettytable/repos/community-any/PKGBUILD
  python-prettytable/trunk/PKGBUILD
  python-pyamf/repos/community-x86_64/PKGBUILD
  python-pyamf/trunk/PKGBUILD
  python2-iniparse/trunk/PKGBUILD
  python2-oauth/repos/community-any/PKGBUILD
  python2-oauth/trunk/PKGBUILD
  python2-openid/repos/community-any/PKGBUILD
  python2-openid/trunk/PKGBUILD
  python2-pam/repos/community-any/PKGBUILD
  python2-pam/trunk/PKGBUILD
  python2-pathlib/repos/community-any/PKGBUILD
  python2-pathlib/trunk/PKGBUILD
  python2-tagpy/repos/community-x86_64/PKGBUILD
  python2-tagpy/trunk/PKGBUILD
  wput/repos/community-x86_64/PKGBUILD
  wput/trunk/PKGBUILD
  xchm/repos/community-x86_64/PKGBUILD
  xchm/trunk/PKGBUILD
  xfe/repos/community-x86_64/PKGBUILD
  xfe/trunk/PKGBUILD
  xmpppy/repos/community-any/PKGBUILD
  xmpppy/trunk/PKGBUILD
  yagf/repos/community-x86_64/PKGBUILD
  yagf/trunk/PKGBUILD

----------------------------------------------------+
 pyrss/repos/community-any/PKGBUILD                 |   43 ++++++-------------
 pyrss/repos/community-any/dont-import-psyco.patch  |   14 ++++++
 pyrss/trunk/PKGBUILD                               |   27 +++--------
 pyrss/trunk/dont-import-psyco.patch                |   14 ++++++
 python-anyjson/repos/community-any/PKGBUILD        |    2 
 python-anyjson/trunk/PKGBUILD                      |    4 -
 python-apipkg/repos/community-any/PKGBUILD         |    5 --
 python-apipkg/trunk/PKGBUILD                       |    5 --
 python-blinker/repos/community-any/PKGBUILD        |    2 
 python-blinker/trunk/PKGBUILD                      |    4 -
 python-characteristic/repos/community-any/PKGBUILD |   12 ++---
 python-characteristic/trunk/PKGBUILD               |    4 -
 python-d2to1/repos/community-any/PKGBUILD          |    2 
 python-d2to1/trunk/PKGBUILD                        |    2 
 python-ecdsa/repos/community-any/PKGBUILD          |    2 
 python-ecdsa/trunk/PKGBUILD                        |    2 
 python-levenshtein/repos/community-x86_64/PKGBUILD |    2 
 python-levenshtein/trunk/PKGBUILD                  |    4 -
 python-librabbitmq/repos/community-x86_64/PKGBUILD |    2 
 python-librabbitmq/trunk/PKGBUILD                  |    4 -
 python-mock/repos/community-any/PKGBUILD           |    2 
 python-mock/trunk/PKGBUILD                         |    2 
 python-paste/repos/community-any/PKGBUILD          |    2 
 python-paste/trunk/PKGBUILD                        |    2 
 python-prettytable/repos/community-any/PKGBUILD    |    2 
 python-prettytable/trunk/PKGBUILD                  |    8 +--
 python-pyamf/repos/community-x86_64/PKGBUILD       |    2 
 python-pyamf/trunk/PKGBUILD                        |    2 
 python2-iniparse/trunk/PKGBUILD                    |   10 ++--
 python2-oauth/repos/community-any/PKGBUILD         |    2 
 python2-oauth/trunk/PKGBUILD                       |    4 -
 python2-openid/repos/community-any/PKGBUILD        |    2 
 python2-openid/trunk/PKGBUILD                      |    4 -
 python2-pam/repos/community-any/PKGBUILD           |    4 -
 python2-pam/trunk/PKGBUILD                         |    6 --
 python2-pathlib/repos/community-any/PKGBUILD       |    4 -
 python2-pathlib/trunk/PKGBUILD                     |    6 +-
 python2-tagpy/repos/community-x86_64/PKGBUILD      |    4 -
 python2-tagpy/trunk/PKGBUILD                       |    4 -
 wput/repos/community-x86_64/PKGBUILD               |   16 +++----
 wput/trunk/PKGBUILD                                |    2 
 xchm/repos/community-x86_64/PKGBUILD               |    4 -
 xchm/trunk/PKGBUILD                                |    2 
 xfe/repos/community-x86_64/PKGBUILD                |   10 ++--
 xfe/trunk/PKGBUILD                                 |    2 
 xmpppy/repos/community-any/PKGBUILD                |   12 ++---
 xmpppy/trunk/PKGBUILD                              |    2 
 yagf/repos/community-x86_64/PKGBUILD               |   14 +++---
 yagf/trunk/PKGBUILD                                |   10 ++--
 49 files changed, 149 insertions(+), 153 deletions(-)

Modified: pyrss/repos/community-any/PKGBUILD
===================================================================
--- pyrss/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ pyrss/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,13 +11,15 @@
 license=("GPL")
 depends=(python2 python2-pyxmpp python2-feedparser mysql-python)
 backup=(etc/ejabberd/pyrss.xml)
-source=(http://archlinux-stuff.googlecode.com/files/pyrss-$pkgver.tar.bz2
-	pyrss.service)
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyrss/pyrss-$pkgver.tar.bz2
+        pyrss.service
+        dont-import-psyco.patch)
 md5sums=('3f48f3b7f36c2c588b8d55a5841482ab'
-         '1fbbcc50f4b8ca5d8db1d3adffb5e42e')
+         '1fbbcc50f4b8ca5d8db1d3adffb5e42e'
+         'a9b8e3e3f1524d852b270acef5cd27f6')
 
 package() {
-    cd $srcdir
+    cd "$srcdir"
 
     # python2 fix
     for file in $(find . -name '*.py' -print); do
@@ -25,31 +27,16 @@
         sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
     done
     sed -i 's|python pyrss.py|python2 pyrss.py|g' $pkgname-$pkgver/start.py
-    patch $pkgname-$pkgver/pyrss.py <<EOF
---- pyrss.py.org	2005-08-30 23:54:40.000000000 +0400
-+++ pyrss.py	2012-05-03 17:08:39.000000000 +0400
-@@ -10,11 +10,6 @@
- 
- # Added by St. Hermann <sh at sourcecode.de>
- 
--try: 
--    import psyco
--    psyco.full()
--finally:
--    pass
- from optparse import OptionParser
- import sys
- import logging
-EOF
+    patch $pkgname-$pkgver/pyrss.py < dont-import-psyco.patch
 
-    install -d -m0755 $pkgdir/usr/lib
-    cp -r $pkgname-$pkgver $pkgdir/usr/lib
-    mv $pkgdir/usr/lib/$pkgname-$pkgver $pkgdir/usr/lib/$pkgname
+    install -d -m0755 "$pkgdir"/usr/lib
+    cp -r $pkgname-$pkgver "$pkgdir"/usr/lib
+    mv "$pkgdir"/usr/lib/$pkgname-$pkgver "$pkgdir"/usr/lib/$pkgname
 
-    install -d -m0755 $pkgdir/etc/ejabberd
-    mv $pkgdir/usr/lib/$pkgname/pyrss.xml $pkgdir/etc/ejabberd/pyrss.xml
-    sed -i 's#/etc/jabber/pyrss.xml#/etc/ejabberd/pyrss.xml#' $pkgdir/usr/lib/$pkgname/contrib/auth.py
-    sed -i 's#/etc/jabber/pyrss.xml#/etc/ejabberd/pyrss.xml#' $pkgdir/usr/lib/$pkgname/pyrss.py
+    install -d -m0755 "$pkgdir"/etc/ejabberd
+    mv "$pkgdir"/usr/lib/$pkgname/pyrss.xml "$pkgdir"/etc/ejabberd/pyrss.xml
+    sed -i 's#/etc/jabber/pyrss.xml#/etc/ejabberd/pyrss.xml#' "$pkgdir"/usr/lib/$pkgname/contrib/auth.py
+    sed -i 's#/etc/jabber/pyrss.xml#/etc/ejabberd/pyrss.xml#' "$pkgdir"/usr/lib/$pkgname/pyrss.py
 
-    install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+    install -Dm0644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
 }

Added: pyrss/repos/community-any/dont-import-psyco.patch
===================================================================
--- pyrss/repos/community-any/dont-import-psyco.patch	                        (rev 0)
+++ pyrss/repos/community-any/dont-import-psyco.patch	2017-12-26 02:22:10 UTC (rev 276082)
@@ -0,0 +1,14 @@
+--- pyrss.py.org	2005-08-30 23:54:40.000000000 +0400
++++ pyrss.py	2012-05-03 17:08:39.000000000 +0400
+@@ -10,11 +10,6 @@
+ 
+ # Added by St. Hermann <sh at sourcecode.de>
+ 
+-try: 
+-    import psyco
+-    psyco.full()
+-finally:
+-    pass
+ from optparse import OptionParser
+ import sys
+ import logging

Modified: pyrss/trunk/PKGBUILD
===================================================================
--- pyrss/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ pyrss/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -7,14 +7,16 @@
 pkgrel=13
 pkgdesc="jabber rss transport"
 arch=(any)
-url="http://code.google.com/p/pyrss/"
+url="https://code.google.com/archive/p/pyrss/"
 license=("GPL")
 depends=(python2 python2-pyxmpp python2-feedparser mysql-python)
 backup=(etc/ejabberd/pyrss.xml)
-source=(http://archlinux-stuff.googlecode.com/files/pyrss-$pkgver.tar.bz2
-	pyrss.service)
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pyrss/pyrss-$pkgver.tar.bz2
+        pyrss.service
+        dont-import-psyco.patch)
 md5sums=('3f48f3b7f36c2c588b8d55a5841482ab'
-         '1fbbcc50f4b8ca5d8db1d3adffb5e42e')
+         '1fbbcc50f4b8ca5d8db1d3adffb5e42e'
+         'a9b8e3e3f1524d852b270acef5cd27f6')
 
 package() {
     cd "$srcdir"
@@ -25,22 +27,7 @@
         sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
     done
     sed -i 's|python pyrss.py|python2 pyrss.py|g' $pkgname-$pkgver/start.py
-    patch $pkgname-$pkgver/pyrss.py <<EOF
---- pyrss.py.org	2005-08-30 23:54:40.000000000 +0400
-+++ pyrss.py	2012-05-03 17:08:39.000000000 +0400
-@@ -10,11 +10,6 @@
- 
- # Added by St. Hermann <sh at sourcecode.de>
- 
--try: 
--    import psyco
--    psyco.full()
--finally:
--    pass
- from optparse import OptionParser
- import sys
- import logging
-EOF
+    patch $pkgname-$pkgver/pyrss.py < dont-import-psyco.patch
 
     install -d -m0755 "$pkgdir"/usr/lib
     cp -r $pkgname-$pkgver "$pkgdir"/usr/lib

Added: pyrss/trunk/dont-import-psyco.patch
===================================================================
--- pyrss/trunk/dont-import-psyco.patch	                        (rev 0)
+++ pyrss/trunk/dont-import-psyco.patch	2017-12-26 02:22:10 UTC (rev 276082)
@@ -0,0 +1,14 @@
+--- pyrss.py.org	2005-08-30 23:54:40.000000000 +0400
++++ pyrss.py	2012-05-03 17:08:39.000000000 +0400
+@@ -10,11 +10,6 @@
+ 
+ # Added by St. Hermann <sh at sourcecode.de>
+ 
+-try: 
+-    import psyco
+-    psyco.full()
+-finally:
+-    pass
+ from optparse import OptionParser
+ import sys
+ import logging

Modified: python-anyjson/repos/community-any/PKGBUILD
===================================================================
--- python-anyjson/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-anyjson/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 url="http://pypi.python.org/pypi/$_pypiname"
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/a/$_pypiname/$_pypiname-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/a/$_pypiname/$_pypiname-${pkgver}.tar.gz")
 md5sums=('2ea28d6ec311aeeebaf993cb3008b27c')
 
 prepare() {

Modified: python-anyjson/trunk/PKGBUILD
===================================================================
--- python-anyjson/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-anyjson/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -10,10 +10,10 @@
 pkgrel=8
 pkgdesc="Wraps the best available JSON implementation available in a common interface"
 arch=(any)
-url="http://pypi.python.org/pypi/$_pypiname"
+url="https://pypi.python.org/pypi/$_pypiname"
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/a/$_pypiname/$_pypiname-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/a/$_pypiname/$_pypiname-${pkgver}.tar.gz")
 md5sums=('2ea28d6ec311aeeebaf993cb3008b27c')
 
 prepare() {

Modified: python-apipkg/repos/community-any/PKGBUILD
===================================================================
--- python-apipkg/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-apipkg/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -8,10 +8,10 @@
 pkgdesc="Namespace control and lazy-import mechanism"
 arch=('any')
 license=('MIT')
-url=" http://bitbucket.org/hpk42/apipkg"
+url="http://bitbucket.org/hpk42/apipkg"
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
 sha512sums=('118f806706944513f50d3cdef596b32f8ce585cfaf94d2531a6d260f90a0e2147177161aaa6f5d6823150e6182d0f73be3dc01259b8a2f8d710733a22ea54789')
 
 prepare() {
@@ -49,4 +49,3 @@
   python2 setup.py install --root="${pkgdir}" --optimize=1
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-

Modified: python-apipkg/trunk/PKGBUILD
===================================================================
--- python-apipkg/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-apipkg/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -8,10 +8,10 @@
 pkgdesc="Namespace control and lazy-import mechanism"
 arch=('any')
 license=('MIT')
-url=" http://bitbucket.org/hpk42/apipkg"
+url="https://bitbucket.org/hpk42/apipkg"
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
 sha512sums=('118f806706944513f50d3cdef596b32f8ce585cfaf94d2531a6d260f90a0e2147177161aaa6f5d6823150e6182d0f73be3dc01259b8a2f8d710733a22ea54789')
 
 prepare() {
@@ -49,4 +49,3 @@
   python2 setup.py install --root="${pkgdir}" --optimize=1
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-

Modified: python-blinker/repos/community-any/PKGBUILD
===================================================================
--- python-blinker/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-blinker/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose')
-source=("http://pypi.python.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
 md5sums=('8b3722381f83c2813c52de3016b68d33')
 
 prepare() {

Modified: python-blinker/trunk/PKGBUILD
===================================================================
--- python-blinker/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-blinker/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,11 +9,11 @@
 pkgrel=3
 pkgdesc="Fast, simple object-to-object and broadcast signaling"
 arch=('any')
-url="http://discorporate.us/projects/Blinker/"
+url="https://pythonhosted.org/blinker/"
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose')
-source=("http://pypi.python.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
 md5sums=('8b3722381f83c2813c52de3016b68d33')
 
 prepare() {

Modified: python-characteristic/repos/community-any/PKGBUILD
===================================================================
--- python-characteristic/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-characteristic/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,7 +11,7 @@
 url="http://pypi.python.org/pypi/characteristic"
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("http://pypi.python.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz")
 md5sums=('b249368dd021fde1c06b4802867c0913')
 
 prepare() {
@@ -21,7 +21,7 @@
 build() {
   cd "$srcdir"/characteristic-$pkgver
   python setup.py build
- 
+
   cd "$srcdir"/characteristic-$pkgver-py2
   python2 setup.py build
 }
@@ -33,18 +33,18 @@
   cd "$srcdir"/characteristic-$pkgver-py2
   python2 setup.py ptr
 }
- 
+
 package_python-characteristic() {
   depends=('python')
- 
+
   cd characteristic-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
- 
+
 package_python2-characteristic() {
   depends=('python2')
- 
+
   cd characteristic-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

Modified: python-characteristic/trunk/PKGBUILD
===================================================================
--- python-characteristic/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-characteristic/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -8,10 +8,10 @@
 pkgdesc="Python attributes without boilerplate."
 arch=('any')
 license=('MIT')
-url="http://pypi.python.org/pypi/characteristic"
+url="https://pypi.python.org/pypi/characteristic"
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("http://pypi.python.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/c/characteristic/characteristic-$pkgver.tar.gz")
 md5sums=('b249368dd021fde1c06b4802867c0913')
 
 prepare() {

Modified: python-d2to1/repos/community-any/PKGBUILD
===================================================================
--- python-d2to1/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-d2to1/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 url='https://pypi.python.org/pypi/d2to1'
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=(http://pypi.python.org/packages/source/d/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+source=(https://files.pythonhosted.org/packages/source/d/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
 sha512sums=('89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d')
 
 prepare(){

Modified: python-d2to1/trunk/PKGBUILD
===================================================================
--- python-d2to1/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-d2to1/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 url='https://pypi.python.org/pypi/d2to1'
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=(http://pypi.python.org/packages/source/d/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+source=(https://files.pythonhosted.org/packages/source/d/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
 sha512sums=('89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d')
 
 prepare(){

Modified: python-ecdsa/repos/community-any/PKGBUILD
===================================================================
--- python-ecdsa/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-ecdsa/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 options=(!emptydirs)
-source=("http://pypi.python.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
+source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
 md5sums=('1f60eda9cb5c46722856db41a3ae6670'
          '66ffc5e30f76cbb5358fe54b645e5a1d')
 

Modified: python-ecdsa/trunk/PKGBUILD
===================================================================
--- python-ecdsa/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-ecdsa/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 options=(!emptydirs)
-source=("http://pypi.python.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
+source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
 md5sums=('1f60eda9cb5c46722856db41a3ae6670'
          '66ffc5e30f76cbb5358fe54b645e5a1d')
 

Modified: python-levenshtein/repos/community-x86_64/PKGBUILD
===================================================================
--- python-levenshtein/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-levenshtein/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 license=('GPL')
 arch=('i686' 'x86_64')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz")
 sha512sums=('95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5')
 
 prepare() {

Modified: python-levenshtein/trunk/PKGBUILD
===================================================================
--- python-levenshtein/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-levenshtein/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,11 +9,11 @@
 pkgver=0.12.0
 pkgrel=4
 pkgdesc="Python extension for computing string edit distances and similarities"
-url="http://pypi.python.org/pypi/python-Levenshtein/"
+url="https://pypi.python.org/pypi/python-Levenshtein/"
 license=('GPL')
 arch=('x86_64')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz")
 sha512sums=('95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5')
 
 prepare() {

Modified: python-librabbitmq/repos/community-x86_64/PKGBUILD
===================================================================
--- python-librabbitmq/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-librabbitmq/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,7 +11,7 @@
 license=('MPL')
 makedepends=('python2-setuptools' 'python2-amqp')
 checkdepends=('python2-nose-cover3')
-source=("http://pypi.python.org/packages/source/l/librabbitmq/librabbitmq-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/l/librabbitmq/librabbitmq-$pkgver.tar.gz")
 md5sums=('716f05388d4747ea605c1a31f8541e3b')
 
 check() {

Modified: python-librabbitmq/trunk/PKGBUILD
===================================================================
--- python-librabbitmq/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-librabbitmq/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -7,11 +7,11 @@
 pkgrel=1
 pkgdesc="AMQP Client using the rabbitmq-c library"
 arch=('x86_64')
-url="http://pypi.python.org/pypi/librabbitmq"
+url="https://pypi.python.org/pypi/librabbitmq"
 license=('MPL')
 makedepends=('python2-setuptools' 'python2-amqp')
 checkdepends=('python2-nose-cover3')
-source=("http://pypi.python.org/packages/source/l/librabbitmq/librabbitmq-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/l/librabbitmq/librabbitmq-$pkgver.tar.gz")
 md5sums=('716f05388d4747ea605c1a31f8541e3b')
 
 check() {

Modified: python-mock/repos/community-any/PKGBUILD
===================================================================
--- python-mock/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-mock/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 checkdepends=('python-nose' 'python2-nose' 'python-pbr' 'python2-pbr' 'python-six' 'python2-six' 'git')
 license=('BSD')
 arch=('any')
-source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/m/mock/mock-$pkgver.tar.gz")
 md5sums=('0febfafd14330c9dcaa40de2d82d40ad')
 
 build() {

Modified: python-mock/trunk/PKGBUILD
===================================================================
--- python-mock/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-mock/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 checkdepends=('python-nose' 'python2-nose' 'python-pbr' 'python2-pbr' 'python-six' 'python2-six' 'git')
 license=('BSD')
 arch=('any')
-source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/m/mock/mock-$pkgver.tar.gz")
 md5sums=('0febfafd14330c9dcaa40de2d82d40ad')
 
 build() {

Modified: python-paste/repos/community-any/PKGBUILD
===================================================================
--- python-paste/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-paste/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -15,7 +15,7 @@
 checkdepends=('python-nose' 'python2-nose')
 optdepends=('python2-flup: WSGI utilities'
             'python-openid: Support for OpenID')
-source=("http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
 md5sums=('1231e14eae62fa7ed76e9130b04bc61e')
 
 prepare() {

Modified: python-paste/trunk/PKGBUILD
===================================================================
--- python-paste/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-paste/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -15,7 +15,7 @@
 checkdepends=('python-nose' 'python2-nose')
 optdepends=('python2-flup: WSGI utilities'
             'python-openid: Support for OpenID')
-source=("http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
 md5sums=('1231e14eae62fa7ed76e9130b04bc61e')
 
 prepare() {

Modified: python-prettytable/repos/community-any/PKGBUILD
===================================================================
--- python-prettytable/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-prettytable/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 arch=('any')
 license=('BSD')
 makedepends=('python2-setuptools' python-setuptools)
-source=("http://pypi.python.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz"
+source=("https://files.pythonhosted.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz"
         '0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch')
 md5sums=('a6b80afeef286ce66733d54a0296b13b'
          '62c2acf4a81ba9e6ac60ba06ff282068')

Modified: python-prettytable/trunk/PKGBUILD
===================================================================
--- python-prettytable/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-prettytable/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -8,11 +8,11 @@
 pkgver=0.7.2
 pkgrel=8
 pkgdesc="A simple Python library for easily displaying tabular data"
-url="http://pypi.python.org/pypi/PrettyTable"
+url="https://pypi.python.org/pypi/PrettyTable"
 arch=('any')
 license=('BSD')
 makedepends=('python2-setuptools' python-setuptools)
-source=("http://pypi.python.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz"
+source=("https://files.pythonhosted.org/packages/source/P/PrettyTable/prettytable-${pkgver}.tar.gz"
         '0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch')
 md5sums=('a6b80afeef286ce66733d54a0296b13b'
          '62c2acf4a81ba9e6ac60ba06ff282068')
@@ -22,7 +22,7 @@
   patch -p1 -i "$srcdir"/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
   popd
 
-  cp -a $srcdir/$_pkgname-$pkgver $srcdir/$_pkgname-$pkgver-2
+  cp -a "$srcdir"/$_pkgname-$pkgver "$srcdir"/$_pkgname-$pkgver-2
   find $_pkgname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
 }
 
@@ -29,7 +29,7 @@
 build() {
   cd "$srcdir/$_pkgname-$pkgver"
   python setup.py build
-  cd $srcdir/$_pkgname-$pkgver-2
+  cd "$srcdir"/$_pkgname-$pkgver-2
   python2 setup.py build
 }
 

Modified: python-pyamf/repos/community-x86_64/PKGBUILD
===================================================================
--- python-pyamf/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-pyamf/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-defusedxml' 'python2-defusedxml')
 checkdepends=('python2-django' 'python2-sqlalchemy' 'python2-twisted' 'python2-lxml' 'python2-pillow')
-source=("http://pypi.python.org/packages/source/P/PyAMF/PyAMF-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/P/PyAMF/PyAMF-${pkgver}.tar.gz")
 md5sums=('51e810531a663b55e686286edb23e82a')
 
 prepare() {

Modified: python-pyamf/trunk/PKGBUILD
===================================================================
--- python-pyamf/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python-pyamf/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-defusedxml' 'python2-defusedxml')
 checkdepends=('python2-django' 'python2-sqlalchemy' 'python2-twisted' 'python2-lxml' 'python2-pillow')
-source=("http://pypi.python.org/packages/source/P/PyAMF/PyAMF-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/P/PyAMF/PyAMF-${pkgver}.tar.gz")
 md5sums=('51e810531a663b55e686286edb23e82a')
 
 prepare() {

Modified: python2-iniparse/trunk/PKGBUILD
===================================================================
--- python2-iniparse/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-iniparse/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,18 +9,18 @@
 pkgdesc='Better INI parser library for Python'
 arch=('any')
 license=('MIT')
-url='http://code.google.com/p/iniparse'
+url='https://code.google.com/archive/p/iniparse/'
 depends=('python2')
-source=("http://iniparse.googlecode.com/files/iniparse-${pkgver}.tar.gz")
+source=("https://pypi.python.org/packages/source/i/iniparse/iniparse-${pkgver}.tar.gz")
 sha1sums=('2b2af8a19f3e5c212c27d7c524cd748fa0b38650')
 
 build() {
-  cd ${srcdir}/iniparse-${pkgver}
+  cd "${srcdir}/iniparse-${pkgver}"
   python2 ./setup.py build
 }
 
 package() {
-  cd ${srcdir}/iniparse-${pkgver}
-  python2 ./setup.py install --root=${pkgdir} --optimize=1
+  cd "${srcdir}/iniparse-${pkgver}"
+  python2 ./setup.py install --root="${pkgdir}" --optimize=1
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

Modified: python2-oauth/repos/community-any/PKGBUILD
===================================================================
--- python2-oauth/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-oauth/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 license=('MIT')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/${_pkgbasename:0:1}/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pkgbasename:0:1}/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
 sha256sums=('e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d')
 
 build() {

Modified: python2-oauth/trunk/PKGBUILD
===================================================================
--- python2-oauth/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-oauth/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,11 +9,11 @@
 pkgrel=3
 pkgdesc="An open protocol to allow API authentication from desktop and web applications."
 arch=('any')
-url="http://code.google.com/p/oauth/"
+url="https://code.google.com/archive/p/oauth/"
 license=('MIT')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/${_pkgbasename:0:1}/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pkgbasename:0:1}/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
 sha256sums=('e769819ff0b0c043d020246ce1defcaadd65b9c21d244468a45a7f06cb88af5d')
 
 build() {

Modified: python2-openid/repos/community-any/PKGBUILD
===================================================================
--- python2-openid/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-openid/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 license=('Apache')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/python-openid/python-openid-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/python-openid/python-openid-${pkgver}.tar.gz")
 md5sums=(393f48b162ec29c3de9e2973548ea50d)
 
 package() {

Modified: python2-openid/trunk/PKGBUILD
===================================================================
--- python2-openid/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-openid/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,11 +9,11 @@
 pkgrel=4
 pkgdesc="OpenID library for Python"
 arch=(any)
-url="http://pypi.python.org/pypi/python-openid"
+url="https://pypi.python.org/pypi/python-openid"
 license=('Apache')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/python-openid/python-openid-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/python-openid/python-openid-${pkgver}.tar.gz")
 md5sums=(393f48b162ec29c3de9e2973548ea50d)
 
 package() {

Modified: python2-pam/repos/community-any/PKGBUILD
===================================================================
--- python2-pam/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-pam/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -13,7 +13,7 @@
 arch=('any')
 depends=('python2' 'pam')
 makedepends=('python2-distribute')
-source=("http://pypi.python.org/packages/source/${_modulename:0:1}/${_modulename}/${_modulename}-${pkgver}.tar.gz"
+source=("https://files.pythonhosted.org/packages/source/${_modulename:0:1}/${_modulename}/${_modulename}-${pkgver}.tar.gz"
         'LICENSE')
 sha256sums=('35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b'
             'd703379f36d2e58a2343fd1992835ab627324a758189f48479b50dc9eedd6cdc')
@@ -28,5 +28,3 @@
 	python2 setup.py install --root="$pkgdir"
 	install -Dm644 "$srcdir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-
-

Modified: python2-pam/trunk/PKGBUILD
===================================================================
--- python2-pam/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-pam/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -8,12 +8,12 @@
 pkgver=0.1.4
 pkgrel=3
 pkgdesc="Module that provides an authenticate function that allows the caller to authenticate a given username / password against the PAM system on Linux."
-url="http://atlee.ca/software/pam/"
+url="https://atlee.ca/software/pam/"
 license=('MIT')
 arch=('any')
 depends=('python2' 'pam')
 makedepends=('python2-distribute')
-source=("http://pypi.python.org/packages/source/${_modulename:0:1}/${_modulename}/${_modulename}-${pkgver}.tar.gz"
+source=("https://files.pythonhosted.org/packages/source/${_modulename:0:1}/${_modulename}/${_modulename}-${pkgver}.tar.gz"
         'LICENSE')
 sha256sums=('35e88575afc37a2a5f96e20b22fa55d3e3213370d4ce640af1597c2a1dde226b'
             'd703379f36d2e58a2343fd1992835ab627324a758189f48479b50dc9eedd6cdc')
@@ -28,5 +28,3 @@
 	python2 setup.py install --root="$pkgdir"
 	install -Dm644 "$srcdir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-
-

Modified: python2-pathlib/repos/community-any/PKGBUILD
===================================================================
--- python2-pathlib/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-pathlib/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -1,6 +1,6 @@
 # $Id$
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: vae77 <fernandogrd at yahoo.com.br> 
+# Contributor: vae77 <fernandogrd at yahoo.com.br>
 
 pkgname=python2-pathlib
 pkgver=1.0.1
@@ -11,7 +11,7 @@
 license=('MIT')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
 md5sums=('5099ed48be9b1ee29b31c82819240537')
 
 package() {

Modified: python2-pathlib/trunk/PKGBUILD
===================================================================
--- python2-pathlib/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-pathlib/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -1,6 +1,6 @@
 # $Id$
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: vae77 <fernandogrd at yahoo.com.br> 
+# Contributor: vae77 <fernandogrd at yahoo.com.br>
 
 pkgname=python2-pathlib
 pkgver=1.0.1
@@ -7,11 +7,11 @@
 pkgrel=3
 pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"
 arch=('any')
-url="http://pathlib.readthedocs.org/en/${pkgver}/"
+url="https://pathlib.readthedocs.org/en/${pkgver}/"
 license=('MIT')
 depends=('python2')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
 md5sums=('5099ed48be9b1ee29b31c82819240537')
 
 package() {

Modified: python2-tagpy/repos/community-x86_64/PKGBUILD
===================================================================
--- python2-tagpy/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-tagpy/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -15,7 +15,7 @@
 makedepends=('python2-setuptools' 'boost')
 replaces=('tagpy')
 conflicts=('tagpy')
-source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz")
 sha256sums=('80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4')
 
 prepare() {
@@ -22,7 +22,7 @@
   cd "tagpy-$pkgver"
 
   sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-    $(find . -name '*.py') 
+    $(find . -name '*.py')
 }
 
 build() {

Modified: python2-tagpy/trunk/PKGBUILD
===================================================================
--- python2-tagpy/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ python2-tagpy/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,13 +9,13 @@
 pkgrel=12
 pkgdesc='Python bindings for TagLib'
 arch=('x86_64')
-url='http://pypi.python.org/pypi/tagpy'
+url='https://pypi.python.org/pypi/tagpy'
 license=('MIT')
 depends=('python2' 'taglib' 'boost-libs')
 makedepends=('python2-setuptools' 'boost')
 replaces=('tagpy')
 conflicts=('tagpy')
-source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz")
 sha256sums=('80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4')
 
 prepare() {

Modified: wput/repos/community-x86_64/PKGBUILD
===================================================================
--- wput/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ wput/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -7,23 +7,23 @@
 pkgver=0.6.2
 pkgrel=3
 pkgdesc="A command line tool to upload files to FTP site, the opposite to wget"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="http://wput.sourceforge.net/"
 depends=('gnutls>=2.4.1')
 license=('GPL')
-source=("http://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
+source=("https://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
 md5sums=('a14c4c13d91d04d6119bdc977e8a8bdf')
 
 build() {
-  cd $srcdir/${pkgname}-${pkgver}
+  cd "$srcdir"/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/${pkgname}-${pkgver}
-  install -m755 -d ${pkgdir}/usr/bin
-  install -m755 -d ${pkgdir}/usr/share/man/man1
-  make prefix=${pkgdir}/usr install
-  ln -sf wput $pkgdir/usr/bin/wdel
+  cd "$srcdir"/${pkgname}-${pkgver}
+  install -m755 -d "$pkgdir"/usr/bin
+  install -m755 -d "$pkgdir"/usr/share/man/man1
+  make prefix="$pkgdir"/usr install
+  ln -sf wput "$pkgdir"/usr/bin/wdel
 }

Modified: wput/trunk/PKGBUILD
===================================================================
--- wput/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ wput/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,7 +11,7 @@
 url="http://wput.sourceforge.net/"
 depends=('gnutls>=2.4.1')
 license=('GPL')
-source=("http://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
+source=("https://downloads.sourceforge.net/sourceforge/wput/wput-${pkgver}.tgz")
 md5sums=('a14c4c13d91d04d6119bdc977e8a8bdf')
 
 build() {

Modified: xchm/repos/community-x86_64/PKGBUILD
===================================================================
--- xchm/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xchm/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -5,11 +5,11 @@
 pkgver=1.23
 pkgrel=7
 pkgdesc="A cross-platform GUI front-end to chmlib"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="http://xchm.sourceforge.net/"
 license=('GPL')
 depends=('chmlib' 'wxgtk3')
-source=("http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz"
         xchm.desktop
         xchm-wx3.0-compat.patch)
 md5sums=('486d029bd81071a2d04e7181909b1602'

Modified: xchm/trunk/PKGBUILD
===================================================================
--- xchm/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xchm/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -9,7 +9,7 @@
 url="http://xchm.sourceforge.net/"
 license=('GPL')
 depends=('chmlib' 'wxgtk3')
-source=("http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz"
         xchm.desktop
         xchm-wx3.0-compat.patch)
 md5sums=('486d029bd81071a2d04e7181909b1602'

Modified: xfe/repos/community-x86_64/PKGBUILD
===================================================================
--- xfe/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xfe/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -7,16 +7,16 @@
 pkgver=1.42
 pkgrel=1
 pkgdesc="X File Explorer (Xfe) is an MS-Explorer like file manager for X."
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="http://roland65.free.fr/xfe"
 license=("GPL")
 depends=('fox>=1:1.6' 'fox<1:1.7' 'freetype2')
 makedepends=('intltool')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('34326f185070db02e7419f85f7967cdf')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$pkgver
   export CFLAGS="$CFLAGS `pkg-config --cflags freetype2`"
   aclocal
   automake --add-missing
@@ -26,6 +26,6 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }

Modified: xfe/trunk/PKGBUILD
===================================================================
--- xfe/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xfe/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -12,7 +12,7 @@
 license=("GPL")
 depends=('fox>=1:1.6' 'fox<1:1.7' 'freetype2')
 makedepends=('intltool')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('34326f185070db02e7419f85f7967cdf')
 
 build() {

Modified: xmpppy/repos/community-any/PKGBUILD
===================================================================
--- xmpppy/repos/community-any/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xmpppy/repos/community-any/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,22 +11,22 @@
 license=('GPL')
 depends=('python2')
 makedepends=('python2-distribute')
-source=(http://downloads.sourceforge.net/project/xmpppy/xmpppy/${pkgver/_/-}/xmpppy-${pkgver/_/}.tar.gz
+source=(https://downloads.sourceforge.net/project/xmpppy/xmpppy/${pkgver/_/-}/xmpppy-${pkgver/_/}.tar.gz
 	ssl.patch)
 md5sums=('e0d2b3f9e4a278c163431e64adb0c861'
          '516cb530837016c719a1116a1d6ad199')
 
 prepare() {
-  cd $srcdir/$pkgname-${pkgver/_/}
-  patch -p1 <$srcdir/ssl.patch
+  cd "$srcdir"/$pkgname-${pkgver/_/}
+  patch -p1 <"$srcdir"/ssl.patch
 }
 
 build() {
-  cd $srcdir/$pkgname-${pkgver/_/}
+  cd "$srcdir"/$pkgname-${pkgver/_/}
   python2 setup.py build
 }
 
 package() {
-  cd $srcdir/$pkgname-${pkgver/_/}
-  python2 setup.py install --prefix=/usr --root=$pkgdir install
+  cd "$srcdir"/$pkgname-${pkgver/_/}
+  python2 setup.py install --prefix=/usr --root="$pkgdir" install
 }

Modified: xmpppy/trunk/PKGBUILD
===================================================================
--- xmpppy/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ xmpppy/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -11,7 +11,7 @@
 license=('GPL')
 depends=('python2')
 makedepends=('python2-distribute')
-source=(http://downloads.sourceforge.net/project/xmpppy/xmpppy/${pkgver/_/-}/xmpppy-${pkgver/_/}.tar.gz
+source=(https://downloads.sourceforge.net/project/xmpppy/xmpppy/${pkgver/_/-}/xmpppy-${pkgver/_/}.tar.gz
 	ssl.patch)
 md5sums=('e0d2b3f9e4a278c163431e64adb0c861'
          '516cb530837016c719a1116a1d6ad199')

Modified: yagf/repos/community-x86_64/PKGBUILD
===================================================================
--- yagf/repos/community-x86_64/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ yagf/repos/community-x86_64/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -6,7 +6,7 @@
 pkgver=0.9.5
 pkgrel=3
 pkgdesc="Qt4-based GUI for Cuneiform and Tesseract OCRs"
-arch=(i686 x86_64)
+arch=(x86_64)
 url="http://symmetrica.net/cuneiform-linux/yagf-en.html"
 license=('GPL')
 depends=('qt4' 'aspell')
@@ -15,23 +15,23 @@
 	    'xsane: acquire images from a scanner into YAGF directly')
 makedepends=('cmake')
 #source=(https://yagf.googlecode.com/archive/yagf-$pkgver.tar.gz)
-source=(http://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
+source=(https://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
 md5sums=('cc01d671fafbfa71fad3d95591ccca37')
 
 prepare() {
-  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cd "$srcdir/${pkgname}-${pkgver}"
   cp src/images/{A,a}lign.png
   sed -i '1,1i#include <unistd.h>' src/mainform.cpp
 }
 
 build() {
-  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
+  cd "$srcdir/${pkgname}-${pkgver}"
   cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
   make
 }
 
 package() {
-  cd `find ${srcdir}/ -type d -name "${pkgname}*"`
-  make DESTDIR=${pkgdir} install
-  [ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+  [ -d "$pkgdir"/usr/lib64 ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib || true
 }

Modified: yagf/trunk/PKGBUILD
===================================================================
--- yagf/trunk/PKGBUILD	2017-12-26 01:49:01 UTC (rev 276081)
+++ yagf/trunk/PKGBUILD	2017-12-26 02:22:10 UTC (rev 276082)
@@ -7,7 +7,7 @@
 pkgrel=3
 pkgdesc="Qt4-based GUI for Cuneiform and Tesseract OCRs"
 arch=(x86_64)
-url="http://symmetrica.net/cuneiform-linux/yagf-en.html"
+url="https://sourceforge.net/projects/yagf-ocr/"
 license=('GPL')
 depends=('qt4' 'aspell')
 optdepends=('cuneiform: recognition tool'
@@ -15,23 +15,23 @@
 	    'xsane: acquire images from a scanner into YAGF directly')
 makedepends=('cmake')
 #source=(https://yagf.googlecode.com/archive/yagf-$pkgver.tar.gz)
-source=(http://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
+source=(https://downloads.sourceforge.net/project/yagf-ocr/yagf-$pkgver.tar.gz)
 md5sums=('cc01d671fafbfa71fad3d95591ccca37')
 
 prepare() {
-  cd `find "$srcdir"/ -type d -name "${pkgname}*"`
+  cd "$srcdir/${pkgname}-${pkgver}"
   cp src/images/{A,a}lign.png
   sed -i '1,1i#include <unistd.h>' src/mainform.cpp
 }
 
 build() {
-  cd `find "$srcdir"/ -type d -name "${pkgname}*"`
+  cd "$srcdir/${pkgname}-${pkgver}"
   cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .
   make
 }
 
 package() {
-  cd `find "$srcdir"/ -type d -name "${pkgname}*"`
+  cd "$srcdir/${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir" install
   [ -d "$pkgdir"/usr/lib64 ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib || true
 }



More information about the arch-commits mailing list