summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-12-28 16:25:23 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-12-28 17:04:46 +0100
commit550a5ab6c77c891b0fa9b7642b78a8ea676f4dac (patch)
tree719de91328c1f2ab29c40a0e7bfa97f89271a0ad /dev-dotnet
parentapp-portage/elsw: sync live 9999 version (diff)
downloadgentoo-550a5ab6c77c891b0fa9b7642b78a8ea676f4dac.tar.gz
gentoo-550a5ab6c77c891b0fa9b7642b78a8ea676f4dac.tar.bz2
gentoo-550a5ab6c77c891b0fa9b7642b78a8ea676f4dac.zip
dev-dotnet/csharp-gentoodotnetinfo: bump to 2.0.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/csharp-gentoodotnetinfo/Manifest1
-rw-r--r--dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.0.0.ebuild70
2 files changed, 71 insertions, 0 deletions
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
+}