blob: e16af26dabfe10af5f1d633b0ac650aa47693017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
DESCRIPTION="A simple CLI for koleo.pl railway planner"
HOMEPAGE="
https://github.com/lzgirlcat/koleo-cli/
https://pypi.org/project/koleo-cli/
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/rich-13.7[${PYTHON_USEDEP}]
>=dev-python/requests-2.32[${PYTHON_USEDEP}]
"
distutils_enable_tests import-check
src_prepare() {
distutils-r1_src_prepare
# unpin deps
sed -i -e 's:~=:>=:' requirements.txt || die
}
|