index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-05-12 18:50:06 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-05-12 18:50:06 +0200 |
commit | 2da797e499aa584c45488c1b25b88c56177fd736 (patch) | |
tree | 86551bef21054518dd54129787bf4584d5f03ba3 | |
parent | 04054e4b51224a8b2dbc3196ba5437bcf5eab30c (diff) |
-rw-r--r-- | build-support/python-bootstrap/PKGBUILD | 14 | ||||
-rw-r--r-- | build-support/python-bootstrap/add-packaging.patch | 15 |
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() { diff --git a/build-support/python-bootstrap/add-packaging.patch b/build-support/python-bootstrap/add-packaging.patch new file mode 100644 index 00000000..191979d2 --- /dev/null +++ b/build-support/python-bootstrap/add-packaging.patch @@ -0,0 +1,15 @@ +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()] |