gui-apps/meteo-qt - 4.3 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/meteo-qt-4.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/meteo-qt-4.3

Or alternatively:

emerge --autounmask-write -a =gui-apps/meteo-qt-4.3

Package Information

Description:
A system tray application for the weather status
Homepage:
https://github.com/dglent/meteo-qt
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
4.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 qmake-utils xdg

DESCRIPTION="A system tray application for the weather status"
HOMEPAGE="https://github.com/dglent/meteo-qt"
SRC_URI="https://github.com/dglent/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	$(python_gen_cond_dep '
		dev-python/pyqt6[${PYTHON_USEDEP}]
		dev-python/lxml[${PYTHON_USEDEP}]
	')
"
BDEPEND="
	dev-python/pyqt6
	dev-qt/qttools:6[linguist]
"

src_prepare() {
	sed "s/lrelease-pro-qt6/lrelease-pro/g" -i setup.py || die
	distutils-r1_src_prepare
}

src_compile() {
	local -x PATH="${EPREFIX}$(qt6_get_libdir)/qt6/libexec:${PATH}"
	distutils-r1_src_compile
}

python_install() {
	mv "${BUILD_DIR}/install$(python_get_sitedir)/usr" "${ED}" || die
	rm -r "${ED}/usr/share/doc" || die

	distutils-r1_python_install
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

	$(python_gen_cond_dep '
		dev-python/pyqt6[${PYTHON_USEDEP}]
		dev-python/lxml[${PYTHON_USEDEP}]
	')

BDEPEND

	dev-python/pyqt6
	dev-qt/qttools:6[linguist]

Manifest for 4.3

Type File Size Source URLs
DIST meteo-qt-4.3.gh.tar.gz 1034218 bytes https://github.com/dglent/meteo-qt/archive/refs/tags/v4.3.tar.gz