Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/python-bootstrap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/python-bootstrap/PKGBUILD')
-rw-r--r--build-support/python-bootstrap/PKGBUILD14
1 files changed, 12 insertions, 2 deletions
diff --git a/build-support/python-bootstrap/PKGBUILD b/build-support/python-bootstrap/PKGBUILD
index 8f71ada5..6949646a 100644
--- a/build-support/python-bootstrap/PKGBUILD
+++ b/build-support/python-bootstrap/PKGBUILD
@@ -12,8 +12,12 @@ url="https://gitlab.archlinux.org/archlinux/python-bootstrap"
depends=('python')
makedepends=('git')
provides=('python-build' 'python-flit' 'python-flit-core' 'python-installer''python-setuptools' 'python-wheel' 'python-tomli')
-source=("git+https://gitlab.archlinux.org/archlinux/python-bootstrap/#branch=$pkgver" 'pep517.patch')
-sha512sums=('SKIP' '24b7105c1f2537ed14a97dfc43002f66bdb3bf70b4d7512ae13d43cd752b30f7c87f945310601aedecba721f17ebd20a1e61ef7be3591f276e2336e4c5807e45')
+source=("git+https://gitlab.archlinux.org/archlinux/python-bootstrap/#branch=$pkgver"
+'pep517.patch' 'add-packaging.patch')
+sha512sums=('SKIP'
+'24b7105c1f2537ed14a97dfc43002f66bdb3bf70b4d7512ae13d43cd752b30f7c87f945310601aedecba721f17ebd20a1e61ef7be3591f276e2336e4c5807e45'
+'0f514fc30fc62981633b6cf60ead7e128cf611e7c25b4d9a5fcdad57d507b4dd65ed43c0d69f0061f9a582c78cab6dd3370d79851d39335b3e69289b75d6bfeb'
+)
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
@@ -39,6 +43,11 @@ prepare() {
cd ../..
git submodule add https://github.com/pypa/pyproject-hooks external/pyproject-hooks
patch -Np1 -i "${srcdir}/pep517.patch"
+ git submodule add https://github.com/pypa/packaging external/packaging
+ cd external/packaging
+ git checkout d563917280d65a6ce2e622bd3d07438e1ee259f3
+ cd ../..
+ patch -Np1 -i "${srcdir}/add-packaging.patch"
}
build() {
@@ -54,6 +63,7 @@ pyproject_hooks-1.0.0-py3-none-any.whl
setuptools-67.0.0.post20230512-py3-none-any.whl
tomli-2.0.1-py3-none-any.whl
wheel-0.38.4-py3-none-any.whl
+packaging-23.1-py3-none-any.whl
)
package() {