diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-12 13:22:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-12 13:24:53 +0200 |
commit | 75e44dc84e72ee5b67ba469fdf82f1ee6654cf26 (patch) | |
tree | d0e2252f07821c8be883c989a36a7e34b27f690e /dev-python/gpep517 | |
parent | www-client/chromium: stable channel bump to 100.0.4896.88 (diff) | |
download | gentoo-75e44dc84e72ee5b67ba469fdf82f1ee6654cf26.tar.gz gentoo-75e44dc84e72ee5b67ba469fdf82f1ee6654cf26.tar.bz2 gentoo-75e44dc84e72ee5b67ba469fdf82f1ee6654cf26.zip |
dev-python/gpep517: Bump to v3
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-3.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index da0085de5540..16cc2c5fb292 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1 +1,2 @@ DIST gpep517-2.gh.tar.gz 6904 BLAKE2B 5d6f8c02805fec0b9c9929a133817be5d06c76ca2dd5ecd6b59d04eca1ca746b2a63a84df29c929ca06a026eef741a2d872abede6f1d0ac3719ff2005cf20043 SHA512 2b1fce7193a5c03175c34251987f42fe82c79a6eef324759fe5728e0f3b66a10f8aa644ece2193c912e9977f21b14a28fe5c9443e3b01ca8cdacf862afe0838c +DIST gpep517-3.gh.tar.gz 7074 BLAKE2B 99a499ae13b6aac41e86d11735f0e49a5dc921881a1efa94bee19bfd779af6827707d05d6407ed15e4a3a6b518c8c0b3f50901e3b12df41081930f83b288e461 SHA512 90f756f5a1d783e9d402e098162a70b363a0a81e331e810e5c89c3302bb5839032603252bad1c98c176a7828b70adfac967e39ba455dcd3a20097e74923980c8 diff --git a/dev-python/gpep517/gpep517-3.ebuild b/dev-python/gpep517/gpep517-3.ebuild new file mode 100644 index 000000000000..1a71cfb5393b --- /dev/null +++ b/dev-python/gpep517/gpep517-3.ebuild @@ -0,0 +1,44 @@ +# 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_SETUPTOOLS=manual +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +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" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +# do not use any build system to avoid circular deps +python_compile() { :; } + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} |