1 |
commit: 0f1e3b4c9ed83ab13a54d398368470de451bb4a0 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 11:32:26 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 11:32:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1e3b4c |
7 |
|
8 |
dev-python/makefun: initial import |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
dev-python/makefun/Manifest | 1 + |
13 |
.../files/makefun-1.13.1-no_pytest-runner.patch | 10 +++++++++ |
14 |
dev-python/makefun/makefun-1.13.1.ebuild | 25 ++++++++++++++++++++++ |
15 |
dev-python/makefun/metadata.xml | 13 +++++++++++ |
16 |
4 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/makefun/Manifest b/dev-python/makefun/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..e64a9b497cde |
21 |
--- /dev/null |
22 |
+++ b/dev-python/makefun/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST makefun-1.13.1.tar.gz 72170 BLAKE2B b1b5e76277e742ef51bcdf2bf6f1d1e761010d75bc3f20d7a8c079b368972b90775bd3bb23cf1787911a8d858549d72d4a2c9379675e59f359486bf1c49566e2 SHA512 ae103d3827673c4124d051e3c76d3d0d126c783ac7a1ea09de3801fd695439eaa549c297bd5c262184a3ee6fdf7b046065081fa3183642778148c2134d7bfc06 |
25 |
|
26 |
diff --git a/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch |
27 |
new file mode 100644 |
28 |
index 000000000000..659717903361 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/makefun/files/makefun-1.13.1-no_pytest-runner.patch |
31 |
@@ -0,0 +1,10 @@ |
32 |
+--- a/setup.cfg |
33 |
++++ b/setup.cfg |
34 |
+@@ -27,7 +27,6 @@ |
35 |
+ [options] |
36 |
+ setup_requires = |
37 |
+ setuptools_scm |
38 |
+- pytest-runner |
39 |
+ install_requires = |
40 |
+ funcsigs;python_version<'3.3' |
41 |
+ tests_require = |
42 |
|
43 |
diff --git a/dev-python/makefun/makefun-1.13.1.ebuild b/dev-python/makefun/makefun-1.13.1.ebuild |
44 |
new file mode 100644 |
45 |
index 000000000000..3a44d2732c4a |
46 |
--- /dev/null |
47 |
+++ b/dev-python/makefun/makefun-1.13.1.ebuild |
48 |
@@ -0,0 +1,25 @@ |
49 |
+# Copyright 1999-2022 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=8 |
53 |
+ |
54 |
+PYTHON_COMPAT=( python3_{8..10} ) |
55 |
+DISTUTILS_USE_PEP517=setuptools |
56 |
+ |
57 |
+inherit distutils-r1 |
58 |
+ |
59 |
+DESCRIPTION="Small library to dynamically create Python functions" |
60 |
+HOMEPAGE="https://pypi.org/project/makefun/ https://github.com/smarie/python-makefun" |
61 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="BSD" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64" |
66 |
+ |
67 |
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-1.13.1-no_pytest-runner.patch |
71 |
+) |
72 |
+ |
73 |
+distutils_enable_tests pytest |
74 |
|
75 |
diff --git a/dev-python/makefun/metadata.xml b/dev-python/makefun/metadata.xml |
76 |
new file mode 100644 |
77 |
index 000000000000..0a2fbcffabe0 |
78 |
--- /dev/null |
79 |
+++ b/dev-python/makefun/metadata.xml |
80 |
@@ -0,0 +1,13 @@ |
81 |
+<?xml version="1.0" encoding="UTF-8"?> |
82 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
83 |
+<pkgmetadata> |
84 |
+ <maintainer type="person"> |
85 |
+ <email>marecki@g.o</email> |
86 |
+ <name>Marek Szuba</name> |
87 |
+ </maintainer> |
88 |
+ <stabilize-allarches/> |
89 |
+ <upstream> |
90 |
+ <remote-id type="github">smarie/python-makefun</remote-id> |
91 |
+ <remote-id type="pypi">makefun</remote-id> |
92 |
+ </upstream> |
93 |
+</pkgmetadata> |