diff options
Diffstat (limited to 'dev-python/wheel')
-rw-r--r-- | dev-python/wheel/Manifest | 4 | ||||
-rw-r--r-- | dev-python/wheel/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/wheel/wheel-0.38.1.ebuild | 66 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index 1cfc5d231539..f81c62af1c03 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,5 +1,7 @@ DIST wheel-0.37.1.gh.tar.gz 68751 BLAKE2B 55919649f82668565d3b5907d14d0758984bb7d29d8857807ad034288ed8c9e8660957dc16f418f18408e89a97cf0d3c30df874a17f56deb56918388b18246a7 SHA512 9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457 DIST wheel-0.38.0.gh.tar.gz 68696 BLAKE2B 38dbc8ba7cf67d202c6c98b277e590b3b31b46b698f59f988af1710e9fa6e5d2125378029475060cf3142cd9666bb318005619d085ea2e8b501bb10cd9694fe3 SHA512 0ffdf531c03d1f0866632002b163fdf8642b613604e74d1cfa5844e8c327946baf303bc0410fc7ec034f8a79cb4ad59536dfdaaa5cc8fa23a3b7d21faf5e6161 +DIST wheel-0.38.1.gh.tar.gz 69293 BLAKE2B 68f65a8a50e18e869106aa535faaebf6445bee8ccf31a78519ed325f1b98cbabc7e4a34028c0211324852163666481bc167eeeaee5f3febefbb008c9286f9d05 SHA512 1818b50a4ee50861aac3c9ac4058c5fee2de4a428ca04e7a9b1ce570dab6f1b64f4528f812aa23e87705ed15e360d0bd5b01523bd4360875c25054b1ccbf9179 EBUILD wheel-0.37.1-r1.ebuild 1580 BLAKE2B 72328d5044bdfb5ba5bf171cba5e783a6bf3bd08adcd01cef117122849fa035f7cbf1220852a639799cc2b1f25ff8487ec3bd3bd714ba4249c0aad2f1e89cf73 SHA512 4e0c40b131019be19d6cd47cef04181745abfeea461fcdc6e698b7724f3cd0159ac877acfe81f715ef95c0dd3d6b475cc24c5377e86070a362aeb9e2aa3dd3d3 EBUILD wheel-0.38.0.ebuild 1468 BLAKE2B 7246978d927b63a37167e815bfd1d88124b927bb905114d2a3a94894d120253170844c2a911e41a9e93ebbc60b33b3b0614be1d9917cd4b7c8926c420e11f037 SHA512 7c83a56754208a125cb43b312b7a6e0298b875ecb2edf1f64d31032b100fefba8db8d458cc6cd464333430189b9c97bdf367641d4514f5bd77069e6282c16477 -MISC metadata.xml 333 BLAKE2B b1d29210926de97a88c7287db920148c657fedc8a9f031a25b7aefaccc0195de53e2d30f756fefa79c2d80f06614d151261b68193fb5d1eafb7b866306749f43 SHA512 886dbf9547d18ea17c0ccab3dc811c673b567bdeb46d2f59badcd4e68c5738a0c49116187940f63eadaa9fb02da8324e12b949f5dbef6e603a2f12ac4f82b166 +EBUILD wheel-0.38.1.ebuild 1521 BLAKE2B 8a7d51d4045bfa65549b1fe3a60ef464634e3a849e25853756b020b24e1a0ec042415b0fcf9182d8a02dbfcbbfdfcf1e691586b46576d7601be750ac927a1ff6 SHA512 5df9e0320c3a3e526854aeda7ba22fb55cad24ce8cc63261253047af806128652a2492d3dab7f351f529d5659dc6432ab920ac09be7bd6aa66c1e8d83cc92c3c +MISC metadata.xml 383 BLAKE2B 352e8b44b3c4f7008c6ac73b8d4454602785ea86ad52ba4601b1c598a0da4831ecdf1b36cfbeaaa1635e52a924a3317d6abff9dc1b26d3f77f04c681208265d3 SHA512 a810c2c7bdff95154a907ce2a00ed2ccc63174e0ba7dea21c6faf62624aac12c2f772557f4f26406693b8963d3bfa77b95dc9e4156493ee991d64021ad8f6c44 diff --git a/dev-python/wheel/metadata.xml b/dev-python/wheel/metadata.xml index 4d35890ff692..2bb9fa8c897f 100644 --- a/dev-python/wheel/metadata.xml +++ b/dev-python/wheel/metadata.xml @@ -8,5 +8,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">wheel</remote-id> + <remote-id type="github">pypa/wheel</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/wheel/wheel-0.38.1.ebuild b/dev-python/wheel/wheel-0.38.1.ebuild new file mode 100644 index 000000000000..24e78cab73d7 --- /dev/null +++ b/dev-python/wheel/wheel-0.38.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" +SRC_URI=" + https://github.com/pypa/wheel/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle packaging + rm -r src/wheel/vendored || die + sed -i -e 's:\.vendored\.::' src/wheel/*.py || die + sed -i -e 's:wheel\.vendored\.::' tests/*.py || die + + distutils-r1_src_prepare +} + +src_configure() { + [[ -e pyproject.toml ]] && + die "Upstream added pyproject.toml, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "wheel" + description = "A built-package format for Python" + dynamic = ["version"] + + [project.scripts] + wheel = "wheel.cli:main" + + [project.entry-points."distutils.commands"] + bdist_wheel = "wheel.bdist_wheel:bdist_wheel" + EOF +} |