From bfd9c39e4712ebdb442d4ca0673061faed1e70e1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 05:48:38 -0500 Subject: Revert "Adding metadata" This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704. --- dev-python/python-daemon/Manifest | 1 + dev-python/python-daemon/metadata.xml | 12 +++++ .../python-daemon/python-daemon-3.1.2.ebuild | 52 ++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 dev-python/python-daemon/Manifest create mode 100644 dev-python/python-daemon/metadata.xml create mode 100644 dev-python/python-daemon/python-daemon-3.1.2.ebuild (limited to 'dev-python/python-daemon') diff --git a/dev-python/python-daemon/Manifest b/dev-python/python-daemon/Manifest new file mode 100644 index 000000000000..211642cb9e02 --- /dev/null +++ b/dev-python/python-daemon/Manifest @@ -0,0 +1 @@ +DIST python_daemon-3.1.2.tar.gz 71576 BLAKE2B 605b84271935e5c8bf54aee64f4a4a4dfec06e87acb7d2edd2c7676c67f0b1b933bceec29ab91debad8745e501744cf507f745e1aa0b159f7b600257ed68815c SHA512 3901b9f14f11b8765eb31874fdb9410cbda1425ce70d2702827fe4745b5b8fb93f23e9f71faa6b0ca001745aeea03c186c4e29d973cb12a5912340dae6aa2ee0 diff --git a/dev-python/python-daemon/metadata.xml b/dev-python/python-daemon/metadata.xml new file mode 100644 index 000000000000..4b5d6de91764 --- /dev/null +++ b/dev-python/python-daemon/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + + python-daemon + + 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..00e72c722b52 --- /dev/null +++ b/dev-python/python-daemon/python-daemon-3.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +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 +} -- cgit v1.3.1