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

32 lines
895 B
Bash
Raw Normal View History

2023-01-20 10:33:58 +01:00
# Copyright 2023 Gentoo Authors
2023-01-18 11:22:19 +01:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
2023-05-02 00:45:35 +05:00
PYTHON_COMPAT=( python3_{10..11} )
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"
2023-04-15 22:04:57 +02:00
SRC_URI="https://github.com/noprobelm/tempy/archive/26f13ed.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/tempy-26f13ed15bc1a4458976572ccdc60399ca5cb123"
2023-01-18 11:22:19 +01:00
LICENSE="MIT"
SLOT="0"
2023-04-15 22:04:57 +02:00
KEYWORDS="~amd64"
2023-01-18 11:22:19 +01:00
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/assets.patch"
)
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
}