app-misc/koleo-cli: New package, v0.2.137.16

A simple CLI app to find train connections via koleo.pl.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-20 06:31:39 +01:00
parent acb105fd38
commit 8987206790
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST koleo_cli-0.2.137.16.tar.gz 26468 BLAKE2B 7f42691dcf32dd11b82c7664cdf1234ee21b7898857c6f44a33e66533140b055ae90f6d50b44d1bf3e7db806292eeff56dc82923d1e07d2129994355c6d7c32b SHA512 7ea6ebb84986bdcdf679b13eba625d6c1e4f07c4b706c7eb3dfb4efafae420fb414c756bcb2fcdf72cca088374be67e233a176e3bb0f6edea26d54cda79d9018

View File

@@ -0,0 +1,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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<upstream>
<remote-id type="github">lzgirlcat/koleo-cli</remote-id>
<remote-id type="pypi">koleo-cli</remote-id>
</upstream>
</pkgmetadata>