[arch-commits] Commit in yamllint/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 06:01:30 UTC 2021


    Date: Tuesday, February 9, 2021 @ 06:01:30
  Author: polyzen
Revision: 850794

archrelease: copy trunk to community-any

Added:
  yamllint/repos/community-any/PKGBUILD
    (from rev 850793, yamllint/trunk/PKGBUILD)
Deleted:
  yamllint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 38 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-09 06:01:11 UTC (rev 850793)
+++ PKGBUILD	2021-02-09 06:01:30 UTC (rev 850794)
@@ -1,32 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=yamllint
-pkgver=1.26.0
-pkgrel=1
-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=('b0e4c89985c7f5f8451c2eb8c67d804d10ac13a4abe031cbf49bdf3465d01087')
-b2sums=('34eb47ee092173551d196d3399168e60b34f2a016894777054f361de1da06089a758a33b710a0564c49f11784b6e19453763ee597e54877a44db6477fcced443')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python -m unittest discover tests
-}
-
-package() {
-  cd $pkgname-$pkgver
-  export PYTHONHASHSEED=0
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set sw=2 et:

Copied: yamllint/repos/community-any/PKGBUILD (from rev 850793, yamllint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-09 06:01:30 UTC (rev 850794)
@@ -0,0 +1,38 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=yamllint
+pkgver=1.26.0
+pkgrel=2
+pkgdesc='Linter for YAML files'
+arch=('any')
+url=https://github.com/adrienverge/yamllint
+license=('GPL3')
+depends=('python-pathspec' 'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('b0e4c89985c7f5f8451c2eb8c67d804d10ac13a4abe031cbf49bdf3465d01087')
+b2sums=('34eb47ee092173551d196d3399168e60b34f2a016894777054f361de1da06089a758a33b710a0564c49f11784b6e19453763ee597e54877a44db6477fcced443')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/setuptools/d' setup.cfg
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python -m unittest discover tests
+}
+
+package() {
+  cd $pkgname-$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set sw=2 et:


More information about the arch-commits mailing list