summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Room2022-04-14 12:12:15 +0100
committerAdrian Room2022-04-14 12:12:15 +0100
commit78fe2a363a0d57719aaac31b647256d48a1240fe (patch)
tree2cde7aadcc35c500b4c1174b3bf8dfdbef66f5da
parent0c30bfd04171728faca623ff5ea873d9b3c98010 (diff)
downloadaur-78fe2a363a0d57719aaac31b647256d48a1240fe.tar.gz
update to 0.19.2
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
2 files changed, 9 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1ddf6aae10..855fe582c5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = python-flake8-simplify
pkgdesc = A flake8 plugin that helps you simplify your code.
- pkgver = 0.18.0
+ pkgver = 0.19.2
pkgrel = 1
url = https://github.com/MartinThoma/flake8-simplify/
arch = any
license = MIT
+ makedepends = python-installer
depends = flake8
depends = python-astor
- source = https://github.com/MartinThoma/flake8-simplify/archive/0.18.0.tar.gz
- md5sums = 06ebed3adc9ec3e2e087fde2e231ede7
+ source = https://files.pythonhosted.org/packages/py3/f/flake8-simplify/flake8_simplify-0.19.2-py3-none-any.whl
+ md5sums = ee1b98a55af98c1b4cf6158f14603338
pkgname = python-flake8-simplify
diff --git a/PKGBUILD b/PKGBUILD
index 3de54c2e725..52b474b6f46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,17 @@
pkgname="python-flake8-simplify"
_pkgname="flake8-simplify"
-pkgver=0.18.0
+pkgver=0.19.2
pkgrel=1
pkgdesc="A flake8 plugin that helps you simplify your code."
arch=('any')
url="https://github.com/MartinThoma/flake8-simplify/"
license=('MIT')
depends=('flake8' 'python-astor')
-source=("https://github.com/MartinThoma/flake8-simplify/archive/$pkgver.tar.gz")
-md5sums=('06ebed3adc9ec3e2e087fde2e231ede7')
-
-build() {
- cd "${_pkgname}-${pkgver}"
- python setup.py build
-}
+makedepends=('python-installer')
+source=("https://files.pythonhosted.org/packages/py3/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-py3-none-any.whl")
+md5sums=('ee1b98a55af98c1b4cf6158f14603338')
package() {
- cd "${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
+ python -m installer --destdir="$pkgdir" *.whl
}