From 31934290d8ffcd05adc0700478489bc089c276eb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 20 Dec 2022 03:22:59 +0200 Subject: [PATCH] app-text/blueprint-compiler: new package, add 0.6.0 Signed-off-by: Alfred Wingate --- app-text/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.6.0.ebuild | 46 +++++++++++++++++++ app-text/blueprint-compiler/metadata.xml | 11 +++++ 3 files changed, 58 insertions(+) create mode 100644 app-text/blueprint-compiler/Manifest create mode 100644 app-text/blueprint-compiler/blueprint-compiler-0.6.0.ebuild create mode 100644 app-text/blueprint-compiler/metadata.xml diff --git a/app-text/blueprint-compiler/Manifest b/app-text/blueprint-compiler/Manifest new file mode 100644 index 0000000..1c2dd87 --- /dev/null +++ b/app-text/blueprint-compiler/Manifest @@ -0,0 +1 @@ +DIST blueprint-compiler-0.6.0.tar.bz2 56896 BLAKE2B 318ffa52b2fbf3b07058e5b4d2f9bb0ef1f6614586b79968889921964b454e5c26d44e58a18185263797f7569135662d14471bafd8e501d7c6386e88972193d0 SHA512 458016f4eabef15026cb3ee675111984b19af8a9139bc412dfb48dfef56b0d0ff028316001d0ce04a90b50d6785c92d799f17ed42ca53fc7582345729ae02207 diff --git a/app-text/blueprint-compiler/blueprint-compiler-0.6.0.ebuild b/app-text/blueprint-compiler/blueprint-compiler-0.6.0.ebuild new file mode 100644 index 0000000..dcd87ae --- /dev/null +++ b/app-text/blueprint-compiler/blueprint-compiler-0.6.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit meson python-single-r1 + +DESCRIPTION="A markup language for GTK user interface files." +HOMEPAGE="https://gitlab.gnome.org/jwestman/blueprint-compiler" +SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v${PV}/blueprint-compiler-v${PV}.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="doc test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygobject[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + doc? ( dev-python/sphinx ) + test? ( + ${RDEPEND} + gui-libs/gtk:4 + ) +" + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize +} diff --git a/app-text/blueprint-compiler/metadata.xml b/app-text/blueprint-compiler/metadata.xml new file mode 100644 index 0000000..dca67d8 --- /dev/null +++ b/app-text/blueprint-compiler/metadata.xml @@ -0,0 +1,11 @@ + + + + + parona@protonmail.com + Alfred Wingate + + + jwestman/blueprint-compiler + +