summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneodarz2020-06-09 09:54:14 +0200
committerneodarz2020-06-09 09:54:14 +0200
commit39c9d65c1791f4cae41c4f6051c9eee23a0395a3 (patch)
treed903a2ea8a31f95dd768aca1160cee1e054df4c2
parentf898e455c3151672bf0454593531ea576d41e5e2 (diff)
downloadaur-39c9d65c1791f4cae41c4f6051c9eee23a0395a3.tar.gz
Use directly pypi release since github release seems bugged
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e6909e48bb6..f93767c2a35 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,8 +9,8 @@ pkgbase = python-flake8-eradicate
depends = python-setuptools
depends = python-dephell
depends = python-eradicate
- source = https://github.com/sobolevn/flake8-eradicate/archive/0.4.0.tar.gz
- sha512sums = 6e9907d4e1720c8cb34b684e9fa069ac37027246b53c10d4958f0d173bb18654c65c76fe08716c37bcedcf4e61262bee9b8b0d5b3f74feda987fe707a1c47c7c
+ source = https://files.pythonhosted.org/packages/52/b5/ad7fce3e56fd4d9ff77ddcd4cebb8568a639bdbbbfa4b94eaae214d22d29/flake8-eradicate-0.4.0.tar.gz
+ sha512sums = 0e766dbe73b8d9879153517f69e882e9be7afaea6f6af87c8830496981203460ceeadeb2016f4785ba8af299433d5ce18125f853677c3a4d7403c3f655160f88
pkgname = python-flake8-eradicate
diff --git a/PKGBUILD b/PKGBUILD
index 510e7c291aa..64439237207 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,15 +13,10 @@ license=('MIT')
depends=('python' 'python-setuptools' 'python-dephell' 'python-eradicate')
-source=("https://github.com/sobolevn/$_pkgname/archive/$pkgver.tar.gz")
-sha512sums=('6e9907d4e1720c8cb34b684e9fa069ac37027246b53c10d4958f0d173bb18654c65c76fe08716c37bcedcf4e61262bee9b8b0d5b3f74feda987fe707a1c47c7c')
+source=("https://files.pythonhosted.org/packages/52/b5/ad7fce3e56fd4d9ff77ddcd4cebb8568a639bdbbbfa4b94eaae214d22d29/flake8-eradicate-0.4.0.tar.gz")
+sha512sums=('0e766dbe73b8d9879153517f69e882e9be7afaea6f6af87c8830496981203460ceeadeb2016f4785ba8af299433d5ce18125f853677c3a4d7403c3f655160f88')
-prepare() {
- cd "$_pkgname-$pkgver"
- dephell deps convert --from pyproject.toml --to setup.py
-}
-
-package() {
+ackage() {
cd "$_pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}