Add notify-send.py Package

- Add as runtime dependency of deadd
This commit is contained in:
Sravan Balaji 2024-04-30 17:27:24 -04:00
parent abca89d9f0
commit b8dc637af7
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1 @@
DIST notify-send.py-1.2.7.tar.gz 10762 BLAKE2B 71322a88561502f55b0110eea465ba15586b9258ee10719643c22e00df41cc76f568e61af00bbee965ecb91919fea2b8b03f5dda2a7787a60be494cb89574b16 SHA512 55e96aa85480ed64170ceadbe74ea4b90df769035d34a3631713a358a6abd775ad8496180f9ad424cffb275fa986609c00c3cd2a87f50964472dec962d088435

View File

@ -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
"

View File

@ -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"
}