commit: 2aff6c84b311ae2b86a10742853ec4a6009a43c4 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> AuthorDate: Tue Mar 14 16:02:54 2023 +0000 Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> CommitDate: Tue Mar 14 16:02:54 2023 +0000 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 <liaoyuan <AT> gmail.com> dev-util/blueprint-compiler/Manifest | 1 - .../blueprint-compiler-0.6.0.ebuild | 87 ---------------------- .../blueprint-compiler-9999.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..000000000 --- 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..000000000 --- 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} == *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? ( - 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-9999.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild deleted file mode 100644 index 99c1980a4..000000000 --- a/dev-util/blueprint-compiler/blueprint-compiler-9999.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} == *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? ( - 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() { - virtx 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/metadata.xml b/dev-util/blueprint-compiler/metadata.xml deleted file mode 100644 index d425bd642..000000000 --- a/dev-util/blueprint-compiler/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>liaoy...@gmail.com</email> - <name>Yuan Liao</name> - </maintainer> - <upstream> - <remote-id type="gnome-gitlab">jwestman/blueprint-compiler</remote-id> - <doc>https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/</doc> - </upstream> -</pkgmetadata>