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 6CEC215800A for ; Sun, 13 Aug 2023 19:26:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DED792BC01D; Sun, 13 Aug 2023 19:26:14 +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 C32DC2BC01D for ; Sun, 13 Aug 2023 19:26:14 +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 B98EC335D80 for ; Sun, 13 Aug 2023 19:26:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28106F85 for ; Sun, 13 Aug 2023 19:26:12 +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: <1691954768.44fb8497c0f0f504d71d36dd85bf4bc709cf6b97.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.10.0.ebuild X-VCS-Directories: dev-util/blueprint-compiler/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 44fb8497c0f0f504d71d36dd85bf4bc709cf6b97 X-VCS-Branch: master Date: Sun, 13 Aug 2023 19:26:12 +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: 5a33eddf-6186-43bb-abc4-040a712276f4 X-Archives-Hash: 1d814a112cfe424d53ce24f6c942a025 commit: 44fb8497c0f0f504d71d36dd85bf4bc709cf6b97 Author: Maciej Barć gentoo org> AuthorDate: Sun Aug 13 10:00:13 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Aug 13 19:26:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44fb8497 dev-util/blueprint-compiler: bump to 0.10.0 Signed-off-by: Maciej Barć gentoo.org> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.10.0.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 8710a8eb7ca7..8cba21dfb85d 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1 +1,2 @@ +DIST blueprint-compiler-v0.10.0.tar.bz2 81856 BLAKE2B 8e63c27fc160244eb11776ea57c57b9c4b06aded76f3d59fc3190609f20a58985e3e800eebb5c69e681f8f8aba35f06f457f4dde241f78ff76d3e9348c4df46d SHA512 5d6a14a42aed64a82572a59730d454a920938d3b2c8aa1e61ab1d5fba47647ab5e3d6201c8ffe3e622b450ffcfb1eaf106951489897422c3e578d4d3695ae9ab DIST blueprint-compiler-v0.8.1.tar.bz2 80762 BLAKE2B 9acd4a8e2e5d993a94bcf2c80530553a8f6c8977ebe94274e6a208935f6ddaf21dd1946ab80e08b4e61e16a8ff892301d9f9cf82f7af6e8d53c3b2fce3996592 SHA512 94a4651a54d69df1bcfa3e7219cefb2eca187808d0c2a580c135583fa0e2848a011a72204a567c48fce20a246d41667f7cbf147a34980b34c0914b4fc5868efb diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.10.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.10.0.ebuild new file mode 100644 index 000000000000..d93144b69f51 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.10.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 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 virtualx + +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} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + ${RDEPEND} + doc? ( + $(python_gen_cond_dep ' + dev-python/furo[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') + ) + test? ( + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1[introspection] + ) +" + +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_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + python_fix_shebang "${ED}"/usr/bin + python_optimize +}