diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-13 08:00:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-13 09:18:45 +0200 |
commit | 6b245566c1a244292473ce68b24014decdee6457 (patch) | |
tree | 395c8a2f6ac42f42df15f552a645f943561b48a2 /dev-python | |
parent | dev-python/PyPDF2: Bump to 2.1.1 (diff) | |
download | gentoo-6b245566c1a244292473ce68b24014decdee6457.tar.gz gentoo-6b245566c1a244292473ce68b24014decdee6457.tar.bz2 gentoo-6b245566c1a244292473ce68b24014decdee6457.zip |
dev-python/daemonize: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/daemonize/Manifest | 1 | ||||
-rw-r--r-- | dev-python/daemonize/daemonize-2.5.0-r1.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
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}" +} |