diff options
Diffstat (limited to 'dev-python/uv-build')
| -rw-r--r-- | dev-python/uv-build/Manifest | 7 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.12.ebuild | 99 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.14.ebuild | 99 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.16.ebuild | 99 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.18.ebuild (renamed from dev-python/uv-build/uv-build-0.9.11.ebuild) | 0 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.6.ebuild | 99 | ||||
| -rw-r--r-- | dev-python/uv-build/uv-build-0.9.9.ebuild | 99 |
7 files changed, 1 insertions, 501 deletions
diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index 701a3fb86cc1..723c6c0a456e 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,13 +1,8 @@ DIST uv_build-0.9.10.tar.gz 335784 BLAKE2B 17b88b25081dcd8f95aa1e35f871663ba7f5910ed78c2d2aa09cefca9d4a7db26bf0731fe2ff468ff4ec049c251485116fe38ba48c8b04ea218bbe213d6c7253 SHA512 0a202b67a19054bd01830d2cfb3382cde90c0edf54118b179ef2bf0d4ea04730dafb7683e4bf932c8a3c7779c35b0deec96bb0fa60cde8baf6a39e6c16420378 -DIST uv_build-0.9.11.tar.gz 336407 BLAKE2B 19177207f53ecab919ee875ae5aecd77f76dc971841a2f68f388e69cdfbb4d181a544e1fda08cccea66774839ec7e64600f9cf50d04025b1c827e85777c0f5f7 SHA512 1d0f26d05d1a418c32f4a78de50b256be01de0e4e527f68269ec3f245cbaf943a3f3f140d630a304c9e87463b8202b152e788efc95aa0ca0b87430fa13697079 -DIST uv_build-0.9.12.tar.gz 338778 BLAKE2B b11a99bcd9f130107a2529a204bfcb64a3bdc7116a5f8dacef285f08db1cc999ad55b8b791c820dd6c16ff9d6941c9090dd9d58ffafb3d97da6031c350a736c8 SHA512 84e5231654e133032909a30375ab6284fcad3770140d9e9b9d14ea0fc261f380b7b60be3785acb51e2f09e3cdee1f9c76c8af38daa9ca42513c9728725d6ff44 DIST uv_build-0.9.13.tar.gz 338831 BLAKE2B ba0b4eca782afc52d7303a51ecb18957073c22c0be1dae90ccc044c59cc2a6502c89ce06a5fa6b4014fdd54f641d97523cdad4ab15f19e9ae97541aa51a7a5ec SHA512 6ef5fe809b2fc80778b33c43b3083fdd4320be031818d88f3bf9e7f2dd4bcf59303ccd7b5398eacedbf9c500ae336bf18c7ed15de858b6f369594e14b005d71d -DIST uv_build-0.9.14.tar.gz 339665 BLAKE2B a23fa78e67450d3da7c17ce8828f3c635eddbbe36f2742f7bafa324a140dbf064fd19350263b0a87aec1edba2189a5d219a1e04416659287007598487f678f81 SHA512 ac4d578cf61cfaa4b4b0d38917f6f65de64111d7764bc2e837489fda8c6ce2a18b4256965df9e32b223ce34721bc07fbac7aeef078eaf9cac6d6d3309260180a DIST uv_build-0.9.15.tar.gz 354021 BLAKE2B a47350ead8d9672d09967bbd7f9ac2f8e231e1dd5afb8c20e59926429792d3872feb1f8e4d7a9318ec447a99ce8add0503dfba0be2b970b2f192f954b472f1a7 SHA512 11fa1ebb1cfc184bd5bedf5e11fb28f14abf118183d94cbe0ac9a1b83f150a69836f0547a671e8cf16527d84ec61dd5b2983efafe5aeccd86e94cda79e1de664 -DIST uv_build-0.9.16.tar.gz 356109 BLAKE2B d1c7269ee1caa4c66e4858871bed357cd3d9251a475cd97699421cba949d915af15b241b8e1ae1b64ff9a496974888590270d77508d91af3f000e3b6c8139b4b SHA512 4031ac8326a16d4eb65948749da157a97c7529713298085d9154ecf974a3469601495e5a0203638a3ea8eeb98ed375ab13348b494637a4452268e5e8b0856410 DIST uv_build-0.9.17.tar.gz 356435 BLAKE2B 902d134f83026a68ef8600b21d9ce8bddab281ab8a34b7b836cce2b27ae393b24ddbafbbfa18332efc5cb8b5883c4a02435b62c29fb50923cb877834a2918e76 SHA512 7b536edcf9917055634f97150dba3e91d0fe71cb49922a3bf13fa480d6d17205de172242bb5e9dbd22de1984aec0c0f78955b37811d84a9ff765254719847d36 +DIST uv_build-0.9.18.tar.gz 356832 BLAKE2B 61df9000eb4eb0dc147b4a18732937a459ff27ecbd6be19e1c4496632b8b79eaedb112dd2599d74ad111899d44070cf0acbdf4bc7b57d864823e202209a2b553 SHA512 093ece50dd3c89c56c7d61f35dbe66319ea23295e21b66b7cdb73ae669956d6a68684a183faad9c59cb96fc2b26747f40609570540b8ff158d1f8f3d32bfd15c DIST uv_build-0.9.4.tar.gz 332506 BLAKE2B 3b65cc80192cf3abc33bcf01735c8b7f937a12f2dcd0557d0ae255ce8bd4cb7dbb15522e73802be0e17ac10c4acad6f9075f12d5f853bb1881b0c13f1d120b33 SHA512 c3be52cfbc1cf5a229df91d9e1125925a534e3fca3041e29a16edd2334fa28b055c73e21a6bd1a3d1d63924cf8f112645300530e8cb6139fb549499ca672070f -DIST uv_build-0.9.6.tar.gz 332253 BLAKE2B 2c3fa23dbe36b0866a3a3194b07ee1212cb00acd785c375646c3eb6c97a63435f28c9e934f56c8d6feeec145aace1aad37550b85ae2a611f521fc25a4c7d3bc1 SHA512 e8d8bbd46c92722261722f3d8865b2b24e695edf52652c1d1310adae3cb437ebef5397feda90e3bf863394ca75cf3024eb90a5f80b2b92af24ede4e2f81b0ce1 DIST uv_build-0.9.7.tar.gz 332992 BLAKE2B 069e615f41e78098b61cc073cb01bc77e0e6778f3054ccfcf36985be3755d7e819cc1bd151e875db109461f423cc855cd336467015ec7103e47346f230564679 SHA512 d61249de00640f6e0ab62ab440a8aae1802acbd6cf8ecb8aca3efe26361d7191d057735ab91c174c5772fc04accf0ae3281f447d010c99e2f458829f4c618abc DIST uv_build-0.9.8.tar.gz 333344 BLAKE2B 4a841b4ca879734917bd09a7d1960dad322baa969fc55ec038c0318e8931ac129a0a3d03865a55ba4fa4a0f4beba398c1715c8faf1a275c1a4458317841253e6 SHA512 2c5f54a887ce7256911dabb54435618354f3caa1a941e77ed5a4b1c7015221a0009da08e8c46d569f92ac263bc544335ed2060de37ac5c27ee0789153f2edbac -DIST uv_build-0.9.9.tar.gz 335127 BLAKE2B f3d9bcefc948a95219cb1b2420bf6056c0a32cd5217ffe443a8d19a3c1bf9c8458dae63d2b2cdf48bcd6b27fd1ebc1a1d0209dd8087a9e84697b3bea9d7eb580 SHA512 1be1d726589a5edf657c55a464cfbb4b109500585de9cd7de90572ddaea5ccdfef1aaba9262352f4533c7962e252ff6f03f093c21b2d54d0168d2bb93a0a1d01 diff --git a/dev-python/uv-build/uv-build-0.9.12.ebuild b/dev-python/uv-build/uv-build-0.9.12.ebuild deleted file mode 100644 index ca71aacd7b98..000000000000 --- a/dev-python/uv-build/uv-build-0.9.12.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.14.ebuild b/dev-python/uv-build/uv-build-0.9.14.ebuild deleted file mode 100644 index ca71aacd7b98..000000000000 --- a/dev-python/uv-build/uv-build-0.9.14.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.16.ebuild b/dev-python/uv-build/uv-build-0.9.16.ebuild deleted file mode 100644 index ca71aacd7b98..000000000000 --- a/dev-python/uv-build/uv-build-0.9.16.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.11.ebuild b/dev-python/uv-build/uv-build-0.9.18.ebuild index ca71aacd7b98..ca71aacd7b98 100644 --- a/dev-python/uv-build/uv-build-0.9.11.ebuild +++ b/dev-python/uv-build/uv-build-0.9.18.ebuild diff --git a/dev-python/uv-build/uv-build-0.9.6.ebuild b/dev-python/uv-build/uv-build-0.9.6.ebuild deleted file mode 100644 index ca71aacd7b98..000000000000 --- a/dev-python/uv-build/uv-build-0.9.6.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.9.9.ebuild b/dev-python/uv-build/uv-build-0.9.9.ebuild deleted file mode 100644 index ca71aacd7b98..000000000000 --- a/dev-python/uv-build/uv-build-0.9.9.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} |
