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 3DAA21581F0 for ; Thu, 12 Dec 2024 13:06:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B93DE09BC; Thu, 12 Dec 2024 13:06:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 048B3E09BC for ; Thu, 12 Dec 2024 13:06:34 +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 4C224342F92 for ; Thu, 12 Dec 2024 13:06:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 919F82191 for ; Thu, 12 Dec 2024 13:06:29 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1733945959.155be65d2d51a455374da5f8c81a219e271d1462.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-nim/nimbus/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-nim/nimbus/Manifest dev-nim/nimbus/nimbus-1.1.4.ebuild X-VCS-Directories: dev-nim/nimbus/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 155be65d2d51a455374da5f8c81a219e271d1462 X-VCS-Branch: master Date: Thu, 12 Dec 2024 13:06: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: f4bde076-8c29-479a-8f71-6f793b14ef03 X-Archives-Hash: 398a1bd384cbaa3e5e5ef87ed0fc183e commit: 155be65d2d51a455374da5f8c81a219e271d1462 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Dec 11 19:16:38 2024 +0000 Commit: David Roman gmail com> CommitDate: Wed Dec 11 19:39:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=155be65d dev-nim/nimbus: add 1.1.4 Closes: https://bugs.gentoo.org/921151 Bug: https://bugs.gentoo.org/905834 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-nim/nimbus/Manifest | 1 + dev-nim/nimbus/nimbus-1.1.4.ebuild | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-nim/nimbus/Manifest b/dev-nim/nimbus/Manifest index d42b88db4..49f8e8288 100644 --- a/dev-nim/nimbus/Manifest +++ b/dev-nim/nimbus/Manifest @@ -1 +1,2 @@ DIST nimbus-1.1.3.srht.tar.gz 32459 BLAKE2B e7de2627699631a9c991ee7a43219b2f1e09c3c6ea7ca76ace8eccf80b193f13a61498bd459c7a0168b1d48d23c8fa9e4a522abd848529919ac6b1b60f6c51ba SHA512 c84bde0538d65106542a351a6c19429dd6cf5c226edddfdb5423e018877a375257ef5897d1766a9c65a9e80984499af084e3aa42b71edc95ec296ee4412814ae +DIST nimbus-1.1.4.tar.gz 40012 BLAKE2B 545a01a504ab0a49f28cbf1e3faf047651299ef5a646c2a953c2281553ed2f3310ca9e17c32a1c04d0def80e01fb29552a167bffe8f84bd21af40611dc5a9ab8 SHA512 e432dd4340128d7531b6a8fcf54fc09aed48ff313adb8461c3b2997e248957d19a8aedb1615ec7b9db818395ac15971cb5467322e0ee66fc0ca6a4f06090a9c1 diff --git a/dev-nim/nimbus/nimbus-1.1.4.ebuild b/dev-nim/nimbus/nimbus-1.1.4.ebuild new file mode 100644 index 000000000..1c459384a --- /dev/null +++ b/dev-nim/nimbus/nimbus-1.1.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="sphinx" +DOCS_AUTODOC=0 +DOCS_DIR="docs" +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-any-r1 docs nim-utils + +DESCRIPTION="Packaging-friendly Nim build system" +HOMEPAGE=" + https://nimbus.sysrq.in/ + https://git.sysrq.in/nimbus/about/ +" +SRC_URI="https://git.sr.ht/~cyber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +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-prompt[${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-prompt[${PYTHON_USEDEP}]" +} + +src_configure() { + nim_gen_config +} + +src_compile() { + enim c src/nimbus + enim c src/txt2deps + + docs_compile +} + +src_test() { + etestament pattern 'tests/**/**/test*.nim' +} + +src_install() { + dobin src/nimbus + dobin src/txt2deps + + doman man/*.1 + einstalldocs +}