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 CA42A15ACFC for ; Tue, 2 May 2023 15:48:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02BCEE088B; Tue, 2 May 2023 15:48:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E3066E088B for ; Tue, 2 May 2023 15:48:41 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06146341132 for ; Tue, 2 May 2023 15:48:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96FE88B7 for ; Tue, 2 May 2023 15:48:39 +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: <1683041255.fe5eada2e7746cbb301c6958124c18fd9aedd479.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.1.ebuild X-VCS-Directories: dev-nim/nimbus/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: fe5eada2e7746cbb301c6958124c18fd9aedd479 X-VCS-Branch: dev Date: Tue, 2 May 2023 15:48:39 +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: 32bb0493-47ec-47b7-bfe8-161688150164 X-Archives-Hash: 717a2a5e7f86f7001c19e200daf58fe1 commit: fe5eada2e7746cbb301c6958124c18fd9aedd479 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue May 2 15:27:35 2023 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue May 2 15:27:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe5eada2 dev-nim/nimbus: add 1.1.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-nim/nimbus/Manifest | 1 + dev-nim/nimbus/nimbus-1.1.1.ebuild | 66 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-nim/nimbus/Manifest b/dev-nim/nimbus/Manifest index 6f5b3d80d..d652ca0a6 100644 --- a/dev-nim/nimbus/Manifest +++ b/dev-nim/nimbus/Manifest @@ -1 +1,2 @@ DIST nimbus-1.0.0.tar.bz2 23801 BLAKE2B b38bef877caa7781310314be00b1a3e206faafc25f0fd8bf28d52e800442d5a06b51fedb8c7b1a3c095c38c6eafe56befc9a447f8334f2f46af09cbb6c1b3535 SHA512 2675de25b788f0d9a3a41f69a761cd5d09bd78a0de538942edd5cc226000e2685ed7d5e8746e997fa69c9a89bc78b279ed9e9424b36ce13344796b1f1d3bb272 +DIST nimbus-1.1.1.tar.bz2 27899 BLAKE2B 8923e15a883b5b9a80b986c47cf9f343d0c75da3ff9834fdf11a184f4192b26f4dd66933e7b72058da23ee7b4d46196a2a5acbdf035d944b40195685ab022ec1 SHA512 2f651ec06a093464bf6c2a1d0f978b7bc3bdcb13994e207ce60453d2fc4b13c7b297fad8f790411b4a2a628671aeaaba7e29302be3f4191b1e2de20133e4b2db diff --git a/dev-nim/nimbus/nimbus-1.1.1.ebuild b/dev-nim/nimbus/nimbus-1.1.1.ebuild new file mode 100644 index 000000000..fdbefe65e --- /dev/null +++ b/dev-nim/nimbus/nimbus-1.1.1.ebuild @@ -0,0 +1,66 @@ +# 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" + +RDEPEND="dev-lang/nim" +BDEPEND=" + ${RDEPEND} + doc? ( + $(python_gen_any_dep ' + 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/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 +}