[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 2aff6c84b311ae2b86a10742853ec4a6009a43c4 Author: Yuan Liao gmail com> AuthorDate: Tue Mar 14 16:02:54 2023 + Commit: Yuan Liao gmail com> CommitDate: Tue Mar 14 16:02:54 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2aff6c84 dev-util/blueprint-compiler: Treeclean package that is now in ::gentoo Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.6.0.ebuild| 87 -- .../blueprint-compiler-.ebuild | 87 -- dev-util/blueprint-compiler/metadata.xml | 12 --- 4 files changed, 187 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest deleted file mode 100644 index 0abec3980..0 --- a/dev-util/blueprint-compiler/Manifest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 24ee0bf14..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit meson python-r1 - -if [[ ${PV} == * ]]; 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? ( - 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) - ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile - use doc && build_sphinx docs -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - } - - python_foreach_impl my_src_install -} diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild deleted file mode 100644 index 99c1980a4..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit meson python-r1 virtualx - -if [[ ${PV} == * ]]; 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/; -
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 29b79fbcf1597d1f6a8d21e95e1e972885936ce3 Author: Yuan Liao gmail com> AuthorDate: Wed Jan 25 22:26:14 2023 + Commit: Yuan Liao gmail com> CommitDate: Wed Jan 25 22:26:14 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29b79fbc dev-util/blueprint-compiler: Drop 0.4.0 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.4.0.ebuild| 92 -- 2 files changed, 93 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 1e308fba2..0abec3980 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,2 +1 @@ -DIST blueprint-compiler-v0.4.0.tar.bz2 50396 BLAKE2B eb51af35030fbaa583b809de0449e7e54143a7b5e582b9be24a0345ca704fb1b1d2778d96ebfb02cc66e4c4acdc97a0356e03624f33be1ea28316ed815c0e334 SHA512 9eb3b17e8b44ecd400c1ec683bf1edee54877a0f16e545ba2f9f9cb683163983fd096ff9403ab36658f92678036f4b6b43e1343cf2bc4793332ef4b2972408ac DIST blueprint-compiler-v0.6.0.tar.bz2 56896 BLAKE2B 318ffa52b2fbf3b07058e5b4d2f9bb0ef1f6614586b79968889921964b454e5c26d44e58a18185263797f7569135662d14471bafd8e501d7c6386e88972193d0 SHA512 458016f4eabef15026cb3ee675111984b19af8a9139bc412dfb48dfef56b0d0ff028316001d0ce04a90b50d6785c92d799f17ed42ca53fc7582345729ae02207 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild deleted file mode 100644 index 65b53ce6a..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit meson python-r1 - -if [[ ${PV} == * ]]; 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? ( - 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) - ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation is supposed to be identical - # between different Python implementations - use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) - } - - python_foreach_impl my_src_install - einstalldocs -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: a1d2a1419061ef902ef9546de91b1de56df49910 Author: Yuan Liao gmail com> AuthorDate: Wed Jan 25 22:25:38 2023 + Commit: Yuan Liao gmail com> CommitDate: Wed Jan 25 22:25:38 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1d2a141 dev-util/blueprint-compiler: Update copyright year in live ebuild Fixes: 5a6292c157f7e0e83b2e97615affb8313ee558e6 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/blueprint-compiler-.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index ae884dac1..99c1980a4 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 5a6292c157f7e0e83b2e97615affb8313ee558e6 Author: Yuan Liao gmail com> AuthorDate: Thu Jan 19 23:56:48 2023 + Commit: Yuan Liao gmail com> CommitDate: Thu Jan 19 23:56:48 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a6292c1 dev-util/blueprint-compiler: Update test execution for live ebuild An X environment is now required to run the tests. Reference: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/commit/039d88ab45001cf799c421e58d4669a0596c4d29 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/blueprint-compiler-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index 24ee0bf14..ae884dac1 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit meson python-r1 +inherit meson python-r1 virtualx if [[ ${PV} == * ]]; then inherit git-r3 @@ -57,7 +57,7 @@ src_compile() { } src_test() { - python_foreach_impl meson_src_test + virtx python_foreach_impl meson_src_test } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: c5f19fe7a70f13a2c13c31608b326a4fae22bc73 Author: Yuan Liao gmail com> AuthorDate: Mon Dec 5 21:16:00 2022 + Commit: Yuan Liao gmail com> CommitDate: Mon Dec 5 21:16:00 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5f19fe7 dev-util/blueprint-compiler: Build documentation in src_compile Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild | 3 +-- dev-util/blueprint-compiler/blueprint-compiler-.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild index 4d9743646..24ee0bf14 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild @@ -53,6 +53,7 @@ src_configure() { src_compile() { python_foreach_impl meson_src_compile + use doc && build_sphinx docs } src_test() { @@ -83,6 +84,4 @@ src_install() { } python_foreach_impl my_src_install - use doc && build_sphinx docs - einstalldocs } diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index 4d9743646..24ee0bf14 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -53,6 +53,7 @@ src_configure() { src_compile() { python_foreach_impl meson_src_compile + use doc && build_sphinx docs } src_test() { @@ -83,6 +84,4 @@ src_install() { } python_foreach_impl my_src_install - use doc && build_sphinx docs - einstalldocs }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: abe29d95066aed1600b07b21cbf1efad34a43b17 Author: Yuan Liao gmail com> AuthorDate: Tue Nov 29 21:58:32 2022 + Commit: Yuan Liao gmail com> CommitDate: Tue Nov 29 21:58:32 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abe29d95 dev-util/blueprint-compiler: Add gnome-gitlab upstream metadata Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-util/blueprint-compiler/metadata.xml b/dev-util/blueprint-compiler/metadata.xml index bb8f2c8f4..d425bd642 100644 --- a/dev-util/blueprint-compiler/metadata.xml +++ b/dev-util/blueprint-compiler/metadata.xml @@ -6,6 +6,7 @@ Yuan Liao + jwestman/blueprint-compiler https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 9884bdffec0a7f3023ec7ab2a552bea6838a8870 Author: Yuan Liao gmail com> AuthorDate: Tue Nov 29 21:51:32 2022 + Commit: Yuan Liao gmail com> CommitDate: Tue Nov 29 21:53:58 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9884bdff dev-util/blueprint-compiler: Add 0.6.0 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.6.0.ebuild| 88 ++ 2 files changed, 89 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 45004460c..00f72b978 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,2 +1,3 @@ DIST blueprint-compiler-v0.2.0.tar.bz2 45480 BLAKE2B 64c477070ea684002dc1e38eac8d22633ae7b46efb9887733118838c04d2c4e386d3825b3e07dcba1adada83afad439025d082d3bd74d2d737c1f5552085a716 SHA512 dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6 DIST blueprint-compiler-v0.4.0.tar.bz2 50396 BLAKE2B eb51af35030fbaa583b809de0449e7e54143a7b5e582b9be24a0345ca704fb1b1d2778d96ebfb02cc66e4c4acdc97a0356e03624f33be1ea28316ed815c0e334 SHA512 9eb3b17e8b44ecd400c1ec683bf1edee54877a0f16e545ba2f9f9cb683163983fd096ff9403ab36658f92678036f4b6b43e1343cf2bc4793332ef4b2972408ac +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 0..4d9743646 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.6.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-r1 + +if [[ ${PV} == * ]]; 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? ( + 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) + ) + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + } + + python_foreach_impl my_src_install + use doc && build_sphinx docs + einstalldocs +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: fe67eb92e4c9b39d271da72619b6381562f2443c Author: Yuan Liao gmail com> AuthorDate: Tue Nov 29 21:55:35 2022 + Commit: Yuan Liao gmail com> CommitDate: Tue Nov 29 21:55:35 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe67eb92 dev-util/blueprint-compiler: Drop 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 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 00f72b978..1e308fba2 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,3 +1,2 @@ -DIST blueprint-compiler-v0.2.0.tar.bz2 45480 BLAKE2B 64c477070ea684002dc1e38eac8d22633ae7b46efb9887733118838c04d2c4e386d3825b3e07dcba1adada83afad439025d082d3bd74d2d737c1f5552085a716 SHA512 dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6 DIST blueprint-compiler-v0.4.0.tar.bz2 50396 BLAKE2B eb51af35030fbaa583b809de0449e7e54143a7b5e582b9be24a0345ca704fb1b1d2778d96ebfb02cc66e4c4acdc97a0356e03624f33be1ea28316ed815c0e334 SHA512 9eb3b17e8b44ecd400c1ec683bf1edee54877a0f16e545ba2f9f9cb683163983fd096ff9403ab36658f92678036f4b6b43e1343cf2bc4793332ef4b2972408ac DIST blueprint-compiler-v0.6.0.tar.bz2 56896 BLAKE2B 318ffa52b2fbf3b07058e5b4d2f9bb0ef1f6614586b79968889921964b454e5c26d44e58a18185263797f7569135662d14471bafd8e501d7c6386e88972193d0 SHA512 458016f4eabef15026cb3ee675111984b19af8a9139bc412dfb48dfef56b0d0ff028316001d0ce04a90b50d6785c92d799f17ed42ca53fc7582345729ae02207 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild deleted file mode 100644 index b55e91db8..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.2.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2022 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 - -if [[ ${PV} == * ]]; 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}" -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: d3681c70b58b378a02e74fc5abe9367f8ad5e782 Author: Yuan Liao gmail com> AuthorDate: Tue Nov 29 21:50:33 2022 + Commit: Yuan Liao gmail com> CommitDate: Tue Nov 29 21:53:58 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3681c70 dev-util/blueprint-compiler: Sync live ebuild Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/blueprint-compiler-.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index 65b53ce6a..4d9743646 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -80,13 +80,9 @@ src_install() { meson_src_install python_doscript "${exe}" python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation is supposed to be identical - # between different Python implementations - use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) } python_foreach_impl my_src_install + use doc && build_sphinx docs einstalldocs }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 80c2556de40d5c96d13d326e07d74238a3d9b708 Author: Yuan Liao gmail com> AuthorDate: Fri Sep 16 16:52:57 2022 + Commit: Yuan Liao gmail com> CommitDate: Fri Sep 16 16:52:57 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80c2556d dev-util/blueprint-compiler: Add 0.4.0 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.4.0.ebuild| 92 ++ 2 files changed, 93 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 12df55944..45004460c 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1 +1,2 @@ DIST blueprint-compiler-v0.2.0.tar.bz2 45480 BLAKE2B 64c477070ea684002dc1e38eac8d22633ae7b46efb9887733118838c04d2c4e386d3825b3e07dcba1adada83afad439025d082d3bd74d2d737c1f5552085a716 SHA512 dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6 +DIST blueprint-compiler-v0.4.0.tar.bz2 50396 BLAKE2B eb51af35030fbaa583b809de0449e7e54143a7b5e582b9be24a0345ca704fb1b1d2778d96ebfb02cc66e4c4acdc97a0356e03624f33be1ea28316ed815c0e334 SHA512 9eb3b17e8b44ecd400c1ec683bf1edee54877a0f16e545ba2f9f9cb683163983fd096ff9403ab36658f92678036f4b6b43e1343cf2bc4793332ef4b2972408ac diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild new file mode 100644 index 0..65b53ce6a --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.4.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-r1 + +if [[ ${PV} == * ]]; 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? ( + 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) + ) + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + + # Install Sphinx-generated documentation only once + # since the documentation is supposed to be identical + # between different Python implementations + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + } + + python_foreach_impl my_src_install + einstalldocs +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: ff87825370e57408d6f5aeee8c2021e99d636a61 Author: Yuan Liao gmail com> AuthorDate: Fri Sep 16 16:40:43 2022 + Commit: Yuan Liao gmail com> CommitDate: Fri Sep 16 16:40:43 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff878253 dev-util/blueprint-compiler: Sync live ebuild for Py module path change This is the third time the upstream changes where the package's Python module is installed, yet it is merely a backtrack to pre-v0.2.0 behavior... Nevertheless, the good news is that this package can be installed as a multi-impl Python package (again). Signed-off-by: Yuan Liao gmail.com> .../blueprint-compiler-.ebuild | 51 +- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index b55e91db8..65b53ce6a 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit meson python-single-r1 +inherit meson python-r1 if [[ ${PV} == * ]]; then inherit git-r3 @@ -29,10 +29,8 @@ RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} doc? ( - $(python_gen_cond_dep ' - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/furo[${PYTHON_USEDEP}] - ') + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/furo[${PYTHON_USEDEP}] ) " @@ -50,12 +48,45 @@ src_configure() { local emesonargs=( $(meson_use doc docs) ) - meson_src_configure + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test } 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}" + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + + # Install Sphinx-generated documentation only once + # since the documentation is supposed to be identical + # between different Python implementations + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + } + + python_foreach_impl my_src_install + einstalldocs }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: a7e97dc52eb10735296bbe0f5073574127514e0b Author: Yuan Liao gmail com> AuthorDate: Sat Jul 30 15:42:15 2022 + Commit: Yuan Liao gmail com> CommitDate: Sat Jul 30 15:42:15 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a7e97dc5 dev-util/blueprint-compiler: Drop 0.1.0_pre20220419 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.1.0_pre20220419.ebuild| 98 -- 2 files changed, 99 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 7535fa13b..12df55944 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,2 +1 @@ -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.1.0_pre20220419.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild deleted file mode 100644 index a4993541d..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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-r1 - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; -else - # Upstream has not started to tag releases yet, so each keyworded (normal) - # ebuild is to be based on a Git commit snapshot at this moment. - # Live ebuild: Might be intentionally left blank - # Normal ebuild: Fill in commit SHA-1 object name to this variable's value - GIT_COMMIT="f77550413c2cc987368b3aac3643c7bfb8b522ef" - KEYWORDS="~amd64" - - SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${GIT_COMMIT}" -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? ( - 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) - ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation is supposed to be identical - # between different Python implementations - use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) - } - - python_foreach_impl my_src_install - einstalldocs -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 7c5d172a9e341dfe391da20b909ce50cecd692d0 Author: Yuan Liao gmail com> AuthorDate: Sat Jun 11 15:08:34 2022 + Commit: Yuan Liao gmail com> CommitDate: Sat Jun 11 15:08:34 2022 + 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 0..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} == * ]]; 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}" +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: a3e016713e82c7036e89b671f6bb77f6c2d24d27 Author: Yuan Liao gmail com> AuthorDate: Sat Jun 11 15:07:35 2022 + Commit: Yuan Liao gmail com> CommitDate: Sat Jun 11 15:07:35 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3e01671 dev-util/blueprint-compiler: Sync live ebuild Signed-off-by: Yuan Liao gmail.com> .../blueprint-compiler-.ebuild | 61 +- 1 file changed, 12 insertions(+), 49 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index 219419000..0fc9a3e31 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -5,21 +5,15 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..10} ) -inherit meson python-r1 +inherit meson python-single-r1 if [[ ${PV} == * ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; else - # Upstream has not started to tag releases yet, so each keyworded (normal) - # ebuild is to be based on a Git commit snapshot at this moment. - # Live ebuild: Might be intentionally left blank - # Normal ebuild: Fill in commit SHA-1 object name to this variable's value - GIT_COMMIT="" + 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" - - SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${GIT_COMMIT}" fi DESCRIPTION="Compiler for Blueprint, a markup language for GTK user interfaces" @@ -35,8 +29,10 @@ RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/furo[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/furo[${PYTHON_USEDEP}] + ') ) " @@ -54,45 +50,12 @@ src_configure() { local emesonargs=( $(meson_use doc docs) ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test + meson_src_configure } src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation is supposed to be identical - # between different Python implementations - use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) - } - - python_foreach_impl my_src_install - einstalldocs + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + meson_src_install + python_optimize "${D}/usr/share/${PN}" + python_fix_shebang "${D}/usr/bin/${PN}" }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 5da00038167adb2bc74a356481dc7db6df4bce3d Author: Yuan Liao gmail com> AuthorDate: Sat Jun 11 15:08:20 2022 + Commit: Yuan Liao gmail com> CommitDate: Sat Jun 11 15:08:20 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5da00038 dev-util/blueprint-compiler: Drop 0.1.0_pre20220319 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.1.0_pre20220319.ebuild| 98 -- 2 files changed, 99 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index a0a3dc033..b133c1653 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,2 +1 @@ -DIST blueprint-compiler-0.1.0_pre20220319.tar.gz 52091 BLAKE2B 84184cada20257dd2717bd5ecd4f2493deca67c63a6005417310f1d7dd9e049398d341a037e71ca08d87417af7627d2bdc5dfd56f2e8ca73f0076eec7bcd671d SHA512 6acfc1b9000e99ca270ee940c47824e8683a3433d7846548b488563b1ce924b8a893cba475bc3b28b971bb3d7a6634c8539dfb34fa12e0bc7ce81c1aed959452 DIST blueprint-compiler-0.1.0_pre20220419.tar.gz 53439 BLAKE2B 1683356aa10ffdc6b1f6b5d072a301bbc2cdde2eb986f22aa83c269af1fa8cc100910ca790b2b94056db926221b42d2f8309019ee10442374d7e915ab5ec2ed3 SHA512 9017667728723d0e9358ffe9e868f743093cadc7434275c5805f406da72d5cd7afcb5af394c5610446ab6cebdddafc52f65723e16950b3aae47c8739b77e3ef1 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild deleted file mode 100644 index 871c0eae1..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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-r1 - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; -else - # Upstream has not started to tag releases yet, so each keyworded (normal) - # ebuild is to be based on a Git commit snapshot at this moment. - # Live ebuild: Might be intentionally left blank - # Normal ebuild: Fill in commit SHA-1 object name to this variable's value - GIT_COMMIT="3f37380c25c66d81166d2871ffa1c7bc16c6af1d" - KEYWORDS="~amd64" - - SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${GIT_COMMIT}" -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? ( - 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) - ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation is supposed to be identical - # between different Python implementations - use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) - } - - python_foreach_impl my_src_install - einstalldocs -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: f7e79b297d49622853858b3ab72bbaac65c75bc8 Author: Yuan Liao gmail com> AuthorDate: Wed Apr 20 18:46:08 2022 + Commit: Yuan Liao gmail com> CommitDate: Wed Apr 20 18:46:08 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7e79b29 dev-util/blueprint-compiler: Add 0.1.0_pre20220419 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.1.0_pre20220419.ebuild| 98 ++ 2 files changed, 99 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index 0333a4e1a..e3784f1ed 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,2 +1,3 @@ DIST blueprint-compiler-0.1.0_pre20220219.tar.gz 51398 BLAKE2B 282fa95486d0fd18d8fc41682f29a4ecd9b94b4f4b617697809630d66d7fdcaebd8f1830bc0675f1f5917787c80d0d15f10a72230378390fd32642fc9473ccc2 SHA512 ca4b0f654bb212750f5381fa6d95dc66e0fbc494962bb60d370ec919bae239f657bcc3873522b3c903eb2441e684d83d794835df249b8107e40ac5429a53f067 DIST blueprint-compiler-0.1.0_pre20220319.tar.gz 52091 BLAKE2B 84184cada20257dd2717bd5ecd4f2493deca67c63a6005417310f1d7dd9e049398d341a037e71ca08d87417af7627d2bdc5dfd56f2e8ca73f0076eec7bcd671d SHA512 6acfc1b9000e99ca270ee940c47824e8683a3433d7846548b488563b1ce924b8a893cba475bc3b28b971bb3d7a6634c8539dfb34fa12e0bc7ce81c1aed959452 +DIST blueprint-compiler-0.1.0_pre20220419.tar.gz 53439 BLAKE2B 1683356aa10ffdc6b1f6b5d072a301bbc2cdde2eb986f22aa83c269af1fa8cc100910ca790b2b94056db926221b42d2f8309019ee10442374d7e915ab5ec2ed3 SHA512 9017667728723d0e9358ffe9e868f743093cadc7434275c5805f406da72d5cd7afcb5af394c5610446ab6cebdddafc52f65723e16950b3aae47c8739b77e3ef1 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild new file mode 100644 index 0..a4993541d --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild @@ -0,0 +1,98 @@ +# 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-r1 + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; +else + # Upstream has not started to tag releases yet, so each keyworded (normal) + # ebuild is to be based on a Git commit snapshot at this moment. + # Live ebuild: Might be intentionally left blank + # Normal ebuild: Fill in commit SHA-1 object name to this variable's value + GIT_COMMIT="f77550413c2cc987368b3aac3643c7bfb8b522ef" + KEYWORDS="~amd64" + + SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${GIT_COMMIT}" +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? ( + 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) + ) + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + + # Install Sphinx-generated documentation only once + # since the documentation is
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 2dafc14e0c6803226c3920d99f32aa41586381ad Author: Yuan Liao gmail com> AuthorDate: Wed Apr 20 18:46:20 2022 + Commit: Yuan Liao gmail com> CommitDate: Wed Apr 20 18:46:20 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2dafc14e dev-util/blueprint-compiler: Drop 0.1.0_pre20220219 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.1.0_pre20220219.ebuild| 98 -- 2 files changed, 99 deletions(-) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index e3784f1ed..a0a3dc033 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1,3 +1,2 @@ -DIST blueprint-compiler-0.1.0_pre20220219.tar.gz 51398 BLAKE2B 282fa95486d0fd18d8fc41682f29a4ecd9b94b4f4b617697809630d66d7fdcaebd8f1830bc0675f1f5917787c80d0d15f10a72230378390fd32642fc9473ccc2 SHA512 ca4b0f654bb212750f5381fa6d95dc66e0fbc494962bb60d370ec919bae239f657bcc3873522b3c903eb2441e684d83d794835df249b8107e40ac5429a53f067 DIST blueprint-compiler-0.1.0_pre20220319.tar.gz 52091 BLAKE2B 84184cada20257dd2717bd5ecd4f2493deca67c63a6005417310f1d7dd9e049398d341a037e71ca08d87417af7627d2bdc5dfd56f2e8ca73f0076eec7bcd671d SHA512 6acfc1b9000e99ca270ee940c47824e8683a3433d7846548b488563b1ce924b8a893cba475bc3b28b971bb3d7a6634c8539dfb34fa12e0bc7ce81c1aed959452 DIST blueprint-compiler-0.1.0_pre20220419.tar.gz 53439 BLAKE2B 1683356aa10ffdc6b1f6b5d072a301bbc2cdde2eb986f22aa83c269af1fa8cc100910ca790b2b94056db926221b42d2f8309019ee10442374d7e915ab5ec2ed3 SHA512 9017667728723d0e9358ffe9e868f743093cadc7434275c5805f406da72d5cd7afcb5af394c5610446ab6cebdddafc52f65723e16950b3aae47c8739b77e3ef1 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild deleted file mode 100644 index f38e5e7d8..0 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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-r1 - -if [[ ${PV} == * ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; -else - # Upstream has not started to tag releases yet, so each keyworded (normal) - # ebuild is to be based on a Git commit snapshot at this moment. - # Live ebuild: Might be intentionally left blank - # Normal ebuild: Fill in commit SHA-1 object name to this variable's value - GIT_COMMIT="8ce748e62b6f7d10cf16a075a37c8f4b1f0267e4" - KEYWORDS="~amd64" - - SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${GIT_COMMIT}" -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? ( - 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) - ) - python_foreach_impl meson_src_configure -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - my_src_install() { - local exe="${ED}/usr/bin/${PN}" - - # Meson installs a Python script at ${ED}/usr/bin/${PN}; on - # Gentoo, the script should go into ${ED}/usr/lib/python-exec, - # and ${ED}/usr/bin/${PN} should be a symbolic link to - # ${ED}/usr/lib/python-exec/python-exec2. - # - # When multiple PYTHON_TARGETS are enabled, then after the - # package has been installed for one Python implementation, - # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and - # install the script at ${ED}/usr/lib/python-exec/python-exec2 - # for the remaining implementations, leading to file collision. - if [[ -L "${exe}" ]]; then - rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" - fi - - meson_src_install - python_doscript "${exe}" - python_optimize - - # Install Sphinx-generated documentation only once - # since the documentation
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 2ea52dd47997f564316817a813cb0749afc05fb0 Author: Yuan Liao gmail com> AuthorDate: Mon Mar 21 06:07:52 2022 + Commit: Yuan Liao gmail com> CommitDate: Mon Mar 21 06:07:52 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ea52dd4 dev-util/blueprint-compiler: Add 0.1.0_pre20220319 Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.1.0_pre20220319.ebuild| 98 ++ 2 files changed, 99 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest index c0379ca60..0333a4e1a 100644 --- a/dev-util/blueprint-compiler/Manifest +++ b/dev-util/blueprint-compiler/Manifest @@ -1 +1,2 @@ DIST blueprint-compiler-0.1.0_pre20220219.tar.gz 51398 BLAKE2B 282fa95486d0fd18d8fc41682f29a4ecd9b94b4f4b617697809630d66d7fdcaebd8f1830bc0675f1f5917787c80d0d15f10a72230378390fd32642fc9473ccc2 SHA512 ca4b0f654bb212750f5381fa6d95dc66e0fbc494962bb60d370ec919bae239f657bcc3873522b3c903eb2441e684d83d794835df249b8107e40ac5429a53f067 +DIST blueprint-compiler-0.1.0_pre20220319.tar.gz 52091 BLAKE2B 84184cada20257dd2717bd5ecd4f2493deca67c63a6005417310f1d7dd9e049398d341a037e71ca08d87417af7627d2bdc5dfd56f2e8ca73f0076eec7bcd671d SHA512 6acfc1b9000e99ca270ee940c47824e8683a3433d7846548b488563b1ce924b8a893cba475bc3b28b971bb3d7a6634c8539dfb34fa12e0bc7ce81c1aed959452 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild new file mode 100644 index 0..871c0eae1 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220319.ebuild @@ -0,0 +1,98 @@ +# 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-r1 + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; +else + # Upstream has not started to tag releases yet, so each keyworded (normal) + # ebuild is to be based on a Git commit snapshot at this moment. + # Live ebuild: Might be intentionally left blank + # Normal ebuild: Fill in commit SHA-1 object name to this variable's value + GIT_COMMIT="3f37380c25c66d81166d2871ffa1c7bc16c6af1d" + KEYWORDS="~amd64" + + SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${GIT_COMMIT}" +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? ( + 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) + ) + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + + # Install Sphinx-generated documentation only once + # since the documentation is supposed to be identical + # between different Python implementations + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + } + + python_foreach_impl my_src_install + einstalldocs +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 0e4a1a1043d43b0c2c6c8b4e4eb9dd91511fa366 Author: Yuan Liao gmail com> AuthorDate: Mon Feb 21 13:05:20 2022 + Commit: Yuan Liao gmail com> CommitDate: Mon Feb 21 13:09:42 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e4a1a10 dev-util/blueprint-compiler: Add missing test dependency Closes: https://bugs.gentoo.org/833823 Signed-off-by: Yuan Liao gmail.com> .../blueprint-compiler-0.1.0_pre20220219.ebuild | 9 - dev-util/blueprint-compiler/blueprint-compiler-.ebuild | 9 - 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild index 6dfccd58c..f38e5e7d8 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/; LICENSE="LGPL-3+" SLOT="0" -IUSE="doc" +IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} @@ -39,6 +40,12 @@ BDEPEND=" ) " +DEPEND=" + test? ( + gui-libs/gtk:4[introspection] + ) +" + RDEPEND=" ${PYTHON_DEPS} " diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild index 7ffa8d633..219419000 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/; LICENSE="LGPL-3+" SLOT="0" -IUSE="doc" +IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} @@ -39,6 +40,12 @@ BDEPEND=" ) " +DEPEND=" + test? ( + gui-libs/gtk:4[introspection] + ) +" + RDEPEND=" ${PYTHON_DEPS} "
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/blueprint-compiler/
commit: 4c92aee93dc8e74d760e0a0d2c649e80d3cceae7 Author: Yuan Liao gmail com> AuthorDate: Sat Feb 19 23:39:45 2022 + Commit: Yuan Liao gmail com> CommitDate: Sat Feb 19 23:39:45 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c92aee9 dev-util/blueprint-compiler: Initial import Signed-off-by: Yuan Liao gmail.com> dev-util/blueprint-compiler/Manifest | 1 + .../blueprint-compiler-0.1.0_pre20220219.ebuild| 91 ++ .../blueprint-compiler-.ebuild | 91 ++ dev-util/blueprint-compiler/metadata.xml | 11 +++ 4 files changed, 194 insertions(+) diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest new file mode 100644 index 0..c0379ca60 --- /dev/null +++ b/dev-util/blueprint-compiler/Manifest @@ -0,0 +1 @@ +DIST blueprint-compiler-0.1.0_pre20220219.tar.gz 51398 BLAKE2B 282fa95486d0fd18d8fc41682f29a4ecd9b94b4f4b617697809630d66d7fdcaebd8f1830bc0675f1f5917787c80d0d15f10a72230378390fd32642fc9473ccc2 SHA512 ca4b0f654bb212750f5381fa6d95dc66e0fbc494962bb60d370ec919bae239f657bcc3873522b3c903eb2441e684d83d794835df249b8107e40ac5429a53f067 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild new file mode 100644 index 0..6dfccd58c --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild @@ -0,0 +1,91 @@ +# 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-r1 + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git; +else + # Upstream has not started to tag releases yet, so each keyworded (normal) + # ebuild is to be based on a Git commit snapshot at this moment. + # Live ebuild: Might be intentionally left blank + # Normal ebuild: Fill in commit SHA-1 object name to this variable's value + GIT_COMMIT="8ce748e62b6f7d10cf16a075a37c8f4b1f0267e4" + KEYWORDS="~amd64" + + SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${GIT_COMMIT}" +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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND=" + ${PYTHON_DEPS} + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/furo[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + ${PYTHON_DEPS} +" + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + ) + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + my_src_install() { + local exe="${ED}/usr/bin/${PN}" + + # Meson installs a Python script at ${ED}/usr/bin/${PN}; on + # Gentoo, the script should go into ${ED}/usr/lib/python-exec, + # and ${ED}/usr/bin/${PN} should be a symbolic link to + # ${ED}/usr/lib/python-exec/python-exec2. + # + # When multiple PYTHON_TARGETS are enabled, then after the + # package has been installed for one Python implementation, + # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and + # install the script at ${ED}/usr/lib/python-exec/python-exec2 + # for the remaining implementations, leading to file collision. + if [[ -L "${exe}" ]]; then + rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" + fi + + meson_src_install + python_doscript "${exe}" + python_optimize + + # Install Sphinx-generated documentation only once + # since the documentation is supposed to be identical + # between different Python implementations + use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) + } + + python_foreach_impl my_src_install + einstalldocs +} diff --git a/dev-util/blueprint-compiler/blueprint-compiler-.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild new file mode 100644 index 0..7ffa8d633 --- /dev/null +++ b/dev-util/blueprint-compiler/blueprint-compiler-.ebuild @@ -0,0 +1,91 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) + +inherit