summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpcyrd2019-09-02 22:17:46 +0200
committerkpcyrd2019-09-02 22:17:46 +0200
commit5690250a43fe9795b7415fa3147cd273dfddbdc8 (patch)
tree99565fb7b8ee997ed127f739cca165704c073338
parent16a6a29ecf283b4c81acefadb30a574f18d31996 (diff)
downloadaur-5690250a43fe9795b7415fa3147cd273dfddbdc8.tar.gz
Review fixes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7ac85ac5ded..39eb9998510f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = python2-dicttoxml
arch = any
license = GPL
depends = python2
- source = https://pypi.python.org/packages/74/36/534db111db9e7610a41641a1f6669a964aacaf51858f466de264cc8dcdd9/dicttoxml-1.7.4.tar.gz
+ source = https://files.pythonhosted.org/packages/source/d/dicttoxml/dicttoxml-1.7.4.tar.gz
sha256sums = ea44cc4ec6c0f85098c57a431a1ee891b3549347b07b7414c8a24611ecf37e45
pkgname = python2-dicttoxml
diff --git a/PKGBUILD b/PKGBUILD
index bd070b13492d..790062914a83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: kpcyrd <git@rxv.cc>
# Contributor: Jose Riha <jose1711 gmail com>
+_name=dicttoxml
pkgname=python2-dicttoxml
pkgver=1.7.4
pkgrel=2
@@ -9,7 +10,7 @@ url="https://github.com/quandyfactory/dicttoxml"
depends=('python2')
license=('GPL')
arch=('any')
-source=("https://pypi.python.org/packages/74/36/534db111db9e7610a41641a1f6669a964aacaf51858f466de264cc8dcdd9/dicttoxml-${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('ea44cc4ec6c0f85098c57a431a1ee891b3549347b07b7414c8a24611ecf37e45')
build() {