summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/yelp-tools/Manifest1
-rw-r--r--app-text/yelp-tools/yelp-tools-42.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-text/yelp-tools/Manifest b/app-text/yelp-tools/Manifest
index e94a66bf9cf3..15f0c74c48d5 100644
--- a/app-text/yelp-tools/Manifest
+++ b/app-text/yelp-tools/Manifest
@@ -1 +1,2 @@
DIST yelp-tools-42.0.tar.xz 38788 BLAKE2B 9dc34f4b32c9e705f427bccad5ff3c2cd222a1391a780dde145ea894e1065fc873fd4ef020d1b7809b653c8237fbedb7f0b07d684d8d906b7af7a0fd8ebf79e4 SHA512 ff6168a33b2dedd12f7fb5d5aa6394a554b7ad8956cc7121e5f1a520f9fb20bd4cad93e22b5e8b2f8aa82ca5a1711a0634d8619c731e46730084e28f29725786
+DIST yelp-tools-42.1.tar.xz 38936 BLAKE2B 9c068fb6c41fc6a9f22b1ffd632eeb648685b7bd09cad498910ddfa56696218ebaf643c17a6951756c88978bdae82c0622068c43e4f57ff57a96fa6d6b86a95f SHA512 e05a61d18179a9816ec38d1a2335091a3846cf74bb1ecec5374c9a13cc8962d14416208e04eec92f4ee43ec90e1992cc4a263bc4c267caac5d154a15f10d3006
diff --git a/app-text/yelp-tools/yelp-tools-42.1.ebuild b/app-text/yelp-tools/yelp-tools-42.1.ebuild
new file mode 100644
index 000000000000..3406989d1bcd
--- /dev/null
+++ b/app-text/yelp-tools/yelp-tools-42.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome2 meson python-single-r1
+
+DESCRIPTION="Collection of tools for building and converting documentation"
+HOMEPAGE="https://wiki.gnome.org/Apps/Yelp/Tools"
+
+LICENSE="|| ( GPL-2+ freedist ) GPL-2+" # yelp.m4 is GPL2 || freely distributable
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
+ >=dev-libs/libxml2-2.6.12
+ >=dev-libs/libxslt-1.1.8
+ dev-util/itstool
+ >=gnome-extra/yelp-xsl-3.38
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_install() {
+ meson_src_install
+ python_fix_shebang "${ED}"/usr/bin/yelp-{build,check,new}
+}