summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas DOREL2021-03-21 12:28:44 +0100
committerJonas DOREL2021-03-21 12:28:44 +0100
commitfd05688a1278b6a9941c90220c1655ce547d224d (patch)
tree8c04caa46527fb210cdb93cd13f2a0d78396ff2a
parent92a991b685a275b389edcdaa0e45ae8b9c8af213 (diff)
downloadaur-fd05688a1278b6a9941c90220c1655ce547d224d.tar.gz
Update PKDBUILD
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD49
2 files changed, 55 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 283f72d1a70..00a8c163b1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,46 @@
pkgbase = python-prospector
pkgdesc = Python static analysis tool
- pkgver = 1.2.0
+ pkgver = 1.3.1
pkgrel = 1
- url = https://github.com/PyCQA/prospector
+ url = http://prospector.readthedocs.io
arch = any
- license = GPL2
+ license = GPL
makedepends = python-setuptools
+ depends = python-pylint-plugin-utils
depends = python-pylint-celery
depends = python-pylint-flask
- depends = python-pylint-django
depends = python-requirements-detector
depends = python-setoptconf
depends = python-dodgy
- depends = python-pyaml
+ depends = python-yaml
+ depends = python-mccabe
+ depends = python-pyflakes
depends = python-pycodestyle
depends = python-pep8-naming
depends = python-pydocstyle
+ depends = python-pylint
+ depends = python-pylint-django
+ depends = python-astroid
optdepends = python-pyroma: check setup.py
optdepends = python-vulture: find dead code
- optdepends = python-mypy: optional type checking
- source = https://github.com/PyCQA/prospector/archive/1.2.0.tar.gz
- md5sums = 33da5351e8a5e65b47f8473632d0b8df
+ optdepends = mypy: optional type checking
+ source = https://files.pythonhosted.org/packages/source/p/prospector/prospector-1.3.1.tar.gz
+ sha256sums = 700d7918d93d73035a2a58fb18c6be0b609a0481fc6e0908843fa856b89e52c6
pkgname = python-prospector
+ depends = python-pylint-plugin-utils
+ depends = python-pylint-celery
+ depends = python-pylint-flask
+ depends = python-requirements-detector
+ depends = python-setoptconf
+ depends = python-dodgy
+ depends = python-yaml
+ depends = python-mccabe
+ depends = python-pyflakes
+ depends = python-pycodestyle
+ depends = python-pep8-naming
+ depends = python-pydocstyle
+ depends = python-pylint
+ depends = python-pylint-django
+ depends = python-astroid
diff --git a/PKGBUILD b/PKGBUILD
index 69d1ac6bfda..8e3d7d259b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,44 @@
-# Maintainer: Andrew Steinke <rkcf@rkcf.me>
-# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Maintainer: Jonas DOREL <jonas at dorel dot me>
-pkgname=python-prospector
-_pkgname=prospector
-pkgver=1.2.0
+pkgbase='python-prospector'
+pkgname=('python-prospector')
+_module='prospector'
+pkgver='1.3.1'
pkgrel=1
pkgdesc="Python static analysis tool"
-arch=('any')
-depends=('python-pylint-celery'
+url="http://prospector.readthedocs.io"
+depends=('python-pylint-plugin-utils'
+ 'python-pylint-celery'
'python-pylint-flask'
- 'python-pylint-django'
'python-requirements-detector'
'python-setoptconf'
'python-dodgy'
- 'python-pyaml'
+ 'python-yaml'
+ 'python-mccabe'
+ 'python-pyflakes'
'python-pycodestyle'
'python-pep8-naming'
- 'python-pydocstyle')
-makedepends=('python-setuptools')
+ 'python-pydocstyle'
+ 'python-pylint'
+ 'python-pylint-django'
+ 'python-astroid')
optdepends=('python-pyroma: check setup.py'
'python-vulture: find dead code'
- 'python-mypy: optional type checking')
-url="https://github.com/PyCQA/prospector"
-license=('GPL2')
-source=("$url/archive/$pkgver.tar.gz")
-md5sums=('33da5351e8a5e65b47f8473632d0b8df')
+ 'mypy: optional type checking')
+makedepends=('python-setuptools')
+license=('GPL')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
+sha256sums=('700d7918d93d73035a2a58fb18c6be0b609a0481fc6e0908843fa856b89e52c6')
build() {
- cd "$srcdir/$_pkgname-$pkgver"
- python setup.py build
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ PIP_CONFIG_FILE=/dev/null
+ python setup.py install --isolated --root="${pkgdir}" --ignore-installed --no-deps --optimize=1 --skip-build
}
-
-# vim:set ts=2 sw=2 et: