Date: Sunday, December 13, 2020 @ 09:47:23 Author: daurnimator Revision: 773969
archrelease: copy trunk to community-any Added: yq/repos/community-any/PKGBUILD (from rev 773968, yq/trunk/PKGBUILD) Deleted: yq/repos/community-any/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-13 09:46:26 UTC (rev 773968) +++ PKGBUILD 2020-12-13 09:47:23 UTC (rev 773969) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Caleb Maclennan <ca...@alerque.com> - -pkgname=yq -pkgver=2.11.1 -pkgrel=1 -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-argcomplete') -checkdepends=('python-toml') -optdepends=('python-toml') -source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('74f64e3784a34d8a18efd8addc83cf5ca3478a0a69517d70fd9158a3809f99e0') -b2sums=('4b51652958121c16462304d21ebe545cca835b6c189a6d7550c7ea0ffc8b7088a02eb61ee412295d85d502a339ec3ccbc67b8dc12cd45a07246cbafa7d7feaf7') - -build() { - cd $pkgname-$pkgver - python setup.py build -} - -check() { - cd $pkgname-$pkgver - python test/test.py -} - -package() { - cd $pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: yq/repos/community-any/PKGBUILD (from rev 773968, yq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-13 09:47:23 UTC (rev 773969) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Maintainer: Polyzen <poly...@archlinux.org> +# Contributor: Caleb Maclennan <ca...@alerque.com> + +pkgname=yq +pkgver=2.11.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-argcomplete') +checkdepends=('python-toml') +optdepends=('python-toml') +source=("https://files.pythonhosted.org/packages/source/y/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('74f64e3784a34d8a18efd8addc83cf5ca3478a0a69517d70fd9158a3809f99e0') +b2sums=('4b51652958121c16462304d21ebe545cca835b6c189a6d7550c7ea0ffc8b7088a02eb61ee412295d85d502a339ec3ccbc67b8dc12cd45a07246cbafa7d7feaf7') + +build() { + cd $pkgname-$pkgver + python setup.py build +} + +check() { + cd $pkgname-$pkgver + python test/test.py +} + +package() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}