From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E64E415A7D9 for ; Mon, 13 Mar 2023 21:43:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2704E07FE; Mon, 13 Mar 2023 21:43:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4746E07FE for ; Mon, 13 Mar 2023 21:43:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D19CD342DF7 for ; Mon, 13 Mar 2023 21:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D14F88F for ; Mon, 13 Mar 2023 21:43:39 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1678743476.25aec06972a882f6ac8d55972ffff654ae0ba194.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/blueprint-compiler/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/blueprint-compiler/Manifest dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild dev-util/blueprint-compiler/metadata.xml X-VCS-Directories: dev-util/blueprint-compiler/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 25aec06972a882f6ac8d55972ffff654ae0ba194 X-VCS-Branch: master Date: Mon, 13 Mar 2023 21:43:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f004ea0-66ea-4973-9df6-d8516febecf8 X-Archives-Hash: d7e08a00771e9c548252cdf36fc181fa commit: 25aec06972a882f6ac8d55972ffff654ae0ba194 Author: Maciej Barć gentoo org> AuthorDate: Mon Mar 13 20:42:40 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Mar 13 21:37:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25aec069 dev-util/blueprint-compiler: new package; add 0.6.0 Signed-off-by: Maciej Barć gentoo.org> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.6.0.ebuild | 64 ++++++++++++++++++++++ dev-util/blueprint-compiler/metadata.xml | 21 +++++++ 3 files changed, 86 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest new file mode 100644 index 000000000000..0abec39801bf --- /dev/null +++ b/dev-util/blueprint-compiler/Manifest @@ -0,0 +1 @@ +DIST blueprint-compiler-v0.6.0.tar.bz2 56896 BLAKE2B 318ffa52b2fbf3b07058e5b4d2f9bb0ef1f6614586b79968889921964b454e5c26d44e58a18185263797f7569135662d14471bafd8e501d7c6386e88972193d0 SHA512 458016f4eabef15026cb3ee675111984b19af8a9139bc412dfb48dfef56b0d0ff028316001d0ce04a90b50d6785c92d799f17ed42ca53fc7582345729ae02207 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild new file mode 100644 index 000000000000..b54ac7882f03 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-single-r1 + +DESCRIPTION="Compiler for Blueprint, a markup language for GTK user interfaces" +HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ + https://gitlab.gnome.org/jwestman/blueprint-compiler/" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/${PN}.git" +else + SRC_URI="https://gitlab.gnome.org/jwestman/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + S="${WORKDIR}"/${PN}-v${PV} + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-3+" +SLOT="0" +IUSE="doc test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS}" +BDEPEND=" + ${RDEPEND} + doc? ( + $(python_gen_cond_dep ' + dev-python/furo[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') + ) + test? ( + gui-libs/gtk:4[introspection] + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + ) +" + +DOCS=( CONTRIBUTING.md MAINTENANCE.md NEWS.md README.md ) + +src_configure() { + local -a emesonargs=( + $(meson_use doc docs) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile + + use doc && build_sphinx docs +} + +src_install() { + meson_src_install + python_optimize +} diff --git a/dev-util/blueprint-compiler/metadata.xml b/dev-util/blueprint-compiler/metadata.xml new file mode 100644 index 000000000000..c28d6bd1544b --- /dev/null +++ b/dev-util/blueprint-compiler/metadata.xml @@ -0,0 +1,21 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + Blueprint helps you build user interfaces in GTK quickly and declaratively. + It has modern IDE features like code completion and hover documentation, + and the compiler points out mistakes early on so you can focus on making + your app look amazing. + + + https://gitlab.gnome.org/jwestman/blueprint-compiler/-/raw/main/NEWS.md + https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ + https://github.com/jwestman/blueprint-compiler/issues + jwestman/blueprint-compiler + +