public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/koleo-cli/
@ 2025-01-20  5:34 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2025-01-20  5:34 UTC (permalink / raw
  To: gentoo-commits

commit:     8987206790e68354c0b3f7e9af3dd2d6161ac4cd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 20 05:31:39 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 20 05:34:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89872067

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 <AT> gentoo.org>

 app-misc/koleo-cli/Manifest                    |  1 +
 app-misc/koleo-cli/koleo-cli-0.2.137.16.ebuild | 33 ++++++++++++++++++++++++++
 app-misc/koleo-cli/metadata.xml                | 12 ++++++++++
 3 files changed, 46 insertions(+)

diff --git a/app-misc/koleo-cli/Manifest b/app-misc/koleo-cli/Manifest
new file mode 100644
index 000000000000..6e32b077b4d4
--- /dev/null
+++ b/app-misc/koleo-cli/Manifest
@@ -0,0 +1 @@
+DIST koleo_cli-0.2.137.16.tar.gz 26468 BLAKE2B 7f42691dcf32dd11b82c7664cdf1234ee21b7898857c6f44a33e66533140b055ae90f6d50b44d1bf3e7db806292eeff56dc82923d1e07d2129994355c6d7c32b SHA512 7ea6ebb84986bdcdf679b13eba625d6c1e4f07c4b706c7eb3dfb4efafae420fb414c756bcb2fcdf72cca088374be67e233a176e3bb0f6edea26d54cda79d9018

diff --git a/app-misc/koleo-cli/koleo-cli-0.2.137.16.ebuild b/app-misc/koleo-cli/koleo-cli-0.2.137.16.ebuild
new file mode 100644
index 000000000000..e16af26dabfe
--- /dev/null
+++ b/app-misc/koleo-cli/koleo-cli-0.2.137.16.ebuild
@@ -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
+}

diff --git a/app-misc/koleo-cli/metadata.xml b/app-misc/koleo-cli/metadata.xml
new file mode 100644
index 000000000000..13868aaf6846
--- /dev/null
+++ b/app-misc/koleo-cli/metadata.xml
@@ -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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-20  5:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20  5:34 [gentoo-commits] repo/gentoo:master commit in: app-misc/koleo-cli/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox