commit: 823c3f8ce982601e6caa50ae0d2bba7d94e2e2b6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 2 11:27:16 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 2 11:27:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823c3f8c
dev-python/DBUtils: PEP517, py3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild
b/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild
new file mode 100644
index 000000000000..20fcb08c9bda
--- /dev/null
+++ b/dev-python/DBUtils/DBUtils-3.0.2-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Database connections for multi-threaded environments"
+HOMEPAGE="
+ https://webwareforpython.github.io/DBUtils/
+ https://github.com/WebwareForPython/DBUtils/
+ https://pypi.org/project/DBUtils/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ dodoc docs/*.rst
+ rm docs/*.rst || die
+ local HTML_DOCS=( docs/. )
+ distutils-r1_python_install_all
+}