commit: a2e5357639e4050d56029560ad298ad57cf988d2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Dec 2 06:23:03 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Dec 2 06:54:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e53576
dev-python/python-daemon: Bump to 3.1.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/python-daemon/Manifest | 1 + .../python-daemon/python-daemon-3.1.1.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/python-daemon/Manifest b/dev-python/python-daemon/Manifest index 11e3571dbca4..df8de7b158f9 100644 --- a/dev-python/python-daemon/Manifest +++ b/dev-python/python-daemon/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/python-daemon/python-daemon-3.1.1.ebuild b/dev-python/python-daemon/python-daemon-3.1.1.ebuild new file mode 100644 index 000000000000..4352b0c42459 --- /dev/null +++ b/dev-python/python-daemon/python-daemon-3.1.1.ebuild @@ -0,0 +1,54 @@ +# 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 + # setuptools insists on installing it, sigh + rm -r doc || die +}