Files
guru/dev-python/tempy/tempy-9999.ebuild
Henri Gasc ee05812918 dev-python/tempy: new package, add 9999
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
2023-01-18 11:43:10 +01:00

37 lines
963 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="A simple, visually pleasing weather report in your terminal"
HOMEPAGE="https://github.com/noprobelm/tempy"
SRC_URI="https://github.com/noprobelm/tempy/archive/refs/heads/main.zip -> ${P}.zip"
S="${WORKDIR}/tempy-main"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND=""
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/assets.patch"
)
distutils_enable_tests pytest
pkg_postinst() {
elog By default, tempy is using the API key of the developper by making requests trhought their proxy server.
elog If you do no want this to be the case, you can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'.
}