diff options
author | brettalcox <brettalcox@gmail.com> | 2024-06-02 10:39:04 -0500 |
---|---|---|
committer | brettalcox <brettalcox@gmail.com> | 2024-06-02 10:39:04 -0500 |
commit | 00c4454da56a00bea70f01f917d578662cc66f9e (patch) | |
tree | d68f07d46b2bead005fd1189add4b6a3cafdbcaa /net-news | |
parent | app-misc/kmon: drop 1.6.4 (diff) | |
download | guru-00c4454da56a00bea70f01f917d578662cc66f9e.tar.gz guru-00c4454da56a00bea70f01f917d578662cc66f9e.tar.bz2 guru-00c4454da56a00bea70f01f917d578662cc66f9e.zip |
net-news/gfeeds: python3_12
Signed-off-by: brettalcox <brettalcox@gmail.com>
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/gfeeds/gfeeds-2.2.0-r3.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/net-news/gfeeds/gfeeds-2.2.0-r3.ebuild b/net-news/gfeeds/gfeeds-2.2.0-r3.ebuild new file mode 100644 index 000000000..c556a95a1 --- /dev/null +++ b/net-news/gfeeds/gfeeds-2.2.0-r3.ebuild @@ -0,0 +1,73 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit gnome2-utils meson python-single-r1 + +DESCRIPTION="An RSS/Atom feed reader for GNOME." +HOMEPAGE="https://gitlab.gnome.org/World/gfeeds" +SRC_URI="https://gitlab.gnome.org/World/gfeeds/-/archive/${PV}/${P}.tar.bz2" + +# This fixes 1 syntax-related compilation error and syntax warnings (usage of $) +PATCHES="${FILESDIR}/${P}-blueprint-0.80-fix.patch" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/lxml-html-clean[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/readability-lxml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ') + dev-util/blueprint-compiler + gui-libs/gtk:4 + gui-libs/libadwaita + net-libs/syndication-domination[python] + net-libs/webkit-gtk:6 +" +RDEPEND="${DEPEND}" +BDEPEND=">=dev-build/meson-0.58" + +src_configure() { + local emesonargs=( + --prefix=/usr + ) + meson_src_configure +} + +src_compile() { + meson_src_compile +} + +src_install() { + meson_src_install + python_fix_shebang "${D}"/usr/bin/gfeeds + python_optimize "${ED}"/usr +} + +pkg_postinst() { + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update +} |