From 60bd073713121b0e0daebd595269c43b53adf214 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Sat, 6 Jan 2024 19:04:05 +0200 Subject: build-support/python-bootstrap: Add python-jaraco.functools --- build-support/python-bootstrap/PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/build-support/python-bootstrap/PKGBUILD b/build-support/python-bootstrap/PKGBUILD index 8f956e13..d6f2256e 100644 --- a/build-support/python-bootstrap/PKGBUILD +++ b/build-support/python-bootstrap/PKGBUILD @@ -1,9 +1,9 @@ # Maintainer pkgbase=python-bootstrap -pkgname=(python-build python-installer python-tomli python-pep517 python-setuptools python-flit-core python-wheel python-typing_extensions python-packaging python-setuptools-scm) +pkgname=(python-build python-installer python-tomli python-pep517 python-setuptools python-flit-core python-wheel python-typing_extensions python-packaging python-setuptools-scm python-jaraco.functools) pkgver=0.1 -pkgrel=4 +pkgrel=5 arch=(any) license=('custom') makedepends=(python git) @@ -22,6 +22,7 @@ source=( "${pkgbase}-typing_extensions::git+https://github.com/python/typing_extensions.git" "${pkgbase}-packaging::git+https://github.com/pypa/packaging.git" "${pkgbase}-setuptools-scm::git+https://github.com/pypa/setuptools_scm.git" + "${pkgbase}-jaraco.functools::git+https://github.com/jaraco/jaraco.functools.git" ) sha256sums=('SKIP' 'SKIP' @@ -33,6 +34,7 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' + 'SKIP' 'SKIP') prepare() { @@ -49,6 +51,7 @@ prepare() { git config submodule."external/typing_extensions".url "${srcdir}/${pkgbase}"-typing_extensions git config submodule."external/packaging".url "${srcdir}/${pkgbase}"-packaging git config submodule."external/setuptools_scm".url "${srcdir}/${pkgbase}"-setuptools-scm + git config submodule."external/jaraco.functools".url "${srcdir}/${pkgbase}"-jaraco.functools git -c protocol.file.allow=always submodule update git submodule update --init --recursive @@ -130,3 +133,9 @@ package_python-packaging() { python -m bootstrap.install dist/packaging-*-py3-none-any.whl -d $pkgdir } +package_python-jaraco.functools() { + pkgdesc="Functools like those found in stdlib" + depends=(python python-more-itertools) + cd python-bootstrap + python -m bootstrap.install dist/jaraco.functools-*-py3-none-any.whl -d $pkgdir +} -- cgit v1.2.3-70-g09d2