Date: Thursday, November 12, 2020 @ 17:14:01 Author: felixonmars Revision: 752372
archrelease: copy trunk to community-staging-any Added: ansible-lint/repos/community-staging-any/PKGBUILD (from rev 752370, ansible-lint/trunk/PKGBUILD) Deleted: ansible-lint/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-12 17:14:00 UTC (rev 752371) +++ PKGBUILD 2020-11-12 17:14:01 UTC (rev 752372) @@ -1,34 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Sander Boom <sanderb...@gmail.com> - -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} -} Copied: ansible-lint/repos/community-staging-any/PKGBUILD (from rev 752370, ansible-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-12 17:14:01 UTC (rev 752372) @@ -0,0 +1,34 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Sander Boom <sanderb...@gmail.com> + +pkgname=ansible-lint +pkgver=4.3.7 +pkgrel=3 +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} +}