From 0e7520c71adcb3ffcfdc36202dc3eab1b8467e50 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 11 Feb 2024 13:56:47 -0800 Subject: [PATCH 1/5] build/pkgs/python_build: Change to a normal standard package --- build/pkgs/python_build/checksums.ini | 5 +++++ .../python_build/{requirements.txt => install-requires.txt} | 0 build/pkgs/python_build/package-version.txt | 1 + build/pkgs/python_build/type | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 build/pkgs/python_build/checksums.ini rename build/pkgs/python_build/{requirements.txt => install-requires.txt} (100%) create mode 100644 build/pkgs/python_build/package-version.txt diff --git a/build/pkgs/python_build/checksums.ini b/build/pkgs/python_build/checksums.ini new file mode 100644 index 00000000000..1316cf9cbe9 --- /dev/null +++ b/build/pkgs/python_build/checksums.ini @@ -0,0 +1,5 @@ +tarball=build-VERSION-py3-none-any.whl +sha1=14566af639ccc4387c8dd5b477fdb3ad9d98f92d +md5=505b77c45a8f2b92b8a2eca43c14a688 +cksum=205854257 +upstream_url=https://pypi.io/packages/py3/b/build/build-VERSION-py3-none-any.whl diff --git a/build/pkgs/python_build/requirements.txt b/build/pkgs/python_build/install-requires.txt similarity index 100% rename from build/pkgs/python_build/requirements.txt rename to build/pkgs/python_build/install-requires.txt diff --git a/build/pkgs/python_build/package-version.txt b/build/pkgs/python_build/package-version.txt new file mode 100644 index 00000000000..21e8796a09d --- /dev/null +++ b/build/pkgs/python_build/package-version.txt @@ -0,0 +1 @@ +1.0.3 diff --git a/build/pkgs/python_build/type b/build/pkgs/python_build/type index 134d9bc32d5..a6a7b9cd726 100644 --- a/build/pkgs/python_build/type +++ b/build/pkgs/python_build/type @@ -1 +1 @@ -optional +standard From b9c6d3303373934b64d631cf7bca73e86b84e8e0 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 11 Feb 2024 14:37:06 -0800 Subject: [PATCH 2/5] build/pkgs/pyproject_hooks: New, python_build dependency --- build/pkgs/pyproject_hooks/SPKG.rst | 16 ++++++++++++++++ build/pkgs/pyproject_hooks/checksums.ini | 5 +++++ build/pkgs/pyproject_hooks/dependencies | 4 ++++ build/pkgs/pyproject_hooks/install-requires.txt | 1 + build/pkgs/pyproject_hooks/package-version.txt | 1 + build/pkgs/pyproject_hooks/type | 1 + 6 files changed, 28 insertions(+) create mode 100644 build/pkgs/pyproject_hooks/SPKG.rst create mode 100644 build/pkgs/pyproject_hooks/checksums.ini create mode 100644 build/pkgs/pyproject_hooks/dependencies create mode 100644 build/pkgs/pyproject_hooks/install-requires.txt create mode 100644 build/pkgs/pyproject_hooks/package-version.txt create mode 100644 build/pkgs/pyproject_hooks/type diff --git a/build/pkgs/pyproject_hooks/SPKG.rst b/build/pkgs/pyproject_hooks/SPKG.rst new file mode 100644 index 00000000000..31d8461a48d --- /dev/null +++ b/build/pkgs/pyproject_hooks/SPKG.rst @@ -0,0 +1,16 @@ +pyproject_hooks: Wrappers to call pyproject.toml-based build backend hooks. +=========================================================================== + +Description +----------- + +Wrappers to call pyproject.toml-based build backend hooks. + +License +------- + +Upstream Contact +---------------- + +https://pypi.org/project/pyproject_hooks/ + diff --git a/build/pkgs/pyproject_hooks/checksums.ini b/build/pkgs/pyproject_hooks/checksums.ini new file mode 100644 index 00000000000..f35e59aa59f --- /dev/null +++ b/build/pkgs/pyproject_hooks/checksums.ini @@ -0,0 +1,5 @@ +tarball=pyproject_hooks-VERSION-py3-none-any.whl +sha1=6c99163c52786fb97eac8b4e38cc13fa3af141a9 +md5=68020c2619c7a744dcee12b670c9f413 +cksum=3405759428 +upstream_url=https://pypi.io/packages/py3/p/pyproject_hooks/pyproject_hooks-VERSION-py3-none-any.whl diff --git a/build/pkgs/pyproject_hooks/dependencies b/build/pkgs/pyproject_hooks/dependencies new file mode 100644 index 00000000000..47296a7bace --- /dev/null +++ b/build/pkgs/pyproject_hooks/dependencies @@ -0,0 +1,4 @@ + | $(PYTHON_TOOLCHAIN) $(PYTHON) + +---------- +All lines of this file are ignored except the first. diff --git a/build/pkgs/pyproject_hooks/install-requires.txt b/build/pkgs/pyproject_hooks/install-requires.txt new file mode 100644 index 00000000000..1f783738e6f --- /dev/null +++ b/build/pkgs/pyproject_hooks/install-requires.txt @@ -0,0 +1 @@ +pyproject_hooks diff --git a/build/pkgs/pyproject_hooks/package-version.txt b/build/pkgs/pyproject_hooks/package-version.txt new file mode 100644 index 00000000000..3eefcb9dd5b --- /dev/null +++ b/build/pkgs/pyproject_hooks/package-version.txt @@ -0,0 +1 @@ +1.0.0 diff --git a/build/pkgs/pyproject_hooks/type b/build/pkgs/pyproject_hooks/type new file mode 100644 index 00000000000..a6a7b9cd726 --- /dev/null +++ b/build/pkgs/pyproject_hooks/type @@ -0,0 +1 @@ +standard From 36c1b026161a233957626fd99959e0af8ab31907 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 9 Apr 2024 20:21:44 -0700 Subject: [PATCH 3/5] for a in build/pkgs/*; do (cd build/pkgs/zlib && if [ -r install-requires.txt ]; then git mv install-requires.txt version_requirements.txt; fi); done --- .../{install-requires.txt => version_requirements.txt} | 0 .../{install-requires.txt => version_requirements.txt} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename build/pkgs/pyproject_hooks/{install-requires.txt => version_requirements.txt} (100%) rename build/pkgs/python_build/{install-requires.txt => version_requirements.txt} (100%) diff --git a/build/pkgs/pyproject_hooks/install-requires.txt b/build/pkgs/pyproject_hooks/version_requirements.txt similarity index 100% rename from build/pkgs/pyproject_hooks/install-requires.txt rename to build/pkgs/pyproject_hooks/version_requirements.txt diff --git a/build/pkgs/python_build/install-requires.txt b/build/pkgs/python_build/version_requirements.txt similarity index 100% rename from build/pkgs/python_build/install-requires.txt rename to build/pkgs/python_build/version_requirements.txt From c186c99b2c52bde4ed6481d3d10a4076a27fd42a Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 9 Apr 2024 20:22:06 -0700 Subject: [PATCH 4/5] build/pkgs/python_build: Update to 1.2.1 --- build/pkgs/python_build/checksums.ini | 6 +++--- build/pkgs/python_build/package-version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/pkgs/python_build/checksums.ini b/build/pkgs/python_build/checksums.ini index 1316cf9cbe9..df10f8d3196 100644 --- a/build/pkgs/python_build/checksums.ini +++ b/build/pkgs/python_build/checksums.ini @@ -1,5 +1,5 @@ tarball=build-VERSION-py3-none-any.whl -sha1=14566af639ccc4387c8dd5b477fdb3ad9d98f92d -md5=505b77c45a8f2b92b8a2eca43c14a688 -cksum=205854257 +sha1=950bf228726af5041adbe2bb04a7ca74e27bce60 +md5=6f34942a01c3307b42556ee7628f3d1d +cksum=4005002353 upstream_url=https://pypi.io/packages/py3/b/build/build-VERSION-py3-none-any.whl diff --git a/build/pkgs/python_build/package-version.txt b/build/pkgs/python_build/package-version.txt index 21e8796a09d..6085e946503 100644 --- a/build/pkgs/python_build/package-version.txt +++ b/build/pkgs/python_build/package-version.txt @@ -1 +1 @@ -1.0.3 +1.2.1 From 3d026342df5fed10cd91aa931c567d16bbfc2e63 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Tue, 9 Apr 2024 20:28:16 -0700 Subject: [PATCH 5/5] build/pkgs/python_build/dependencies: Update --- build/pkgs/python_build/dependencies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pkgs/python_build/dependencies b/build/pkgs/python_build/dependencies index b72a6d1c776..af994ec1059 100644 --- a/build/pkgs/python_build/dependencies +++ b/build/pkgs/python_build/dependencies @@ -1,4 +1,4 @@ - pyparsing tomli packaging | $(PYTHON_TOOLCHAIN) $(PYTHON) +tomli packaging pyproject_hooks importlib_metadata | $(PYTHON_TOOLCHAIN) $(PYTHON) ---------- All lines of this file are ignored except the first.