From 1e46f63f98128386e592dae6623443764c90870e Mon Sep 17 00:00:00 2001
From: Andreas Baumann <mail@andreasbaumann.cc>
Date: Thu, 11 May 2023 10:26:56 +0200
Subject: python-bootstrap moved to correct location

---
 build-support/python-bootstrap/PKGBUILD | 46 +++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 build-support/python-bootstrap/PKGBUILD

(limited to 'build-support/python-bootstrap')

diff --git a/build-support/python-bootstrap/PKGBUILD b/build-support/python-bootstrap/PKGBUILD
new file mode 100644
index 00000000..f0d8b702
--- /dev/null
+++ b/build-support/python-bootstrap/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Eli Schwartz <eschwartz@archlinux.org>
+
+pkgname=python-bootstrap
+pkgver=3.11
+_commit=f11f8b16e28ef2e21c1f454d8925b2c512d32d37
+pkgrel=1
+pkgdesc="Python Bootstrap"
+arch=('any')
+license=('PSF')
+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")
+sha512sums=('SKIP')
+
+export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
+
+prepare() {
+  cd "${srcdir}/${pkgname}"
+  git submodule init; git submodule update
+}
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  python -m bootstrap.build
+}
+
+wheels=(
+        build-0.9.0-py3-none-any.whl
+        flit_core-3.7.1-py3-none-any.whl
+        installer-0.5.1-py3-none-any.whl
+        pep517-0.13.0-py3-none-any.whl
+        setuptools-58.3.0.post20230511-py3-none-any.whl
+        tomli-2.0.1-py3-none-any.whl
+        wheel-0.37.0-py2.py3-none-any.whl
+)
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  for wheel in "${wheels[@]}"; do
+    python -m bootstrap.install --destdir="$pkgdir" "dist/$wheel"
+  done
+}
-- 
cgit v1.2.3-70-g09d2