diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-17 11:28:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-17 11:39:50 +0200 |
commit | 1ad74f14d4a21948968ede13d6bf02b9849a0025 (patch) | |
tree | 87f2ef91310f55b45759096a52a0fac3cf0d1a1b /dev-python/gpep517 | |
parent | net-misc/wget2: proper configure flag for lzip (diff) | |
download | gentoo-1ad74f14d4a21948968ede13d6bf02b9849a0025.tar.gz gentoo-1ad74f14d4a21948968ede13d6bf02b9849a0025.tar.bz2 gentoo-1ad74f14d4a21948968ede13d6bf02b9849a0025.zip |
dev-python/gpep517: Bump to v7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/gpep517')
-rw-r--r-- | dev-python/gpep517/Manifest | 1 | ||||
-rw-r--r-- | dev-python/gpep517/gpep517-7.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index bf4d0cba7c7b..51f3c3063225 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1 +1,2 @@ DIST gpep517-6.gh.tar.gz 9757 BLAKE2B f1b39f30b7d775330bddfd353610de7c26e34c5572cdaedbb078cc61c711e90e1c520b5e6e5532b0879ccc1eb7025a793c6f8d9745d93967eabbdd9edef69c6a SHA512 681108dab418d0d2d5b017f19bf8802479655f22eb6b72e9d78c6bbd2d08583751a465377c2006c507f0ea258d2d46bf9300865896af4458a763b56a86abe329 +DIST gpep517-7.gh.tar.gz 10606 BLAKE2B ca4dfbd79d3e360e9dad1aed7f6ccbfb5e1e3b250badacc38a201b5158235d84b6482676bb7885f6cbd82720ff3749bd9961a01d9717aa9dc213e70f4fe06ced SHA512 d6a36c83ede5525c598390000ced6c36cfb258289626e35f8eccfff4aada5871a8a0b9b53b09379e3ab63782a903eaa4396cfb089e3d30f49e3ef6eb0bfcc351 diff --git a/dev-python/gpep517/gpep517-7.ebuild b/dev-python/gpep517/gpep517-7.ebuild new file mode 100644 index 000000000000..ee64cb1d660f --- /dev/null +++ b/dev-python/gpep517/gpep517-7.ebuild @@ -0,0 +1,41 @@ +# Copyright 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=no +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A backend script to aid installing Python packages in Gentoo" +HOMEPAGE=" + https://pypi.org/project/gpep517/ + https://github.com/mgorny/gpep517/ +" +SRC_URI=" + https://github.com/mgorny/gpep517/archive/v${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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} |