From b8dc637af726bd13445923065d2ffd472341133b Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Tue, 30 Apr 2024 17:27:24 -0400 Subject: [PATCH] Add notify-send.py Package - Add as runtime dependency of deadd --- dev-python/notify-send-py/Manifest | 1 + .../notify-send-py-1.2.7.ebuild | 27 +++++++++++++++++++ ...deadd-notification-center-bin-2.1.1.ebuild | 5 +++- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 dev-python/notify-send-py/Manifest create mode 100644 dev-python/notify-send-py/notify-send-py-1.2.7.ebuild diff --git a/dev-python/notify-send-py/Manifest b/dev-python/notify-send-py/Manifest new file mode 100644 index 0000000..306bdf4 --- /dev/null +++ b/dev-python/notify-send-py/Manifest @@ -0,0 +1 @@ +DIST notify-send.py-1.2.7.tar.gz 10762 BLAKE2B 71322a88561502f55b0110eea465ba15586b9258ee10719643c22e00df41cc76f568e61af00bbee965ecb91919fea2b8b03f5dda2a7787a60be494cb89574b16 SHA512 55e96aa85480ed64170ceadbe74ea4b90df769035d34a3631713a358a6abd775ad8496180f9ad424cffb275fa986609c00c3cd2a87f50964472dec962d088435 diff --git a/dev-python/notify-send-py/notify-send-py-1.2.7.ebuild b/dev-python/notify-send-py/notify-send-py-1.2.7.ebuild new file mode 100644 index 0000000..52417a0 --- /dev/null +++ b/dev-python/notify-send-py/notify-send-py-1.2.7.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 +distutils_enable_tests pytest + +DESCRIPTION="A python script for sending desktop notifications from the shell" +HOMEPAGE="https://github.com/phuhl/notify-send.py" +SRC_URI="https://files.pythonhosted.org/packages/f7/44/edf5578a7e3d79e30505286dab30f29815b26ca33a5a5c8936468e6b406e/notify-send.py-${PV}.tar.gz" + +S=${WORKDIR}/notify-send.py-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" + +DEPEND=" + dev-python/setuptools +" +RDEPEND=" + dev-python/notify2 + dev-python/dbus-python + dev-python/pygobject +" diff --git a/x11-misc/deadd-notification-center-bin/deadd-notification-center-bin-2.1.1.ebuild b/x11-misc/deadd-notification-center-bin/deadd-notification-center-bin-2.1.1.ebuild index 3db44bb..3c3c5d7 100644 --- a/x11-misc/deadd-notification-center-bin/deadd-notification-center-bin-2.1.1.ebuild +++ b/x11-misc/deadd-notification-center-bin/deadd-notification-center-bin-2.1.1.ebuild @@ -19,6 +19,9 @@ DEPEND=" gui-libs/gtk net-misc/wget " +RDEPEND=" + dev-python/notify-send-py +" pkg_setup() { cd ${WORKDIR} @@ -39,6 +42,6 @@ src_install() { if use systemd && use dbus ; then make service || die "make service failed" fi - + make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed" }