diff options
Diffstat (limited to 'dev-python/notify2')
| -rw-r--r-- | dev-python/notify2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/notify2/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/notify2/notify2-0.3.1-r3.ebuild | 46 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/notify2/Manifest b/dev-python/notify2/Manifest new file mode 100644 index 000000000000..b6fa9fc229af --- /dev/null +++ b/dev-python/notify2/Manifest @@ -0,0 +1 @@ +DIST notify2-0.3.1.tar.gz 17792 BLAKE2B 649df1934d1fffb97dabbf2f483204c55427fbede851840d642da2e4e62a9bda9d49670e60f5b2cda36b62ee47b7d0cd861d757d338867547dce3c7d61ddf7b4 SHA512 0b69a64e0a7e4955ee767c975db92c5c60d28c0e54f77498cfb98390771a8f536631fc34e42b5c46c138dfa1054b5516a0809b8e3b0cb9237a39825ddb827109 diff --git a/dev-python/notify2/metadata.xml b/dev-python/notify2/metadata.xml new file mode 100644 index 000000000000..a6e2b09e305a --- /dev/null +++ b/dev-python/notify2/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/notify2/notify2-0.3.1-r3.ebuild b/dev-python/notify2/notify2-0.3.1-r3.ebuild new file mode 100644 index 000000000000..9a44a1d65e46 --- /dev/null +++ b/dev-python/notify2/notify2-0.3.1-r3.ebuild @@ -0,0 +1,46 @@ +# 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 virtualx pypi + +DESCRIPTION="Python interface to DBus notifications" +HOMEPAGE=" + https://bitbucket.org/takluyver/pynotify2/ + https://pypi.org/project/notify2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86" +IUSE="examples" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pygobject[${PYTHON_USEDEP}] + sys-apps/dbus[X] + x11-libs/gdk-pixbuf[introspection] + virtual/notification-daemon + ) +" + +distutils_enable_tests unittest + +python_test() { + virtx eunittest +} + +python_install_all() { + if use examples; then + rm examples/notify2.py || die + dodoc -r examples + fi + distutils-r1_python_install_all +} |
