index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-06-23 07:16:49 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-06-23 07:16:49 +0200 |
commit | 7eea294bd29c2c69a236c65b1210f5e4b4c701d9 (patch) | |
tree | 49bd7f6e01985e914a554267d8ee613a1d743326 /build-support/python-bootstrap | |
parent | 1680b21bfc194eb3951400523dae75ec9c2f30a5 (diff) |
-rw-r--r-- | build-support/python-bootstrap/PKGBUILD | 74 | ||||
-rw-r--r-- | build-support/python-bootstrap/add-packaging.patch | 15 | ||||
-rw-r--r-- | build-support/python-bootstrap/pep517.patch | 36 |
diff --git a/build-support/python-bootstrap/PKGBUILD b/build-support/python-bootstrap/PKGBUILD deleted file mode 100644 index 8aa3803c..00000000 --- a/build-support/python-bootstrap/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Maintainer: Angel Velasquez <angvp@archlinux.org> -# Maintainer: Felix Yan <felixonmars@archlinux.org> -# Contributor: Eli Schwartz <eschwartz@archlinux.org> - -pkgname=python-bootstrap -pkgver=3.11 -pkgrel=1 -pkgdesc="Python Bootstrap" -arch=('pentium4' 'i686' 'i486') -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" -'pep517.patch' 'add-packaging.patch') -sha512sums=('SKIP' -'24b7105c1f2537ed14a97dfc43002f66bdb3bf70b4d7512ae13d43cd752b30f7c87f945310601aedecba721f17ebd20a1e61ef7be3591f276e2336e4c5807e45' -'0f514fc30fc62981633b6cf60ead7e128cf611e7c25b4d9a5fcdad57d507b4dd65ed43c0d69f0061f9a582c78cab6dd3370d79851d39335b3e69289b75d6bfeb' -) - -export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 - -prepare() { - cd "${srcdir}/${pkgname}" - git submodule init; git submodule update - cd external/build - git checkout cd06da25481b9a610f846fa60cb67b5a5fa9a051 - cd ../.. - cd external/flit - git remote remove origin - git remote add origin https://github.com/pypa/flit - git checkout f5704ea31f0fcc579b8518ea85d641651cba4f71 - cd ../.. - cd external/installer - git checkout e9c3b3b052d39c3030c0f792ed4e0311b7468329 - cd ../.. - cd external/setuptools - git checkout 2ab03c77d7d06845c1d76ce870cbc77cfce129ba - cd ../.. - cd external/wheel - git checkout 814c2efe8e40051039c5a6de6945e04ecdd162ee - 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() { - cd "${srcdir}/${pkgname}" - python -m bootstrap.build -} - -wheels=( -build-0.10.0-py3-none-any.whl -flit_core-3.8.0-py3-none-any.whl -installer-0.6.0-py3-none-any.whl -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() { - cd "${srcdir}/${pkgname}" - for wheel in "${wheels[@]}"; do - python -m bootstrap.install --destdir="$pkgdir" "dist/$wheel" - done -} diff --git a/build-support/python-bootstrap/add-packaging.patch b/build-support/python-bootstrap/add-packaging.patch deleted file mode 100644 index 191979d2..00000000 --- a/build-support/python-bootstrap/add-packaging.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -rauN a/bootstrap/__init__.py b/bootstrap/__init__.py ---- a/bootstrap/__init__.py 2023-05-12 18:43:34.179377548 +0200 -+++ b/bootstrap/__init__.py 2023-05-12 18:44:34.389465858 +0200 -@@ -63,6 +63,11 @@ - EXTERNAL / 'pyproject-hooks' / 'src', - {'pyproject_hooks'}, - ), -+ 'packaging': Package( -+ EXTERNAL / 'packaging', -+ EXTERNAL / 'packaging' / 'src', -+ {'packaging'}, -+ ) - } - - EXTRA_PATH = [str(package.module_path) for package in PACKAGES.values()] diff --git a/build-support/python-bootstrap/pep517.patch b/build-support/python-bootstrap/pep517.patch deleted file mode 100644 index be320372..00000000 --- a/build-support/python-bootstrap/pep517.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -rauN a/bootstrap/__init__.py b/bootstrap/__init__.py ---- a/bootstrap/__init__.py 2023-05-12 15:33:25.204135633 +0200 -+++ b/bootstrap/__init__.py 2023-05-12 15:34:02.484190311 +0200 -@@ -58,10 +58,10 @@ - EXTERNAL / 'tomli' / 'src', - {'tomli'}, - ), -- 'pep517': Package( -- EXTERNAL / 'pep517', -- EXTERNAL / 'pep517', -- {'pep517'}, -+ 'pyproject-hooks': Package( -+ EXTERNAL / 'pyproject-hooks', -+ EXTERNAL / 'pyproject-hooks' / 'src', -+ {'pyproject_hooks'}, - ), - } - -@@ -85,7 +85,7 @@ - - # import what we need from the injected modules - import build # noqa: E402 --import pep517 # noqa: E402 -+import pyproject_hooks # noqa: E402 - - - _logger = logging.getLogger(__name__) -@@ -102,7 +102,7 @@ - ) -> None: - extra_environ = dict(extra_environ) if extra_environ else {} - extra_environ.update(PACKAGE_PATH_ENV) -- pep517.default_subprocess_runner(cmd, cwd, extra_environ) -+ pyproject_hooks.default_subprocess_runner(cmd, cwd, extra_environ) - - - def install_package_egginfo(name: str) -> None: |