Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-01-06 19:04:05 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-01-06 19:04:05 +0200
commit60bd073713121b0e0daebd595269c43b53adf214 (patch)
treedba40c34d8f488ffc738916878b5450b503a053b /build-support
parenta923338580ba9855596ac1befd49cc2ca727fce2 (diff)
build-support/python-bootstrap: Add python-jaraco.functools
Diffstat (limited to 'build-support')
-rw-r--r--build-support/python-bootstrap/PKGBUILD13
1 files 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
+}