From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1703836-garchives=archives.gentoo.org@lists.gentoo.org> 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 24D081580FD for <garchives@archives.gentoo.org>; Sat, 28 Dec 2024 16:05:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 768E3E07A9; Sat, 28 Dec 2024 16:05:08 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81C29E07A7 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Dec 2024 16:05:07 +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 8AAED335DE9 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Dec 2024 16:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 239E4190B for <gentoo-commits@lists.gentoo.org>; Sat, 28 Dec 2024 16:05:05 +0000 (UTC) From: "Maciej Barć" <xgqt@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" <xgqt@gentoo.org> Message-ID: <1735401886.550a5ab6c77c891b0fa9b7642b78a8ea676f4dac.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/csharp-gentoodotnetinfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-dotnet/csharp-gentoodotnetinfo/Manifest dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.0.0.ebuild X-VCS-Directories: dev-dotnet/csharp-gentoodotnetinfo/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 550a5ab6c77c891b0fa9b7642b78a8ea676f4dac X-VCS-Branch: master Date: Sat, 28 Dec 2024 16:05:05 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b96b93fb-c32a-491b-93c6-d5b93d548ebd X-Archives-Hash: ffb81077a9496572d564b922d6d38f55 commit: 550a5ab6c77c891b0fa9b7642b78a8ea676f4dac Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Dec 28 15:25:23 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Dec 28 16:04:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550a5ab6 dev-dotnet/csharp-gentoodotnetinfo: bump to 2.0.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-dotnet/csharp-gentoodotnetinfo/Manifest | 1 + .../csharp-gentoodotnetinfo-2.0.0.ebuild | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-dotnet/csharp-gentoodotnetinfo/Manifest b/dev-dotnet/csharp-gentoodotnetinfo/Manifest index 67d03be2f350..86a5af10e86d 100644 --- a/dev-dotnet/csharp-gentoodotnetinfo/Manifest +++ b/dev-dotnet/csharp-gentoodotnetinfo/Manifest @@ -1,5 +1,6 @@ DIST coverlet.collector.6.0.2.nupkg 2243339 BLAKE2B 6c169dee185f31b9b47b2ab042fad4f2386c6b8e5843f208d3e7d878820483d9387963ec61a90ab4c29512889f1a94d9c918d4da450040fdd9e226bafa638cf6 SHA512 9060ec586906992aa906154d05e8af0592b145d46b40cfbbfc097236e81faf48d9ec6a437c5642cc094f7eaff2642dd036d58f7823c65cdf10e13705e1a3d904 DIST csharp-gentoodotnetinfo-1.1.1.tar.bz2 19051 BLAKE2B e55042c43c956d7a7cef999f92ce131aaeccc10db6a248d154aabd01f9072d71baed29f1ccfdd8c3f96d094f3eab491e4a9e04e1239ae23ba22695363cd35e6a SHA512 372a61251a3a8f0df2cf2b5dc83fc6348b7551c3101646ad10086cd324363e63589d056d7f260058c5ab2f01ba759d231b078c923a592f7d11a7b81b6004fcd1 +DIST csharp-gentoodotnetinfo-2.0.0.tar.bz2 26408 BLAKE2B f5a567e2e4386d7a2371b62a356c0c34d388ea5248744a4c595ade4cf868ebfd5286e2ce3a704f2871af691dbd170ad3a9f7d98b029b4d78ac67c4766c209722 SHA512 0bd9cdb0aebdae45f39b16ca2e6cd6dc616ecc98f50e22e95ef87b64926e9dead39f395bb51b327eae7a81278a005bf9a48f6ffa29141035c3905a9f2b715b86 DIST microsoft.codecoverage.17.12.0.nupkg 9421347 BLAKE2B 46afd5c4c8352005700e0541dc87c2ac76d8726f60589ec9a84d6fdd52eb28bf7d4e33b032daddecd0dca9bf6854efe958dc903ef2af8be63eddc08db301e60d SHA512 3ce06a83bf3caeb2c0a6f9dccbcaefb72277ca7b01754d3f4865170febcfab244333f69425b3d95b1d35a9a9462512b519c02b4a4bbc40377d01531ad1390290 DIST microsoft.dotnet.platformabstractions.3.1.6.nupkg 72146 BLAKE2B 08d852b5e6558b499f2d780284aa747e5cf39886d86fa378128fae9f71741bd57c5bc75c0077948f193b7e8ea03a520d8ef3bd3b4fc80779adb4a84a4b44fe8c SHA512 55b87f544874686bed96889953b7e99e43426b79b0fac31cc452e0f4a27ca5cc08522c0ac967bf9df649f7c04137a5e2553d134ad79d5c1e69578367c2b4b4c6 DIST microsoft.net.test.sdk.17.12.0.nupkg 34293 BLAKE2B 30424196c85fb2d0fe44d013e21df5e94d7314148d54e626930c0a177c4002cffc5186bd1c477023e9c9d4371f19be1aeb20ea93779b5217314eba29b8f3d8b1 SHA512 8467fc23cfb2a35e5eb5abe831dfbb39770e1bafc6ec760f0c4260e5a42784ccecc5a529abeb9d359cd2c6610df6b19358c64e01515cc8d5cd2fb601b0de9c87 diff --git a/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.0.0.ebuild b/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.0.0.ebuild new file mode 100644 index 000000000000..9208b87594d0 --- /dev/null +++ b/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.0.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MAJOR="$(ver_cut 1)" + +DOTNET_PKG_COMPAT="9.0" +NUGETS=" +coverlet.collector@6.0.2 +microsoft.codecoverage@17.12.0 +microsoft.dotnet.platformabstractions@3.1.6 +microsoft.net.test.sdk@17.12.0 +microsoft.testplatform.objectmodel@17.12.0 +microsoft.testplatform.testhost@17.12.0 +newtonsoft.json@13.0.1 +nunit.analyzers@4.4.0 +nunit3testadapter@4.6.0 +nunit@4.2.2 +system.commandline@2.0.0-beta4.22272.1 +system.reflection.metadata@1.6.0 +" + +inherit dotnet-pkg + +DESCRIPTION=".NET information tool for Gentoo" +HOMEPAGE="https://gitlab.gentoo.org/dotnet/csharp-gentoodotnetinfo/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.gentoo.org/dotnet/${PN}.git" +else + SRC_URI="https://gitlab.gentoo.org/dotnet/${PN}/-/archive/${PV}/${P}.tar.bz2" + + KEYWORDS="~amd64 ~arm ~arm64" +fi + +SRC_URI+=" ${NUGET_URIS} " +S="${WORKDIR}/${P}/Source/v${MAJOR}" + +LICENSE="GPL-2+" +SLOT="0/${MAJOR}" + +DOTNET_PKG_PROJECTS=( gentoo-dotnet-info-app/src/main/csharp/GentooDotnetInfo ) + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_test() { + dotnet-pkg_src_test + + # Test-run. + edotnet exec "${DOTNET_PKG_OUTPUT}/GentooDotnetInfo.dll" +} + +src_install() { + local launcher_dll="/usr/share/${P}/GentooDotnetInfo.dll" + + dotnet-pkg-base_install + dotnet-pkg-base_dolauncher_portable "${launcher_dll}" gentoo-dotnet-info + + cd ../.. || die # Project root. + einstalldocs +}