commit: 68f5230b9d40ec51982cb87dbb7885843dc14fe3 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Apr 2 03:35:31 2023 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sun Apr 2 03:35:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68f5230b
gui-apps/meteo-qt: new package, add 3.3 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> gui-apps/meteo-qt/Manifest | 1 + gui-apps/meteo-qt/metadata.xml | 11 ++++++++++ gui-apps/meteo-qt/meteo-qt-3.3.ebuild | 40 +++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/gui-apps/meteo-qt/Manifest b/gui-apps/meteo-qt/Manifest new file mode 100644 index 000000000..7922ae828 --- /dev/null +++ b/gui-apps/meteo-qt/Manifest @@ -0,0 +1 @@ +DIST meteo-qt-3.3.gh.tar.gz 931450 BLAKE2B 0f8128ba768510b278862e2dbe33267cb339cb6fb6299e6448f49a6d5efaf98db045bd07833695e2eea936ce78bece4bc62bb62322a1df43767438e72c26dc86 SHA512 e52d05b98b99ecc01b9d584cf15db495f5c1eaa6e3ac1f429542d9d43e3890b03d93e3c7a55059821a32ea614cce7bb104b9353c59da04f164b561c920cca415 diff --git a/gui-apps/meteo-qt/metadata.xml b/gui-apps/meteo-qt/metadata.xml new file mode 100644 index 000000000..71b2eabaa --- /dev/null +++ b/gui-apps/meteo-qt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Anna</name> + </maintainer> + <upstream> + <remote-id type="github">dglent/meteo-qt</remote-id> + </upstream> +</pkgmetadata> diff --git a/gui-apps/meteo-qt/meteo-qt-3.3.ebuild b/gui-apps/meteo-qt/meteo-qt-3.3.ebuild new file mode 100644 index 000000000..7c916f7f2 --- /dev/null +++ b/gui-apps/meteo-qt/meteo-qt-3.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +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/PyQt5[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + dev-python/PyQt5 + dev-qt/linguist-tools +" + +src_compile() { + local -x PATH="$(qt5_get_bindir):${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 +}
