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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AEBD215ACFC for ; Sat, 6 May 2023 03:53:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FDB4E09E1; Sat, 6 May 2023 03:52:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3609CE09E1 for ; Sat, 6 May 2023 03:52:59 +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 DA81B34122F for ; Sat, 6 May 2023 03:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37688A62 for ; Sat, 6 May 2023 03:52:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683344908.f87038fdfed2d1a891417ef921b4de4f0a953fd5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nextinspace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nextinspace/Manifest dev-python/nextinspace/metadata.xml dev-python/nextinspace/nextinspace-2.0.5.ebuild dev-python/nextinspace/nextinspace-9999.ebuild X-VCS-Directories: dev-python/nextinspace/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f87038fdfed2d1a891417ef921b4de4f0a953fd5 X-VCS-Branch: master Date: Sat, 6 May 2023 03:52:56 +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: 104aa377-28de-464e-b4bc-64e6bb1f2a21 X-Archives-Hash: d792f140288d851388dafd6c6d72af4f commit: f87038fdfed2d1a891417ef921b4de4f0a953fd5 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Oct 26 19:11:28 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 6 03:48:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87038fd dev-python/nextinspace: new package, add 2.0.5, 9999 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27965 Signed-off-by: Sam James gentoo.org> dev-python/nextinspace/Manifest | 1 + dev-python/nextinspace/metadata.xml | 22 +++++++++++++ dev-python/nextinspace/nextinspace-2.0.5.ebuild | 43 +++++++++++++++++++++++++ dev-python/nextinspace/nextinspace-9999.ebuild | 43 +++++++++++++++++++++++++ 4 files changed, 109 insertions(+) diff --git a/dev-python/nextinspace/Manifest b/dev-python/nextinspace/Manifest new file mode 100644 index 000000000000..ca45cfafa5b3 --- /dev/null +++ b/dev-python/nextinspace/Manifest @@ -0,0 +1 @@ +DIST nextinspace-2.0.5.gh.tar.gz 48406 BLAKE2B 6f6e2c95fc1a5a8175faca4df0a51de9996ca24847926dc35b94d0e4bd5c9de880ad757606309f622f41c825d0c2e46c587f255573b4df70fe35c937148af9d7 SHA512 c8f55446d9eea0409afb8a8ddb41001b18b55d9105d007b306717a3d932ea1b03ecb2363d0deb42ec8da1cc245b77ffb18cee6ec3474121c15c4c9b79ff80405 diff --git a/dev-python/nextinspace/metadata.xml b/dev-python/nextinspace/metadata.xml new file mode 100644 index 000000000000..56879b2e53b6 --- /dev/null +++ b/dev-python/nextinspace/metadata.xml @@ -0,0 +1,22 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + proxy-maint@gentoo.org + Proxy Maintainers + + + A command-line tool for seeing the latest in space. Nextinspace also + supports use as a Python library, so you can integrate it into your + application. You can also get data printed to the terminal in JSON, + which can be piped into another program. + + + gideonshaked/nextinspace + nextinspace + + diff --git a/dev-python/nextinspace/nextinspace-2.0.5.ebuild b/dev-python/nextinspace/nextinspace-2.0.5.ebuild new file mode 100644 index 000000000000..81347649c9dc --- /dev/null +++ b/dev-python/nextinspace/nextinspace-2.0.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) +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-fixture-0.6.3[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}] + ) +" + +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-9999.ebuild b/dev-python/nextinspace/nextinspace-9999.ebuild new file mode 100644 index 000000000000..81347649c9dc --- /dev/null +++ b/dev-python/nextinspace/nextinspace-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) +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-fixture-0.6.3[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Don't install license files + sed -e '/^include = \["LICENSE"\]$/d' -i pyproject.toml || die +}