1 |
commit: 823c3f8ce982601e6caa50ae0d2bba7d94e2e2b6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 11:27:16 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 11:27:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823c3f8c |
7 |
|
8 |
dev-python/DBUtils: PEP517, py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild | 30 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 30 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild b/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..20fcb08c9bda |
18 |
--- /dev/null |
19 |
+++ b/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild |
20 |
@@ -0,0 +1,30 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..11} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Database connections for multi-threaded environments" |
32 |
+HOMEPAGE=" |
33 |
+ https://webwareforpython.github.io/DBUtils/ |
34 |
+ https://github.com/WebwareForPython/DBUtils/ |
35 |
+ https://pypi.org/project/DBUtils/ |
36 |
+" |
37 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+distutils_enable_tests unittest |
44 |
+ |
45 |
+python_install_all() { |
46 |
+ dodoc docs/*.rst |
47 |
+ rm docs/*.rst || die |
48 |
+ local HTML_DOCS=( docs/. ) |
49 |
+ distutils-r1_python_install_all |
50 |
+} |