mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
dev-util/blueprint-compiler: drop old 0.16.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
589c799762
commit
1a5127c20f
@ -1,2 +1 @@
|
||||
DIST blueprint-compiler-0.18.0.tar.xz 106160 BLAKE2B c7e898075a9cac8153e50eca1a6de5b3f5b65e0b901af997ea000ac0155bd6ac683238fe6730599d1e1282802d6c22f5d25abe3b766ea591361429d26ee758a3 SHA512 0f15a0e997ec8edced82053f345abbfa4a77ca77dd5976d39e135c3b8af137f712ce2cb5b33abba7450ff440fb48dcb136186e2e0b7d54d0393d5778e8b19142
|
||||
DIST blueprint-compiler-v0.16.0.tar.bz2 101391 BLAKE2B 6380f3aa3472ab0567e89acadf290e4954dbe640d5c4aaa6adfe3fb13ee50295c21dffcca1a4baccf3b5049429eae22d8953acc65dbef1904de01209226d0c88 SHA512 9c8b3da532f7d9a36fa0993da295438afe57a5da03e122f3d9cc715dd7b7d99f2be52416f19a7a8d8523516f4f799cbb0a2c9ffafdef58a66163857542e5c8d7
|
||||
|
||||
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit edo 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 ~arm ~arm64 ~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_prepare() {
|
||||
default
|
||||
|
||||
rm ./tests/test_deprecations.py || die
|
||||
rm ./tests/test_samples.py || die # Fails on CI, bug #947156
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a emesonargs=(
|
||||
$(meson_use doc docs)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
meson_src_compile
|
||||
|
||||
if use doc ; then
|
||||
build_sphinx docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx edo "${EPYTHON}" -m unittest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_fix_shebang "${ED}/usr/bin"
|
||||
python_optimize
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user