Date: Wednesday, April 12, 2023 @ 06:24:27
Author: polyzen
Revision: 1444789
archrelease: copy trunk to community-staging-any
Added:
python-click/repos/community-staging-any/PKGBUILD
(from rev 1444788, python-click/trunk/PKGBUILD)
Deleted:
python-click/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-12 06:24:06 UTC (rev 1444788)
+++ PKGBUILD 2023-04-12 06:24:27 UTC (rev 1444789)
@@ -1,35 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Carl George < arch at cgtx dot us >
-
-pkgname=python-click
-_realname=click
-pkgver=8.1.3
-pkgrel=2
-pkgdesc="Simple wrapper around optparse for powerful command line utilities"
-arch=("any")
-url='https://click.palletsprojects.com/'
-license=("BSD")
-depends=("python")
-makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
-checkdepends=('python-pytest')
-source=("https://github.com/pallets/click/archive/${pkgver}/$pkgname-$pkgver.tar.gz")
-sha512sums=('29194ee3877e013a2fe1037870522c5b5a78136ca60da9109f29312a3e52c767867f5eec2d90ca385cd0508f77555b9d6ad8f5141dc31900ddc9307a2207a818')
-
-build() {
- cd "${srcdir}/${_realname}-${pkgver}"
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd "${srcdir}/${_realname}-${pkgver}"
- PYTHONPATH="build/lib" pytest
-}
-
-package() {
- cd "${srcdir}/${_realname}-${pkgver}"
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm 644 "LICENSE.rst" -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-click/repos/community-staging-any/PKGBUILD (from rev 1444788,
python-click/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-12 06:24:27 UTC (rev 1444789)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Carl George < arch at cgtx dot us >
+
+pkgname=python-click
+_realname=click
+pkgver=8.1.3
+pkgrel=3
+pkgdesc="Simple wrapper around optparse for powerful command line utilities"
+arch=("any")
+url='https://click.palletsprojects.com/'
+license=("BSD")
+depends=("python")
+makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
+checkdepends=('python-pytest')
+source=("https://github.com/pallets/click/archive/${pkgver}/$pkgname-$pkgver.tar.gz")
+sha512sums=('29194ee3877e013a2fe1037870522c5b5a78136ca60da9109f29312a3e52c767867f5eec2d90ca385cd0508f77555b9d6ad8f5141dc31900ddc9307a2207a818')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ # https://github.com/pallets/click/issues/2489
+ PYTHONPATH="build/lib" pytest -k 'not test_bytes_args'
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm 644 "LICENSE.rst" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et: