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 71468158091 for ; Mon, 13 Jun 2022 10:49:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B645EE08A2; Mon, 13 Jun 2022 10:49:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 962F2E08A2 for ; Mon, 13 Jun 2022 10:49:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A74E934181C for ; Mon, 13 Jun 2022 10:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CC87502 for ; Mon, 13 Jun 2022 10:49:49 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1654960114.7c5d172a9e341dfe391da20b909ce50cecd692d0.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/blueprint-compiler/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/blueprint-compiler/Manifest dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild X-VCS-Directories: dev-util/blueprint-compiler/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 7c5d172a9e341dfe391da20b909ce50cecd692d0 X-VCS-Branch: master Date: Mon, 13 Jun 2022 10:49:49 +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: 30fa7068-e2fa-41e5-94ce-1fedf538628f X-Archives-Hash: fb9ac07d3dbc4b2fef52e2f47a9ba9dd commit: 7c5d172a9e341dfe391da20b909ce50cecd692d0 Author: Yuan Liao gmail com> AuthorDate: Sat Jun 11 15:08:34 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Jun 11 15:08:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c5d172a dev-util/blueprint-compiler: Add 0.2.0 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.2.0.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index b133c1653..7535fa13b 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1 +1,2 @@ DIST blueprint-compiler-0.1.0_pre20220419.tar.gz 53439 BLAKE2B 1683356aa10ffdc6b1f6b5d072a301bbc2cdde2eb986f22aa83c269af1fa8cc100910ca790b2b94056db926221b42d2f8309019ee10442374d7e915ab5ec2ed3 SHA512 9017667728723d0e9358ffe9e868f743093cadc7434275c5805f406da72d5cd7afcb5af394c5610446ab6cebdddafc52f65723e16950b3aae47c8739b77e3ef1 +DIST blueprint-compiler-v0.2.0.tar.bz2 45480 BLAKE2B 64c477070ea684002dc1e38eac8d22633ae7b46efb9887733118838c04d2c4e386d3825b3e07dcba1adada83afad439025d082d3bd74d2d737c1f5552085a716 SHA512 dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild new file mode 100644 index 000000000..0fc9a3e31 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) + +inherit meson python-single-r1 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git" +else + SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v${PV}/blueprint-compiler-v${PV}.tar.bz2" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Compiler for Blueprint, a markup language for GTK user interfaces" +HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/" + +LICENSE="LGPL-3+" +SLOT="0" + +IUSE="doc test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + doc? ( + $(python_gen_cond_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/furo[${PYTHON_USEDEP}] + ') + ) +" + +DEPEND=" + test? ( + gui-libs/gtk:4[introspection] + ) +" + +RDEPEND=" + ${PYTHON_DEPS} +" + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + ) + meson_src_configure +} + +src_install() { + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + meson_src_install + python_optimize "${D}/usr/share/${PN}" + python_fix_shebang "${D}/usr/bin/${PN}" +}