diff options
author | 2023-03-14 17:14:46 +0100 | |
---|---|---|
committer | 2023-03-14 17:55:49 +0100 | |
commit | cb0738a21d9e41c19c64f252b921f54619b88c92 (patch) | |
tree | 6f3b7d84c234dfdc9686fd7311132eb605a36e06 /dev-python/wheel/wheel-0.40.0.ebuild | |
parent | dev-python/types-gdb: Bump to 12.1.4.4 (diff) | |
download | gentoo-cb0738a21d9e41c19c64f252b921f54619b88c92.tar.gz gentoo-cb0738a21d9e41c19c64f252b921f54619b88c92.tar.bz2 gentoo-cb0738a21d9e41c19c64f252b921f54619b88c92.zip |
dev-python/wheel: Bump to 0.40.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/wheel/wheel-0.40.0.ebuild')
-rw-r--r-- | dev-python/wheel/wheel-0.40.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/wheel/wheel-0.40.0.ebuild b/dev-python/wheel/wheel-0.40.0.ebuild new file mode 100644 index 000000000000..1100190f6e16 --- /dev/null +++ b/dev-python/wheel/wheel-0.40.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" + +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 +} |