summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-05-05 10:26:20 +0300
committerCaleb Maclennan2021-05-05 10:31:00 +0300
commitdc4a4528cd8acc5dd6ac3bd2730a349138619335 (patch)
tree43b1b46f7a51d425ed8cfa20a4ad3411b0d9faa6
parentd26e1014dd934ce5b0c23aba06fecb709b4b7b46 (diff)
downloadaur-dc4a4528cd8acc5dd6ac3bd2730a349138619335.tar.gz
Use more stable download URL, recommended in Arch Wiki
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fef1eb0748ea..bf81d0e47f6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-defcon
pkgdesc = A set of UFO based objects for use in font editing applications
pkgver = 0.8.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/robotools/defcon
arch = any
license = MIT
@@ -12,7 +12,7 @@ pkgbase = python-defcon
depends = python-fs
optdepends = python-fontpens
optdepends = python-lxml
- source = https://pypi.org/packages/source/d/defcon/defcon-0.8.1.zip
+ source = https://files.pythonhosted.org/packages/source/d/defcon/defcon-0.8.1.zip
sha256sums = 410adb6bd18996054ad82b0654aea2bc0a334a9ff7007fe983ec6f3f39f449ea
pkgname = python-defcon
diff --git a/PKGBUILD b/PKGBUILD
index 4252a97de806..8ffe840d026d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=python-defcon
_pkgname=defcon
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='A set of UFO based objects for use in font editing applications'
arch=('any')
url="https://github.com/robotools/$_pkgname"
@@ -13,7 +13,7 @@ depends=('python-fonttools' 'python-fs')
makedepends=('python-setuptools')
checkdepends=('python-pytest' 'python-unicodedata2')
optdepends=('python-fontpens' 'python-lxml')
-source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.zip")
sha256sums=('410adb6bd18996054ad82b0654aea2bc0a334a9ff7007fe983ec6f3f39f449ea')
build() {