summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFenner Macrae2018-04-08 10:44:54 -0700
committerFenner Macrae2018-04-08 10:44:54 -0700
commitff85e9b48c3d5162dd5da980ad8ee8f98f5b440c (patch)
tree9aaf09c5c098a78e7eedbcf27218729f2f6bacd0
parentc9cfb911bca2e760d4dca09d2bd5978f91f829cb (diff)
downloadaur-ff85e9b48c3d5162dd5da980ad8ee8f98f5b440c.tar.gz
Adopted and updated package
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD24
2 files changed, 22 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd41ed204d6..2f47d648d63 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-prospector
pkgdesc = Python static analysis tool
- pkgver = 0.12
+ pkgver = 0.12.7
pkgrel = 1
url = https://github.com/landscapeio/prospector
arch = any
@@ -8,6 +8,9 @@ pkgbase = python-prospector
makedepends = python-setuptools
makedepends = pydocstyle
makedepends = python-pep8-naming
+ makedepends = python-mccabe
+ makedepends = python-pycodestyle
+ makedepends = python-pyflakes
makedepends = python-yaml
makedepends = python-dodgy
makedepends = python-setoptconf
@@ -17,7 +20,7 @@ pkgbase = python-prospector
makedepends = python-pylint-django
makedepends = python-pylint-celery
makedepends = python-pylint-flask
- source = https://github.com/landscapeio/prospector/archive/0.12.tar.gz
+ source = https://github.com/landscapeio/prospector/archive/0.12.7.tar.gz
md5sums = 45d00e6b6b70b69d3f02c64c74f9f40c
pkgname = python-prospector
diff --git a/PKGBUILD b/PKGBUILD
index 52b836aebec..5aa3f92655f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,25 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=python-prospector
-pkgver=0.12
+pkgver=0.12.7
pkgrel=1
pkgdesc="Python static analysis tool"
arch=('any')
-makedepends=('python-setuptools' 'pydocstyle' 'python-pep8-naming' 'python-yaml' 'python-dodgy' 'python-setoptconf'
- 'python-requirements-detector' 'python-pylint-common' 'python-pylint-plugin-utils'
- 'python-pylint-django' 'python-pylint-celery' 'python-pylint-flask')
+makedepends=('python-setuptools'
+ 'pydocstyle'
+ 'python-pep8-naming'
+ 'python-mccabe'
+ 'python-pycodestyle'
+ 'python-pyflakes'
+ 'python-yaml'
+ 'python-dodgy'
+ 'python-setoptconf'
+ 'python-requirements-detector'
+ 'python-pylint-common'
+ 'python-pylint-plugin-utils'
+ 'python-pylint-django'
+ 'python-pylint-celery'
+ 'python-pylint-flask')
optdeps=('python-pyroma: check setup.py'
'python-vulture: find dead code')
url="https://github.com/landscapeio/prospector"
@@ -17,14 +29,12 @@ md5sums=('45d00e6b6b70b69d3f02c64c74f9f40c')
build() {
cd "$srcdir/${pkgname#python-}-$pkgver"
-
python setup.py build
}
package() {
cd "$srcdir/${pkgname#python-}-$pkgver"
-
python setup.py install --root="$pkgdir" --optimize=1
- install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
}
# vim:set ts=2 sw=2 et: