[arch-commits] Commit in ansible-lint/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri May 18 19:24:53 UTC 2018
Date: Friday, May 18, 2018 @ 19:24:53
Author: jelle
Revision: 324299
upgpkg: ansible-lint 3.4.21-2
Modified:
ansible-lint/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-18 19:04:37 UTC (rev 324298)
+++ PKGBUILD 2018-05-18 19:24:53 UTC (rev 324299)
@@ -3,19 +3,24 @@
pkgname=ansible-lint
pkgver=3.4.21
-pkgrel=1
+pkgrel=2
pkgdesc="Checks playbooks for practices and behaviour that could potentially be improved."
arch=('any')
url="https://github.com/willthames/ansible-lint"
license=('MIT')
-depends=('python2' 'ansible')
-makedepends=('python2-distribute')
+depends=('python' 'ansible')
+makedepends=('python-distribute')
checkdepends=('python-nose')
source=("https://github.com/willthames/ansible-lint/archive/v${pkgver}.tar.gz")
sha256sums=('230f741382d4b86e726cf2c65e82c45636e84e334d2c751ff1876dd2f5794225')
+build() {
+ cd "${pkgname}-${pkgver}"
+ python3 setup.py build
+}
+
package() {
cd "${pkgname}-${pkgver}"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ python3 setup.py install --root="$pkgdir" --optimize=1
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list