commit:     6b245566c1a244292473ce68b24014decdee6457
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 06:00:57 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 07:18:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b245566

dev-python/daemonize: Use PEP517 build

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

 dev-python/daemonize/Manifest                  |  1 +
 dev-python/daemonize/daemonize-2.5.0-r1.ebuild | 27 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/daemonize/Manifest b/dev-python/daemonize/Manifest
index 3fc408b334ac..624c65c29221 100644
--- a/dev-python/daemonize/Manifest
+++ b/dev-python/daemonize/Manifest
@@ -1 +1,2 @@
+DIST daemonize-2.5.0.gh.tar.gz 10126 BLAKE2B 
10e13f93825309d48ef67d0725ed53dcca2220b3940b3b81e1e7f29cf7b6d89af40f94488a2398bec74c0f6235ef8b1626871bda4fb33c233a872a9ccea47558
 SHA512 
c17a14c073e22fc98b3663da207238d183c12e95750f14cddcf90419c51c95ebc36251bb95d0bb4db84a2fb243499329473e7d14172d855d3ee204757a2a1a65
 DIST daemonize-2.5.0.tar.gz 10126 BLAKE2B 
10e13f93825309d48ef67d0725ed53dcca2220b3940b3b81e1e7f29cf7b6d89af40f94488a2398bec74c0f6235ef8b1626871bda4fb33c233a872a9ccea47558
 SHA512 
c17a14c073e22fc98b3663da207238d183c12e95750f14cddcf90419c51c95ebc36251bb95d0bb4db84a2fb243499329473e7d14172d855d3ee204757a2a1a65

diff --git a/dev-python/daemonize/daemonize-2.5.0-r1.ebuild 
b/dev-python/daemonize/daemonize-2.5.0-r1.ebuild
new file mode 100644
index 000000000000..9e0a531af794
--- /dev/null
+++ b/dev-python/daemonize/daemonize-2.5.0-r1.ebuild
@@ -0,0 +1,27 @@
+# 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..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for writing system daemons in Python"
+HOMEPAGE="
+       https://github.com/thesharp/daemonize/
+       https://pypi.org/project/daemonize/
+"
+SRC_URI="
+       https://github.com/thesharp/daemonize/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+python_test() {
+       "${EPYTHON}" tests/test.py -v || die "Tests failed with ${EPYTHON}"
+}

Reply via email to