Files
guru/dev-python/tempy/tempy-1.4.0.ebuild
T

31 lines
1.0 KiB
Bash
Raw Normal View History

2024-03-10 23:14:32 +01:00
# Copyright 1999-2024 Gentoo Authors
2023-01-18 11:22:19 +01:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2023-12-01 11:26:29 +01:00
DISTUTILS_USE_PEP517=poetry
2026-03-09 00:12:27 +01:00
PYTHON_COMPAT=( python3_12 )
2023-01-18 11:22:19 +01:00
inherit distutils-r1
DESCRIPTION="A simple, visually pleasing weather report in your terminal"
HOMEPAGE="https://github.com/noprobelm/tempy"
2024-03-10 23:14:32 +01:00
SRC_URI="https://github.com/noprobelm/tempy/archive/fb0db08.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/tempy-fb0db0841e097de4ed819066a45933748172e02a"
2023-01-18 11:22:19 +01:00
LICENSE="MIT"
SLOT="0"
2023-04-15 22:04:57 +02:00
KEYWORDS="~amd64"
2023-12-01 11:26:29 +01:00
RESTRICT="test"
# We need https://github.com/darrenburns/ward, which is not in GURU, gentoo, or any overlay I could find.
# When I have more time, I will write the ebuild and remove this.
2023-01-18 11:22:19 +01:00
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
pkg_postinst() {
2023-01-20 10:33:58 +01:00
elog By default, tempy is using the API key of the developper by making requests throught their proxy server.
elog You can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'.
2023-01-18 11:22:19 +01:00
}