[arch-commits] Commit in yamllint/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Tue Feb 9 06:01:11 UTC 2021
Date: Tuesday, February 9, 2021 @ 06:01:11
Author: polyzen
Revision: 850793
upgpkg: yamllint 1.26.0-2: Move setuptools to makedeps
https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/
Modified:
yamllint/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-09 05:54:43 UTC (rev 850792)
+++ PKGBUILD 2021-02-09 06:01:11 UTC (rev 850793)
@@ -2,17 +2,23 @@
pkgname=yamllint
pkgver=1.26.0
-pkgrel=1
+pkgrel=2
pkgdesc='Linter for YAML files'
arch=('any')
url=https://github.com/adrienverge/yamllint
license=('GPL3')
-depends=('python-pathspec' 'python-setuptools' 'python-yaml')
+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
More information about the arch-commits
mailing list