[arch-commits] Commit in yamllint/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 02:38:40 UTC 2019


    Date: Monday, November 4, 2019 @ 02:38:39
  Author: felixonmars
Revision: 523024

archrelease: copy trunk to community-staging-any

Added:
  yamllint/repos/community-staging-any/
  yamllint/repos/community-staging-any/PKGBUILD
    (from rev 523023, yamllint/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: yamllint/repos/community-staging-any/PKGBUILD (from rev 523023, yamllint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 02:38:39 UTC (rev 523024)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=yamllint
+pkgver=1.18.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=('d42dbb35b3d28722a8c5c25de4593add0a6215b2732eb6932d89f38482c3d01c')
+
+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