2023-03-12 10:55:14 +02:00
|
|
|
# Copyright 2021-2023 Gentoo Authors
|
2021-12-24 19:56:48 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2023-01-25 12:15:07 +02:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-05-02 00:45:35 +05:00
|
|
|
PYTHON_COMPAT=( python3_{10..11} )
|
2023-03-12 10:55:14 +02:00
|
|
|
inherit distutils-r1 pypi
|
2021-12-24 19:56:48 +02:00
|
|
|
|
|
|
|
|
DESCRIPTION="Python implementation of the systemd sd_notify protocol"
|
2022-01-04 10:16:43 +02:00
|
|
|
HOMEPAGE="
|
|
|
|
|
https://github.com/bb4242/sdnotify
|
2022-04-04 18:45:49 +02:00
|
|
|
https://pypi.org/project/sdnotify/
|
2022-01-04 10:16:43 +02:00
|
|
|
"
|
2021-12-24 19:56:48 +02:00
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
2021-12-28 15:29:46 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2023-01-25 12:15:07 +02:00
|
|
|
|
|
|
|
|
python_prepare_all() {
|
|
|
|
|
# Fix QA warning. No point in reporting upstream, the project seems abandoned
|
|
|
|
|
sed 's/description-file/description_file/' -i setup.cfg
|
|
|
|
|
|
|
|
|
|
distutils-r1_python_prepare_all
|
|
|
|
|
}
|