summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorneodarz2020-11-11 12:09:43 +0100
committerneodarz2020-11-11 12:09:43 +0100
commitc0794613056c0fbcc2b56dc2caa2d425712497bd (patch)
tree83fbd7e6ccb427bcfef6c037c6e7e83187691d4b
parent88711d4da3af3f49a416f0abd3a1f10eff7a8292 (diff)
downloadaur-c0794613056c0fbcc2b56dc2caa2d425712497bd.tar.gz
Update to last version
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f93767c2a35..8ccec221d7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-flake8-eradicate
pkgdesc = Flake8 plugin to find commented out or dead code
- pkgver = 0.4.0
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/sobolevn/flake8-eradicate
arch = any
@@ -9,8 +9,8 @@ pkgbase = python-flake8-eradicate
depends = python-setuptools
depends = python-dephell
depends = 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/flake8-eradicate/archive/1.0.0.zip
+ sha512sums = 2f83540ec278d9a6b7e72a82358c6bea31986c0d59a67e846e08cbf42a23998d7d8661911fa5e14c85fa839a1d27f65bbe7fef7b96e42113d29e393b76273130
pkgname = python-flake8-eradicate
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"