[arch-commits] Commit in ansible-lint/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Dec 15 20:12:20 UTC 2020
Date: Tuesday, December 15, 2020 @ 20:12:20
Author: jelle
Revision: 776154
archrelease: copy trunk to community-any
Added:
ansible-lint/repos/community-any/PKGBUILD
(from rev 776153, ansible-lint/trunk/PKGBUILD)
Deleted:
ansible-lint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-15 20:12:11 UTC (rev 776153)
+++ PKGBUILD 2020-12-15 20:12:20 UTC (rev 776154)
@@ -1,34 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Sander Boom <sanderboom at gmail.com>
-
-pkgname=ansible-lint
-pkgver=4.3.7
-pkgrel=4
-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' 'python-packaging')
-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-any/PKGBUILD (from rev 776153, ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-15 20:12:20 UTC (rev 776154)
@@ -0,0 +1,34 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Sander Boom <sanderboom at gmail.com>
+
+pkgname=ansible-lint
+pkgver=4.3.7
+pkgrel=5
+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' 'python-packaging')
+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}
+ PYTHONHASHSEED=0 python 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