Date: Friday, April 7, 2023 @ 17:19:30
Author: felixonmars
Revision: 1441419
archrelease: copy trunk to community-staging-any
Added:
python-jaraco.itertools/repos/community-staging-any/
python-jaraco.itertools/repos/community-staging-any/PKGBUILD
(from rev 1441418, python-jaraco.itertools/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: python-jaraco.itertools/repos/community-staging-any/PKGBUILD (from rev
1441418, python-jaraco.itertools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 17:19:30 UTC (rev 1441419)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=jaraco.itertools
+pkgname=python-jaraco.itertools
+pkgver=6.2.1
+pkgrel=4
+pkgdesc="Itertools for Python"
+arch=(any)
+url="https://github.com/jaraco/jaraco.itertools"
+license=(MIT)
+depends=(
+ python
+ python-inflect
+ python-more-itertools
+)
+makedepends=(
+ python-build
+ python-installer
+ python-setuptools
+ python-setuptools-scm
+ python-toml
+ python-wheel
+)
+checkdepends=(
+ python-pytest
+ python-pytest-enabler
+)
+conflicts=(python-jaraco)
+replaces=(python-jaraco)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('6098edb37c6b8023f3794d42588a13bf75b2ca02b40ff9795c846bcbe0c1b46c')
+b2sums=('7bf4b3818bcf66ad49643aaa1c606953d8d920c970fa4a4159796c042a1d5b77e53240e8a260b24b337cd65398758d2392fe2a5f73cf784aeeac9b4d0a128181')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ # NOTE: there are no actual tests to run
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}