From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2093215802D for ; Thu, 19 Dec 2024 18:40:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B054E0833; Thu, 19 Dec 2024 18:40:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 60346E0833 for ; Thu, 19 Dec 2024 18:40:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B65133BF39 for ; Thu, 19 Dec 2024 18:40:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 039C8AF5 for ; Thu, 19 Dec 2024 18:40:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1734633436.4f5f4282bc3abdf3b537c8aa23a10c48f4ba9c90.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nextinspace/files/, dev-python/nextinspace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nextinspace/Manifest dev-python/nextinspace/files/nextinspace-3.0.0-license.patch dev-python/nextinspace/nextinspace-3.0.0.ebuild X-VCS-Directories: dev-python/nextinspace/ dev-python/nextinspace/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4f5f4282bc3abdf3b537c8aa23a10c48f4ba9c90 X-VCS-Branch: master Date: Thu, 19 Dec 2024 18:40:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdf19abb-519c-4ddc-b967-12c6d7d37372 X-Archives-Hash: 010581aa707bfc100c1439014a861a44 commit: 4f5f4282bc3abdf3b537c8aa23a10c48f4ba9c90 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Thu Dec 19 16:14:52 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 19 18:37:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f5f4282 dev-python/nextinspace: add 3.0.0 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Signed-off-by: Michał Górny gentoo.org> dev-python/nextinspace/Manifest | 1 + .../files/nextinspace-3.0.0-license.patch | 20 +++++++++++ dev-python/nextinspace/nextinspace-3.0.0.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-python/nextinspace/Manifest b/dev-python/nextinspace/Manifest index ca45cfafa5b3..44820474adaa 100644 --- a/dev-python/nextinspace/Manifest +++ b/dev-python/nextinspace/Manifest @@ -1 +1,2 @@ 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 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 +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