[arch-commits] Commit in ansible-lint/repos (2 files)
Date: Tuesday, November 10, 2020 @ 09:02:42 Author: felixonmars Revision: 749443 archrelease: copy trunk to community-staging-any Added: ansible-lint/repos/community-staging-any/ ansible-lint/repos/community-staging-any/PKGBUILD (from rev 749442, ansible-lint/trunk/PKGBUILD) --+ PKGBUILD | 34 ++ 1 file changed, 34 insertions(+) Copied: ansible-lint/repos/community-staging-any/PKGBUILD (from rev 749442, ansible-lint/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-11-10 09:02:42 UTC (rev 749443) @@ -0,0 +1,34 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Frederik Schwan +# Contributor: Sander Boom + +pkgname=ansible-lint +pkgver=4.3.7 +pkgrel=2 +pkgdesc="Checks playbooks for practices and behaviour that could potentially be improved." +arch=('any') +url="https://github.com/ansible/ansible-lint; +license=('MIT') +depends=('python' 'ansible' 'python-ruamel-yaml' 'python-pyaml' 'python-rich') +makedepends=('git') +checkdepends=('python-pytest') +source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('a20e49e3b50130d1c3baa46db0e926ebfd6616cb99dd920952cb1481e7b267b3') + +prepare() { + cd ${pkgname}-${pkgver} + # stop setuptools from using the scm version which doesn't exist in this context + sed -i "/^\[metadata\]/a version = ${pkgver}" setup.cfg + sed -i 's/use_scm_version/#use_scm_version/' setup.cfg +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build +} + +package() { + cd ${pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +}
[arch-commits] Commit in ansible-lint/repos (2 files)
Date: Friday, August 21, 2020 @ 00:25:22 Author: freswa Revision: 685724 archrelease: copy trunk to community-testing-any Added: ansible-lint/repos/community-testing-any/ ansible-lint/repos/community-testing-any/PKGBUILD (from rev 685723, ansible-lint/trunk/PKGBUILD) --+ PKGBUILD | 26 ++ 1 file changed, 26 insertions(+) Copied: ansible-lint/repos/community-testing-any/PKGBUILD (from rev 685723, ansible-lint/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-08-21 00:25:22 UTC (rev 685724) @@ -0,0 +1,26 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Frederik Schwan +# Contributor: Sander Boom + +pkgname=ansible-lint +pkgver=4.3.1 +pkgrel=1 +pkgdesc="Checks playbooks for practices and behaviour that could potentially be improved." +arch=('any') +url="https://github.com/willthames/ansible-lint; +license=('MIT') +depends=('python' 'ansible' 'python-ruamel-yaml' 'python-pyaml') +makedepends=('git') +source=(https://github.com/willthames/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('29d05d6a8e3375cb03db717fc28032f1f8395ea5b017d7a169424fa221088d67') + +build() { + cd ${pkgname}-${pkgver} + python -c "from setuptools import setup; setup();" build +} + +package() { + cd ${pkgname}-${pkgver} + python -c "from setuptools import setup; setup();" install --root="${pkgdir}" --optimize=1 + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +}
[arch-commits] Commit in ansible-lint/repos (2 files)
Date: Monday, July 23, 2018 @ 15:18:49 Author: foutrelis Revision: 362980 archrelease: copy trunk to community-staging-any Added: ansible-lint/repos/community-staging-any/ ansible-lint/repos/community-staging-any/PKGBUILD (from rev 362979, ansible-lint/trunk/PKGBUILD) --+ PKGBUILD | 26 ++ 1 file changed, 26 insertions(+) Copied: ansible-lint/repos/community-staging-any/PKGBUILD (from rev 362979, ansible-lint/trunk/PKGBUILD) === --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-23 15:18:49 UTC (rev 362980) @@ -0,0 +1,26 @@ +# Maintainer: Jelle van der Waa +# Contributor: Sander Boom + +pkgname=ansible-lint +pkgver=3.4.23 +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=('python' 'ansible') +makedepends=('python-distribute') +checkdepends=('python-nose') +source=("https://github.com/willthames/ansible-lint/archive/v${pkgver}.tar.gz;) +sha256sums=('c5e1c6500d65fa9655ef155fecd67b775701b5e427d5d978a677e5d53d584ef4') + +build() { +cd "${pkgname}-${pkgver}" +python3 setup.py build +} + +package() { +cd "${pkgname}-${pkgver}" +python3 setup.py install --root="$pkgdir" --optimize=1 +install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +}