gnome-extra/extension-manager: Reformat ebuild and update comments

Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
This commit is contained in:
Yuan Liao
2022-03-20 20:15:30 -07:00
parent 2ef4c3c843
commit 29fbb74e0f
2 changed files with 41 additions and 20 deletions

View File

@@ -19,23 +19,41 @@ HOMEPAGE="https://github.com/mjakeman/extension-manager"
LICENSE="GPL-3+" LICENSE="GPL-3+"
SLOT="0" SLOT="0"
DEPEND="
dev-libs/glib:2
dev-libs/json-glib
gui-libs/gtk:4[introspection]
gui-libs/libadwaita:1[introspection]
net-libs/libsoup:3.0
"
RDEPEND="${DEPEND}"
BDEPEND=" BDEPEND="
dev-libs/glib:2 dev-libs/glib:2
dev-util/blueprint-compiler dev-util/blueprint-compiler
virtual/pkgconfig virtual/pkgconfig
" "
# disable AppStream test RDEPEND="
dev-libs/glib:2
dev-libs/json-glib
gui-libs/gtk:4[introspection]
gui-libs/libadwaita:1[introspection]
net-libs/libsoup:3.0
"
DEPEND="
${RDEPEND}
"
# Tests are skipped because as of version 0.2.3, the tests only validate
# resource files and do not verify any functionality of the program. Those
# validations are either already handled by QA checks or not relevant on
# Gentoo. For more information about the rationale, please refer to:
# https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
#
# If tests are to be executed in the future because the upstream adds
# functionality tests or for other reasons, and should there be no convenient
# way to skip the validations, the following variable values need to be set:
#
# IUSE="test"
# # 'Validate appstream file' test case requires Internet connection
# PROPERTIES="test_network"
# RESTRICT="test"
# BDEPEND="test? ( dev-libs/appstream-glib dev-util/desktop-file-utils )"
src_test() { src_test() {
: :
} }
pkg_postinst() { pkg_postinst() {

View File

@@ -19,18 +19,22 @@ HOMEPAGE="https://github.com/mjakeman/extension-manager"
LICENSE="GPL-3+" LICENSE="GPL-3+"
SLOT="0" SLOT="0"
DEPEND=" BDEPEND="
dev-libs/glib:2
dev-util/blueprint-compiler
virtual/pkgconfig
"
RDEPEND="
dev-libs/glib:2 dev-libs/glib:2
dev-libs/json-glib dev-libs/json-glib
gui-libs/gtk:4[introspection] gui-libs/gtk:4[introspection]
gui-libs/libadwaita:1[introspection] gui-libs/libadwaita:1[introspection]
net-libs/libsoup:3.0 net-libs/libsoup:3.0
" "
RDEPEND="${DEPEND}"
BDEPEND=" DEPEND="
dev-libs/glib:2 ${RDEPEND}
dev-util/blueprint-compiler
virtual/pkgconfig
" "
src_configure() { src_configure() {
@@ -44,14 +48,13 @@ src_configure() {
# Tests are skipped because as of version 0.2.3, the tests only validate # Tests are skipped because as of version 0.2.3, the tests only validate
# resource files and do not verify any functionality of the program. Those # resource files and do not verify any functionality of the program. Those
# validations are either already handled by QA checks or are not relevant on # validations are either already handled by QA checks or not relevant on
# Gentoo. For more information about the rationale, please refer to: # Gentoo. For more information about the rationale, please refer to:
# https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments # https://github.com/gentoo/guru/commit/f896bee213fbb62c70e818c1bf503fee2a41919a#comments
# #
# If tests are to be executed in the future because the upstream adds # If tests are to be executed in the future because the upstream adds
# functionality tests in the future or for other reasons, and should there be # functionality tests or for other reasons, and should there be no convenient
# no convenient way to skip the validations, the following variable values need # way to skip the validations, the following variable values need to be set:
# to be set:
# #
# IUSE="test" # IUSE="test"
# # 'Validate appstream file' test case requires Internet connection # # 'Validate appstream file' test case requires Internet connection