diff options
Diffstat (limited to 'dev-python/nextinspace')
-rw-r--r-- | dev-python/nextinspace/Manifest | 10 | ||||
-rw-r--r-- | dev-python/nextinspace/files/nextinspace-2.0.5-lazy_fixtures.patch | 96 | ||||
-rw-r--r-- | dev-python/nextinspace/files/nextinspace-3.0.0-license.patch | 20 | ||||
-rw-r--r-- | dev-python/nextinspace/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/nextinspace/nextinspace-2.0.5-r1.ebuild | 47 | ||||
-rw-r--r-- | dev-python/nextinspace/nextinspace-3.0.0.ebuild | 39 | ||||
-rw-r--r-- | dev-python/nextinspace/nextinspace-3.0.1.ebuild | 4 |
7 files changed, 5 insertions, 212 deletions
diff --git a/dev-python/nextinspace/Manifest b/dev-python/nextinspace/Manifest index 5feccd43c0e2..2bd614867d61 100644 --- a/dev-python/nextinspace/Manifest +++ b/dev-python/nextinspace/Manifest @@ -1,10 +1,4 @@ -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 DIST nextinspace-3.0.1.gh.tar.gz 55101 BLAKE2B aeec5e34e6ae611d4f693dde10b14430d46853949c6e5d81aa90a842da670a156ecf3216c09d70f40279836155fe097c85c82e05a3e5c31d5457409f41a62f29 SHA512 92aa209e36eeed742cbfec99456aa452a164ffd97c87d6a17271c1731d9e4cdca1e616217ea6fdd347356b68644cc8fa3035228877324a7d180f764b6f8b012e -EBUILD nextinspace-2.0.5-r1.ebuild 1047 BLAKE2B 09178a3eb824ffec0b6b06b0365b59f8b1ee4f315814e8b75adc7449057286b26b2763e6212efba476759cf7fcda7c06029f22c36968e8aada0723baa7a4c36f SHA512 1dd66de23f2fee70ab0109eb1ec96423de7eeab100799aec48caa639c895838cbdb9426fd559cbbd4ae1c35233e1fd23626478ceee1df39d957a504b0a44a727 -EBUILD nextinspace-3.0.0.ebuild 906 BLAKE2B 3a3e05cfb4a8e814d9d034d270ed87e0c06c28a949074e41505de7d1c09fb42314034e861fdfc1041c5fae0dfb61f5d9f6515318031c6750202017794ff42766 SHA512 4bc0487ca6559d25aa9587a6e46fcec465818349fd43bccaf01d2d29cce60de67aedd7578c44549731a3fff8925a25d200cb01a836034ee83e2aee638f31673d -EBUILD nextinspace-3.0.1.ebuild 859 BLAKE2B 3d85a98db851d9dde57a5edd2f9469f6f741007d654b91b0133e2c86a44de603e2d51e726f94f64711b543db8e534a5dd64f3baadee4c47f5dfe00e4dbaef34f SHA512 915c8e6b54901c47476c640fc52d911027caeacff4abe3016cb3991e1a6b21c59dcef393dd893a6abac621c49a17af5c4c1872b340921fa4c7d80462d1e6279e +EBUILD nextinspace-3.0.1.ebuild 857 BLAKE2B 329c08f41ba51fc6bdbd0db3cc5676cae4a5cc6ad7abc60bbe5b0c4192c01c8f09d68e3abfd0a4b271b3f9b4498cdcf6d2833bb51cfe103813847da9febc17f7 SHA512 a9fa759e837835d49fa70d5e264ee73b2ca3360878cb9f70eda5c3d0849c10673ea741f23ecc33184dfa5e87ffcd9c7544a1b5bd032f205b85ec20caf6683a0c EBUILD nextinspace-9999.ebuild 859 BLAKE2B 3d85a98db851d9dde57a5edd2f9469f6f741007d654b91b0133e2c86a44de603e2d51e726f94f64711b543db8e534a5dd64f3baadee4c47f5dfe00e4dbaef34f SHA512 915c8e6b54901c47476c640fc52d911027caeacff4abe3016cb3991e1a6b21c59dcef393dd893a6abac621c49a17af5c4c1872b340921fa4c7d80462d1e6279e -MISC metadata.xml 842 BLAKE2B 474983307f5e6669ce25e6dc44c65597a59e0089a4c66ad0c531b2ab634c0505e0208c8b55ffe333af4641c227b1b3b5f71515cba441e91f2be3c53c5d53f2d7 SHA512 28aa458b6d9be33d07c615d842726789bb39ea0ed966b261417c33197e279474034e91afadeb2c91d9c9b80b4d54bd68d6ce5a89afc16891d3d8d007ee0e3d5e +MISC metadata.xml 866 BLAKE2B 9a5915886f9c4803cec110e0dd2235f464f2d2a39b2ff16159f729ac8ddd8bf4a417b148891d970eb7c37c2664d2cb8df4242bcd60972bc6f9f8e1275f4114c2 SHA512 13cc2977b1144ef3aedea224286802bc9efa2179ff9c0fb4240bb82b4c6d4ba06da9ff62c3e4013b2c17b43c2c76f8a574ae2981c327441c1a0d15c77d0c5b3b diff --git a/dev-python/nextinspace/files/nextinspace-2.0.5-lazy_fixtures.patch b/dev-python/nextinspace/files/nextinspace-2.0.5-lazy_fixtures.patch deleted file mode 100644 index 92d94f7394f1..000000000000 --- a/dev-python/nextinspace/files/nextinspace-2.0.5-lazy_fixtures.patch +++ /dev/null @@ -1,96 +0,0 @@ -commit 6d9b758075e756650b5a13ff3cf0852b21d6f1e7 -Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> -Date: Fri Sep 20 23:13:24 2024 +0200 -Upstream: https://github.com/gideonshaked/nextinspace/pull/17 - - Migrate from pytest-lazy-fixture to pytest-lazy-fixtures - ---- a/tests/cli/test_viewer.py -+++ b/tests/cli/test_viewer.py -@@ -1,6 +1,7 @@ - # type: ignore - - import pytest -+from pytest_lazy_fixtures import lf - - from nextinspace.cli import viewer - -@@ -13,8 +14,8 @@ def test_dict_event(example_event, example_event_dict): - "launcher, dict_", - [ - ( -- pytest.lazy_fixture("example_launcher"), -- pytest.lazy_fixture("example_launcher_dict"), -+ lf("example_launcher"), -+ lf("example_launcher_dict"), - ), - (None, None), - ], -@@ -27,12 +28,12 @@ def test_dict_launcher(launcher, dict_): - "launch, dict_", - [ - ( -- pytest.lazy_fixture("example_launch_verbose"), -- pytest.lazy_fixture("example_launch_verbose_dict"), -+ lf("example_launch_verbose"), -+ lf("example_launch_verbose_dict"), - ), - ( -- pytest.lazy_fixture("example_launch_normal"), -- pytest.lazy_fixture("example_launch_normal_dict"), -+ lf("example_launch_normal"), -+ lf("example_launch_normal_dict"), - ), - ], - ) -@@ -44,12 +45,12 @@ def test_dict_launch(launch, dict_): - "item, dict_", - [ - ( -- pytest.lazy_fixture("example_launch_normal"), -- pytest.lazy_fixture("example_launch_normal_dict"), -+ lf("example_launch_normal"), -+ lf("example_launch_normal_dict"), - ), - ( -- pytest.lazy_fixture("example_event"), -- pytest.lazy_fixture("example_event_dict"), -+ lf("example_event"), -+ lf("example_event_dict"), - ), - ], - ) ---- a/tests/test_nextinspace.py -+++ b/tests/test_nextinspace.py -@@ -4,6 +4,7 @@ import copy - from datetime import MINYEAR, datetime, timedelta, timezone - - import pytest -+from pytest_lazy_fixtures import lf - - import nextinspace - from nextinspace import BASE_URL -@@ -12,9 +13,9 @@ from nextinspace import BASE_URL - @pytest.mark.parametrize( - "example", - [ -- pytest.lazy_fixture("example_event"), -- pytest.lazy_fixture("example_launcher"), -- pytest.lazy_fixture("example_launch_verbose"), -+ lf("example_event"), -+ lf("example_launcher"), -+ lf("example_launch_verbose"), - ], - ) - def test_eq(example): -@@ -69,8 +70,8 @@ def test_date_str_to_datetime(datetime_str, result): - @pytest.mark.parametrize( - "launch, include_launcher", - [ -- (pytest.lazy_fixture("example_launch_verbose"), True), -- (pytest.lazy_fixture("example_launch_normal"), False), -+ (lf("example_launch_verbose"), True), -+ (lf("example_launch_normal"), False), - ], - ) - def test_next_launch(requests_mock, example_launch_text, launch, include_launcher, example_launcher_text): diff --git a/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch b/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch deleted file mode 100644 index 0f1708777ff7..000000000000 --- a/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch +++ /dev/null @@ -1,20 +0,0 @@ -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/metadata.xml b/dev-python/nextinspace/metadata.xml index 56879b2e53b6..83495fb65bc9 100644 --- a/dev-python/nextinspace/metadata.xml +++ b/dev-python/nextinspace/metadata.xml @@ -15,6 +15,7 @@ application. You can also get data printed to the terminal in JSON, which can be piped into another program. </longdescription> + <stabilize-allarches/> <upstream> <remote-id type="github">gideonshaked/nextinspace</remote-id> <remote-id type="pypi">nextinspace</remote-id> diff --git a/dev-python/nextinspace/nextinspace-2.0.5-r1.ebuild b/dev-python/nextinspace/nextinspace-2.0.5-r1.ebuild deleted file mode 100644 index bb014fe9d684..000000000000 --- a/dev-python/nextinspace/nextinspace-2.0.5-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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? ( - ${RDEPEND} - dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-lazy_fixtures.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - default - - # Don't install license files - sed -e '/^include = \["LICENSE"\]$/d' -i pyproject.toml || die -} diff --git a/dev-python/nextinspace/nextinspace-3.0.0.ebuild b/dev-python/nextinspace/nextinspace-3.0.0.ebuild deleted file mode 100644 index 4017cac96b5e..000000000000 --- a/dev-python/nextinspace/nextinspace-3.0.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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-3.0.1.ebuild b/dev-python/nextinspace/nextinspace-3.0.1.ebuild index 5d72a32bb012..bff36e6e9b83 100644 --- a/dev-python/nextinspace/nextinspace-3.0.1.ebuild +++ b/dev-python/nextinspace/nextinspace-3.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]]; then 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" + KEYWORDS="amd64 x86" fi LICENSE="GPL-3+" |