[arch-commits] Commit in yq/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Tue Feb 9 08:42:44 UTC 2021


    Date: Tuesday, February 9, 2021 @ 08:42:44
  Author: polyzen
Revision: 850826

upgpkg: yq 2.12.0-2: Move setuptools to makedeps

https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/
https://github.com/kislyuk/yq/issues/112

Modified:
  yq/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-09 08:35:16 UTC (rev 850825)
+++ PKGBUILD	2021-02-09 08:42:44 UTC (rev 850826)
@@ -5,17 +5,23 @@
 
 pkgname=yq
 pkgver=2.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Command-line YAML/XML processor - jq wrapper for YAML/XML documents"
 arch=('any')
 url="https://github.com/kislyuk/yq"
 license=('Apache')
-depends=('jq' 'python-setuptools' 'python-yaml' 'python-xmltodict' 'python-toml'
+depends=('jq' 'python-yaml' 'python-xmltodict' 'python-toml'
          'python-argcomplete')
+makedepends=('python-setuptools')
 source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz")
 sha256sums=('1d2ad403504d306b5258b86c698f9856d7ad58b7bb17a2b875691a6a7b8c4c20')
 b2sums=('a314b54628e1865df68dadcbec8e59e16c1e57205e2b9f2b364bb6bee91563dc3da30c1e3a7ac9e2656899ee8ad004600291a845f59fbe13356f0cfb69de3e79')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/"setuptools",/d' setup.py
+}
+
 build() {
   cd $pkgname-$pkgver
   python setup.py build



More information about the arch-commits mailing list