[arch-commits] Commit in yamllint/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:56:41 UTC 2020
Date: Monday, November 9, 2020 @ 16:56:40
Author: foutrelis
Revision: 747724
archrelease: copy trunk to community-staging-any
Added:
yamllint/repos/community-staging-any/
yamllint/repos/community-staging-any/PKGBUILD
(from rev 747723, yamllint/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: yamllint/repos/community-staging-any/PKGBUILD (from rev 747723, yamllint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:56:40 UTC (rev 747724)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=yamllint
+pkgver=1.25.0
+pkgrel=2
+pkgdesc='Linter for YAML files'
+arch=('any')
+url=https://github.com/adrienverge/yamllint
+license=('GPL3')
+depends=('python-pathspec' 'python-setuptools' 'python-yaml')
+checkdepends=('python-nose')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('b1549cbe5b47b6ba67bdeea31720f5c51431a4d0c076c1557952d841f7223519')
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $pkgname-$pkgver
+ python -m unittest discover tests
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list