1 |
commit: c45f83b994f2d0ec4691e5176c9b44238d8acb00 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 20:32:11 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 20:32:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45f83b9 |
7 |
|
8 |
dev-python/gpep517: Bump to v5 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/gpep517/Manifest | 1 + |
13 |
dev-python/gpep517/gpep517-5.ebuild | 44 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest |
17 |
index 08e43bf6a1c1..0a6fdbf5e3ed 100644 |
18 |
--- a/dev-python/gpep517/Manifest |
19 |
+++ b/dev-python/gpep517/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gpep517-3.gh.tar.gz 7074 BLAKE2B 99a499ae13b6aac41e86d11735f0e49a5dc921881a1efa94bee19bfd779af6827707d05d6407ed15e4a3a6b518c8c0b3f50901e3b12df41081930f83b288e461 SHA512 90f756f5a1d783e9d402e098162a70b363a0a81e331e810e5c89c3302bb5839032603252bad1c98c176a7828b70adfac967e39ba455dcd3a20097e74923980c8 |
22 |
+DIST gpep517-5.gh.tar.gz 9568 BLAKE2B 7641ae7792a15be7241d9c02622b589a796a96c76894c29f37733e33820532042f6d5b8018ef021b487c299f3a28adf37949e96c38148d88c140ed6926e95f2b SHA512 3618f3d17cc367716c4813d75814ef295896f210ff32c13f1ef8ad8cde2120a30ba69705e14dbb1e5528bf5a348f9f8c5f5de8b416608cd496733e94afbeb2c6 |
23 |
|
24 |
diff --git a/dev-python/gpep517/gpep517-5.ebuild b/dev-python/gpep517/gpep517-5.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..823987f2f511 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/gpep517/gpep517-5.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=manual |
37 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="A backend script to aid installing Python packages in Gentoo" |
42 |
+HOMEPAGE=" |
43 |
+ https://pypi.org/project/gpep517/ |
44 |
+ https://github.com/mgorny/gpep517/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/mgorny/gpep517/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+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" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+# do not use any build system to avoid circular deps |
63 |
+python_compile() { :; } |
64 |
+ |
65 |
+python_install() { |
66 |
+ python_domodule gpep517 |
67 |
+ python_newscript - gpep517 <<-EOF |
68 |
+ #!${EPREFIX}/usr/bin/python |
69 |
+ import sys |
70 |
+ from gpep517.__main__ import main |
71 |
+ sys.exit(main()) |
72 |
+ EOF |
73 |
+} |