summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorneodarz2020-11-11 12:09:43 +0100
committerneodarz2020-11-11 12:09:43 +0100
commitc0794613056c0fbcc2b56dc2caa2d425712497bd (patch)
tree83fbd7e6ccb427bcfef6c037c6e7e83187691d4b /PKGBUILD
parent88711d4da3af3f49a416f0abd3a1f10eff7a8292 (diff)
downloadaur-python-flake8-eradicate.tar.gz
Update to last version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f33c85030ba..e8c624c367f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=flake8-eradicate
pkgname=python-$_pkgname
-pkgver=0.4.0
+pkgver=1.0.0
pkgrel=1
pkgdesc="Flake8 plugin to find commented out or dead code"
@@ -13,8 +13,13 @@ license=('MIT')
depends=('python' 'python-setuptools' 'python-dephell' 'python-eradicate')
-source=("https://files.pythonhosted.org/packages/52/b5/ad7fce3e56fd4d9ff77ddcd4cebb8568a639bdbbbfa4b94eaae214d22d29/flake8-eradicate-0.4.0.tar.gz")
-sha512sums=('0e766dbe73b8d9879153517f69e882e9be7afaea6f6af87c8830496981203460ceeadeb2016f4785ba8af299433d5ce18125f853677c3a4d7403c3f655160f88')
+source=("https://github.com/sobolevn/$_pkgname/archive/$pkgver.zip")
+sha512sums=('2f83540ec278d9a6b7e72a82358c6bea31986c0d59a67e846e08cbf42a23998d7d8661911fa5e14c85fa839a1d27f65bbe7fef7b96e42113d29e393b76273130')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+ dephell deps convert --from pyproject.toml --to setup.py
+}
package() {
cd "$_pkgname-$pkgver"