commit: 7f46fc199426a3f3ea4e772d2a72776452804ecd Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 4 06:47:52 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 4 06:47:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f46fc19
dev-python/python-daemon: Bump to 3.1.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/python-daemon/Manifest | 1 + .../python-daemon/python-daemon-3.1.2.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/python-daemon/Manifest b/dev-python/python-daemon/Manifest index df8de7b158f9..ee2c30ce17d6 100644 --- a/dev-python/python-daemon/Manifest +++ b/dev-python/python-daemon/Manifest @@ -1,2 +1,3 @@ DIST python_daemon-3.1.0.tar.gz 61947 BLAKE2B d6f24cb72a033401a2eb1149c359ec49e044b0d549ae8ccb337dc60525f3ad80efd8646a50a51e6ba0768a5e8e77a3a5bd5b1a5aea3b54c5546769a5599d49ad SHA512 d7641baba841af8724dd37b66db605d07a62c947f01ff6328c44aca56deaa5a0891b8fe3bbbf5840e16c7080402776676892f105aac900944a8d2921a12edba4 DIST python_daemon-3.1.1.tar.gz 71104 BLAKE2B 56ab3f178233f4fffe64413d34046297f1a136b9e6843e5f90a05e2634bb6cad49dec39ec66d85bf3edd003127ee57a0ed772b192d073e8d7a935956b0992cc2 SHA512 faf074e8ef07b5cda32cbdd66f613d2830569d6a0316b8048e0173b65c45b5472a42a90edacecb811c4cd7daf1d239f898f8a939c4dfb807ef88455f2dc27a9b +DIST python_daemon-3.1.2.tar.gz 71576 BLAKE2B 605b84271935e5c8bf54aee64f4a4a4dfec06e87acb7d2edd2c7676c67f0b1b933bceec29ab91debad8745e501744cf507f745e1aa0b159f7b600257ed68815c SHA512 3901b9f14f11b8765eb31874fdb9410cbda1425ce70d2702827fe4745b5b8fb93f23e9f71faa6b0ca001745aeea03c186c4e29d973cb12a5912340dae6aa2ee0 diff --git a/dev-python/python-daemon/python-daemon-3.1.2.ebuild b/dev-python/python-daemon/python-daemon-3.1.2.ebuild new file mode 100644 index 000000000000..ebe4f04ad45e --- /dev/null +++ b/dev-python/python-daemon/python-daemon-3.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to implement a well-behaved Unix daemon process" +HOMEPAGE=" + https://pagure.io/python-daemon/ + https://pypi.org/project/python-daemon/ +" + +# build system and tests use GPL-3.0+ but none of these files are installed +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=dev-python/lockfile-0.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + test? ( + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # overengineered logic with NIH deps + rm setup.py || die + cat > setup.cfg <<-EOF || die + [metadata] + version = ${PV} + description = ${DESCRIPTION} + maintainer = + long_description = + exclude = doc + EOF + + # tests for their overengineered setup + rm test/test_{setup,util_metadata}.py || die +}