commit:     82e1a9ff1cc6f70a14cbd71d717797c86330fab3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 18:58:50 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 18:58:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e1a9ff

dev-python/gpep517: Bump to v12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/gpep517/Manifest          |  1 +
 dev-python/gpep517/gpep517-12.ebuild | 41 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest
index 9692c0baef5a..1bb19aaac485 100644
--- a/dev-python/gpep517/Manifest
+++ b/dev-python/gpep517/Manifest
@@ -1 +1,2 @@
 DIST gpep517-11.gh.tar.gz 15344 BLAKE2B 
14f3f4b284eb4f7de8a78a9215cf2ec7fc84cb4028d83555b595a245d5ff2eb78be5049b30ccca944c35c40db0cc61e1afeaa68b25a0d6f3608363af75059762
 SHA512 
5ce840841d99c20d62b5b6c8dcb6ec353e40c75537aa99e44fa7dc13bff37444cd66d4cbc97eb1b107b6df85edfda853343d5e8ef1865d0d5ccd293c1496b5c0
+DIST gpep517-12.gh.tar.gz 17304 BLAKE2B 
c4a1ff1bf67866c2776efeab8c3f678272fcbd2dd69359b97420e280b58ce8549c6bf7e497ca13816ed89b296a44f99c7aa99f9783a9cd2d940aec5b29cdcbe1
 SHA512 
a0f40e9c12d711ff2e5fc3f8ca84c6687d6b39cdc420364e3846b32804dd8f98a5d09c0aaa7948b90b3b115f829dc4e767a65bbe8bc2e682f11fd6ba8757a59e

diff --git a/dev-python/gpep517/gpep517-12.ebuild 
b/dev-python/gpep517/gpep517-12.ebuild
new file mode 100644
index 000000000000..5cd8e4b1d379
--- /dev/null
+++ b/dev-python/gpep517/gpep517-12.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/projg2/gpep517/
+"
+SRC_URI="
+       https://github.com/projg2/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
+}

Reply via email to