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 9E9FF15806E for ; Sun, 28 May 2023 12:14:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94BA9E07DB; Sun, 28 May 2023 12:14:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 7883AE07DB for ; Sun, 28 May 2023 12:14:32 +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 6C3DE340F99 for ; Sun, 28 May 2023 12:14:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CED4AA7C for ; Sun, 28 May 2023 12:14:29 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1685275788.b1be0caa9c286c5199443ab89bc6dda1eade142b.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-nim/nimbus/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-nim/nimbus/Manifest dev-nim/nimbus/nimbus-1.1.2.ebuild X-VCS-Directories: dev-nim/nimbus/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: b1be0caa9c286c5199443ab89bc6dda1eade142b X-VCS-Branch: dev Date: Sun, 28 May 2023 12:14:29 +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: 4658149c-59a3-4c21-a769-4c2192454f1b X-Archives-Hash: 8ad2263f6b30f0dbfb198765824ae7ba commit: b1be0caa9c286c5199443ab89bc6dda1eade142b Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sun May 28 12:09:48 2023 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sun May 28 12:09:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1be0caa dev-nim/nimbus: add 1.1.2 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-nim/nimbus/Manifest | 1 + dev-nim/nimbus/nimbus-1.1.2.ebuild | 69 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-nim/nimbus/Manifest b/dev-nim/nimbus/Manifest index 4085c63e4..5804838e1 100644 --- a/dev-nim/nimbus/Manifest +++ b/dev-nim/nimbus/Manifest @@ -1 +1,2 @@ DIST nimbus-1.1.1.tar.bz2 27899 BLAKE2B 8923e15a883b5b9a80b986c47cf9f343d0c75da3ff9834fdf11a184f4192b26f4dd66933e7b72058da23ee7b4d46196a2a5acbdf035d944b40195685ab022ec1 SHA512 2f651ec06a093464bf6c2a1d0f978b7bc3bdcb13994e207ce60453d2fc4b13c7b297fad8f790411b4a2a628671aeaaba7e29302be3f4191b1e2de20133e4b2db +DIST nimbus-1.1.2.tar.bz2 28432 BLAKE2B b8680872ccd748ad575e5d9698ad0fde121a974ec6de7717347e58dec0add545d52d750f65d1a4e996de216c276d5acd37c66bb092ed72ff96415f4439793aa7 SHA512 df082ef06d0ee51feb0cba6dbc9cd255b353ad72f28d9a366d436119813f20e35f5e5fddfec3f8304c85e840397b05b4e8d59ce2f00c72c4d713adf554cc7668 diff --git a/dev-nim/nimbus/nimbus-1.1.2.ebuild b/dev-nim/nimbus/nimbus-1.1.2.ebuild new file mode 100644 index 000000000..4929ba7cf --- /dev/null +++ b/dev-nim/nimbus/nimbus-1.1.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_AUTODOC=0 +DOCS_DIR="docs" +DOCS_DEPEND=( +) +PYTHON_COMPAT=( python3_{10..11} ) +inherit python-any-r1 docs nim-utils + +DESCRIPTION="A Nim build system" +HOMEPAGE=" + https://nimbus.sysrq.in/ + https://git.sysrq.in/nimbus/about/ +" +SRC_URI="https://git.sysrq.in/${PN}/snapshot/${P}.tar.bz2" + +LICENSE="Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug" + +RDEPEND="dev-lang/nim" +BDEPEND=" + ${RDEPEND} + doc? ( + $(python_gen_any_dep ' + dev-python/insipid-sphinx-theme[${PYTHON_USEDEP}] + dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] + dev-python/sphinx-prompt[${PYTHON_USEDEP}] + dev-python/sphinx-sitemap[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + use doc || return 0 + + python_has_version "dev-python/insipid-sphinx-theme[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-prompt[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-sitemap[${PYTHON_USEDEP}]" +} + +src_configure() { + nim_gen_config +} + +src_compile() { + enim c src/nimbus + enim c src/txt2deps + + docs_compile +} + +src_test() { + etestament all +} + +src_install() { + dobin src/nimbus + dobin src/txt2deps + + doman man/*.1 + einstalldocs +}