summaryrefslogtreecommitdiff
path: root/dev-python/nextinspace
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-20 06:30:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-20 06:30:59 +0000
commit9097a9c06c0b1e11c7f6579f03e3f32948be3f24 (patch)
treeb5f3d3e52bf13944a9db9e3b33ab3e5cabed496e /dev-python/nextinspace
parentf8bb2d659372d0add11c589dcb006d0b7f8822ae (diff)
gentoo auto-resync : 20:12:2024 - 06:30:59
Diffstat (limited to 'dev-python/nextinspace')
-rw-r--r--dev-python/nextinspace/Manifest5
-rw-r--r--dev-python/nextinspace/files/nextinspace-3.0.0-license.patch20
-rw-r--r--dev-python/nextinspace/nextinspace-3.0.0.ebuild39
-rw-r--r--dev-python/nextinspace/nextinspace-9999.ebuild10
4 files changed, 64 insertions, 10 deletions
diff --git a/dev-python/nextinspace/Manifest b/dev-python/nextinspace/Manifest
index 429293d12597..6b3472e71b98 100644
--- a/dev-python/nextinspace/Manifest
+++ b/dev-python/nextinspace/Manifest
@@ -1,5 +1,8 @@
AUX nextinspace-2.0.5-lazy_fixtures.patch 3050 BLAKE2B 7646d63df012528a9f2c55d9ce1cc54df654920879650d20b911710f6e23c04d16ccd12bd7ae1684e5c37bb6493f89babcc3b14f2ea83274650981b2da43de29 SHA512 010321c4375fee0a54f61e25e09497830d0a2cff6f5d895748ee64a46087c0ef60259afab88e8e1641cccb9c534a53a5284be8ada52df62504c259c668036045
+AUX nextinspace-3.0.0-license.patch 550 BLAKE2B c6d7e674a2d60bcbc9fa6c6c99b4357ca4d73841c515598292b0f604087622163b6edcf6abba138536d86ea961c0f06ee0310df7d316b28e60447a26fd93f0b7 SHA512 93f94567636224b894388d8bc299ab986b9e232261398005d49fec1845949e1ae22ceeed5b0caf84c07ad475982ef324704884472b8f83caf495f6ddaafad469
DIST nextinspace-2.0.5.gh.tar.gz 48406 BLAKE2B 6f6e2c95fc1a5a8175faca4df0a51de9996ca24847926dc35b94d0e4bd5c9de880ad757606309f622f41c825d0c2e46c587f255573b4df70fe35c937148af9d7 SHA512 c8f55446d9eea0409afb8a8ddb41001b18b55d9105d007b306717a3d932ea1b03ecb2363d0deb42ec8da1cc245b77ffb18cee6ec3474121c15c4c9b79ff80405
+DIST nextinspace-3.0.0.gh.tar.gz 55095 BLAKE2B 02140cbfaeca9fd4cb19fefd40448fc5ffbed19a8e5bcb448800b1c5917d7873be69e0aab5c4d96acf4dfb7fc57b780420de19dc38a523b5ca38c9847cfa0263 SHA512 fa1d20401b7ed910e0c65c9010062cf6d1ffe7e73c09b47f42b19ab1bfbb74612cb7405571e4db0404de81e66211799f38b6654763222643f66e63176e4a72ab
EBUILD nextinspace-2.0.5-r1.ebuild 1047 BLAKE2B 09178a3eb824ffec0b6b06b0365b59f8b1ee4f315814e8b75adc7449057286b26b2763e6212efba476759cf7fcda7c06029f22c36968e8aada0723baa7a4c36f SHA512 1dd66de23f2fee70ab0109eb1ec96423de7eeab100799aec48caa639c895838cbdb9426fd559cbbd4ae1c35233e1fd23626478ceee1df39d957a504b0a44a727
-EBUILD nextinspace-9999.ebuild 1056 BLAKE2B 06ee77916994bc6b5c8b000d854c0d94ad3c45418c4d65abfbf5f143624247b73fc5d619e5b76b35ccca5ac04b34762fb41172efbdf8f1f1a0cefc7328d091da SHA512 c7a7bf96f88ad8532a096bc13efae4cef06ef87733f9332bcdc51cc660ba28f0ddb8259f17c99442beac484a0b60e15b88b1ae7a33a4a119bbdc8f7d517cf609
+EBUILD nextinspace-3.0.0.ebuild 906 BLAKE2B 3a3e05cfb4a8e814d9d034d270ed87e0c06c28a949074e41505de7d1c09fb42314034e861fdfc1041c5fae0dfb61f5d9f6515318031c6750202017794ff42766 SHA512 4bc0487ca6559d25aa9587a6e46fcec465818349fd43bccaf01d2d29cce60de67aedd7578c44549731a3fff8925a25d200cb01a836034ee83e2aee638f31673d
+EBUILD nextinspace-9999.ebuild 906 BLAKE2B 3a3e05cfb4a8e814d9d034d270ed87e0c06c28a949074e41505de7d1c09fb42314034e861fdfc1041c5fae0dfb61f5d9f6515318031c6750202017794ff42766 SHA512 4bc0487ca6559d25aa9587a6e46fcec465818349fd43bccaf01d2d29cce60de67aedd7578c44549731a3fff8925a25d200cb01a836034ee83e2aee638f31673d
MISC metadata.xml 842 BLAKE2B 474983307f5e6669ce25e6dc44c65597a59e0089a4c66ad0c531b2ab634c0505e0208c8b55ffe333af4641c227b1b3b5f71515cba441e91f2be3c53c5d53f2d7 SHA512 28aa458b6d9be33d07c615d842726789bb39ea0ed966b261417c33197e279474034e91afadeb2c91d9c9b80b4d54bd68d6ce5a89afc16891d3d8d007ee0e3d5e
diff --git a/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch b/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch
new file mode 100644
index 000000000000..0f1708777ff7
--- /dev/null
+++ b/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch
@@ -0,0 +1,20 @@
+commit 6e03e0f5cc94f039df06506a340b70d38860b84b
+Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
+Date: Thu Dec 19 18:40:53 2024 +0100
+Upstream: https://github.com/gideonshaked/nextinspace/pull/18
+
+ Don't install LICENSE file in site-diretory
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -58,7 +58,9 @@ classifiers = [
+ "Programming Language :: Python :: 3 :: Only",
+ "Natural Language :: English"
+ ]
+-include = ["LICENSE"]
++include = [
++ { path = "LICENSE", format = "sdist" },
++]
+
+ [tool.poetry.dependencies]
+ python = "^3.10"
diff --git a/dev-python/nextinspace/nextinspace-3.0.0.ebuild b/dev-python/nextinspace/nextinspace-3.0.0.ebuild
new file mode 100644
index 000000000000..4017cac96b5e
--- /dev/null
+++ b/dev-python/nextinspace/nextinspace-3.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1
+
+DESCRIPTION="A command-line tool for seeing the latest in space"
+HOMEPAGE="https://github.com/gideonshaked/nextinspace"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gideonshaked/nextinspace.git"
+else
+ SRC_URI="https://github.com/gideonshaked/nextinspace/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.24[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
+ >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-license.patch"
+)
+
+distutils_enable_tests pytest
diff --git a/dev-python/nextinspace/nextinspace-9999.ebuild b/dev-python/nextinspace/nextinspace-9999.ebuild
index 07ed06c31eb5..4017cac96b5e 100644
--- a/dev-python/nextinspace/nextinspace-9999.ebuild
+++ b/dev-python/nextinspace/nextinspace-9999.ebuild
@@ -27,21 +27,13 @@ RDEPEND="
"
BDEPEND="
test? (
- ${RDEPEND}
dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.8[${PYTHON_USEDEP}]
)
"
PATCHES=(
- "${FILESDIR}/${PN}-2.0.5-lazy_fixtures.patch"
+ "${FILESDIR}/${P}-license.patch"
)
distutils_enable_tests pytest
-
-src_prepare() {
- default
-
- # Don't install license files
- sed -e '/^include = \["LICENSE"\]$/d' -i pyproject.toml || die
-}