1 |
commit: a7e97dc52eb10735296bbe0f5073574127514e0b |
2 |
Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 30 15:42:15 2022 +0000 |
4 |
Commit: Yuan Liao <liaoyuan <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Jul 30 15:42:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a7e97dc5 |
7 |
|
8 |
dev-util/blueprint-compiler: Drop 0.1.0_pre20220419 |
9 |
|
10 |
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> |
11 |
|
12 |
dev-util/blueprint-compiler/Manifest | 1 - |
13 |
.../blueprint-compiler-0.1.0_pre20220419.ebuild | 98 ---------------------- |
14 |
2 files changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/blueprint-compiler/Manifest b/dev-util/blueprint-compiler/Manifest |
17 |
index 7535fa13b..12df55944 100644 |
18 |
--- a/dev-util/blueprint-compiler/Manifest |
19 |
+++ b/dev-util/blueprint-compiler/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST blueprint-compiler-0.1.0_pre20220419.tar.gz 53439 BLAKE2B 1683356aa10ffdc6b1f6b5d072a301bbc2cdde2eb986f22aa83c269af1fa8cc100910ca790b2b94056db926221b42d2f8309019ee10442374d7e915ab5ec2ed3 SHA512 9017667728723d0e9358ffe9e868f743093cadc7434275c5805f406da72d5cd7afcb5af394c5610446ab6cebdddafc52f65723e16950b3aae47c8739b77e3ef1 |
22 |
DIST blueprint-compiler-v0.2.0.tar.bz2 45480 BLAKE2B 64c477070ea684002dc1e38eac8d22633ae7b46efb9887733118838c04d2c4e386d3825b3e07dcba1adada83afad439025d082d3bd74d2d737c1f5552085a716 SHA512 dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6 |
23 |
|
24 |
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 |
25 |
deleted file mode 100644 |
26 |
index a4993541d..000000000 |
27 |
--- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220419.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,98 +0,0 @@ |
30 |
-# Copyright 2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{9..10} ) |
36 |
- |
37 |
-inherit meson python-r1 |
38 |
- |
39 |
-if [[ ${PV} == *9999 ]]; then |
40 |
- inherit git-r3 |
41 |
- EGIT_REPO_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler.git" |
42 |
-else |
43 |
- # Upstream has not started to tag releases yet, so each keyworded (normal) |
44 |
- # ebuild is to be based on a Git commit snapshot at this moment. |
45 |
- # Live ebuild: Might be intentionally left blank |
46 |
- # Normal ebuild: Fill in commit SHA-1 object name to this variable's value |
47 |
- GIT_COMMIT="f77550413c2cc987368b3aac3643c7bfb8b522ef" |
48 |
- KEYWORDS="~amd64" |
49 |
- |
50 |
- SRC_URI="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/${GIT_COMMIT}/blueprint-compiler-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
51 |
- S="${WORKDIR}/${PN}-${GIT_COMMIT}" |
52 |
-fi |
53 |
- |
54 |
-DESCRIPTION="Compiler for Blueprint, a markup language for GTK user interfaces" |
55 |
-HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/" |
56 |
- |
57 |
-LICENSE="LGPL-3+" |
58 |
-SLOT="0" |
59 |
- |
60 |
-IUSE="doc test" |
61 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
62 |
-RESTRICT="!test? ( test )" |
63 |
- |
64 |
-BDEPEND=" |
65 |
- ${PYTHON_DEPS} |
66 |
- doc? ( |
67 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
68 |
- dev-python/furo[${PYTHON_USEDEP}] |
69 |
- ) |
70 |
-" |
71 |
- |
72 |
-DEPEND=" |
73 |
- test? ( |
74 |
- gui-libs/gtk:4[introspection] |
75 |
- ) |
76 |
-" |
77 |
- |
78 |
-RDEPEND=" |
79 |
- ${PYTHON_DEPS} |
80 |
-" |
81 |
- |
82 |
-src_configure() { |
83 |
- local emesonargs=( |
84 |
- $(meson_use doc docs) |
85 |
- ) |
86 |
- python_foreach_impl meson_src_configure |
87 |
-} |
88 |
- |
89 |
-src_compile() { |
90 |
- python_foreach_impl meson_src_compile |
91 |
-} |
92 |
- |
93 |
-src_test() { |
94 |
- python_foreach_impl meson_src_test |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- my_src_install() { |
99 |
- local exe="${ED}/usr/bin/${PN}" |
100 |
- |
101 |
- # Meson installs a Python script at ${ED}/usr/bin/${PN}; on |
102 |
- # Gentoo, the script should go into ${ED}/usr/lib/python-exec, |
103 |
- # and ${ED}/usr/bin/${PN} should be a symbolic link to |
104 |
- # ${ED}/usr/lib/python-exec/python-exec2. |
105 |
- # |
106 |
- # When multiple PYTHON_TARGETS are enabled, then after the |
107 |
- # package has been installed for one Python implementation, |
108 |
- # Meson will follow the ${ED}/usr/bin/${PN} symbolic link and |
109 |
- # install the script at ${ED}/usr/lib/python-exec/python-exec2 |
110 |
- # for the remaining implementations, leading to file collision. |
111 |
- if [[ -L "${exe}" ]]; then |
112 |
- rm -v "${exe}" || die "Failed to remove symbolic link ${exe}" |
113 |
- fi |
114 |
- |
115 |
- meson_src_install |
116 |
- python_doscript "${exe}" |
117 |
- python_optimize |
118 |
- |
119 |
- # Install Sphinx-generated documentation only once |
120 |
- # since the documentation is supposed to be identical |
121 |
- # between different Python implementations |
122 |
- use doc && HTML_DOCS=( "${BUILD_DIR}/docs"/* ) |
123 |
- } |
124 |
- |
125 |
- python_foreach_impl my_src_install |
126 |
- einstalldocs |
127 |
-} |