commit:     da31681b914b5c118bfe7f14e7e64bc7e9569a22
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  7 17:33:29 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec  7 18:10:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da31681b

dev-dotnet/csharp-gentoodotnetinfo: add 2.9999 live version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-dotnet/csharp-gentoodotnetinfo/Manifest        | 10 ++++
 .../csharp-gentoodotnetinfo-2.9999.ebuild          | 70 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/dev-dotnet/csharp-gentoodotnetinfo/Manifest 
b/dev-dotnet/csharp-gentoodotnetinfo/Manifest
index 055efa2f14f7..67d03be2f350 100644
--- a/dev-dotnet/csharp-gentoodotnetinfo/Manifest
+++ b/dev-dotnet/csharp-gentoodotnetinfo/Manifest
@@ -1,3 +1,13 @@
+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 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
+DIST microsoft.testplatform.objectmodel.17.12.0.nupkg 1660190 BLAKE2B 
d38c48a3b28a4eef0e11d0724904c35bb0bf5ca48bed4d69666c743afb2ea522adb577709d7f12a16f02208be173dc5a260e0f1b67f7a1dc5a4d375cc1ffebe5
 SHA512 
925b1732000f356628ddc79a90b928778c18ae4e25015d84862ebbeb350a822569439623eaadefb0c864ff7a66f7b2ed93f85d7125b4ac9289bdc42f4f33e060
+DIST microsoft.testplatform.testhost.17.12.0.nupkg 2882125 BLAKE2B 
3e8d45c7f955cb051dfd569bd3e754cf016691a78ea4f52c07febf733094e823eb0c63f3e2230a81901bb1fa9c78b538ece61a3a2fb06e098381f6a54c5c42bb
 SHA512 
81833604e190bc510fd9f66deb57f77f91aefa298bd46d5bbc652b6c98e961c97ae91eaecece721128345cc9fc22052095dcfc46574e39a6268e4d8a712786d5
+DIST newtonsoft.json.13.0.1.nupkg 2065787 BLAKE2B 
000c38ce26a2a00bb25a9c1d6fb069ada521ff089bb624a5c1255b25767c10616cc51821524e7bc3d8b45eb8f8ee54c97454db1db9ae5e5c78eb6300a99f979d
 SHA512 
83731b662eaf05379a23f8446ef47bbc111349dd4358b7bd8b51383fe9cf637e2fe62f78cea52a0d7bdd582dc6fbbb5837d4a7b1d53dcf37a0ae7473e21ee7b1
+DIST nunit.4.2.2.nupkg 702845 BLAKE2B 
b289c1a8d598eb24251a072aed9325a0f5bca528eb8b39a8099952ee72de6f68dc4f97723aa602b2272300b86f91e43e4a7450bdc572831aca044616bf11fadb
 SHA512 
9056ad5b6e459a7d3b80c51556ecaa086b0e5d28133a3031d23546aab9247375d283244e68a75f5f301c74ed1fb3e0ddb12644de41022e78867be293fe846620
+DIST nunit.analyzers.4.4.0.nupkg 133429 BLAKE2B 
d6253da4d59e2eeca47a744b4f38701f3a4e6f15bfdad7d7327c583b33872a856caaa112c5e0e12bcce35acd959b8b0a5587deda147d2c515c12c7958919b48f
 SHA512 
1c22a07269a7f396e54cdbed4a6925ca05c3ca0697fb38f9e92fcbce73da4bfebc1aa7e320226eab5699871315cb1aa9c4fb48ecb44d72d16127fb6b59c300cd
+DIST nunit3testadapter.4.6.0.nupkg 512620 BLAKE2B 
ab251ac7d56407d35cfb352956ae153f4052a4e6c014a50becdc31ed9b2c325d0b6fcb61752e3b11e435b61c86b1f7ea51415e72f1ae894dd35acb17410fb23b
 SHA512 
4e489dea089cbf32e01b74105003eaf64a11e11a488aefba50553f856afde2940a2659d0017055b8a86a7aa79247d5572bee41b497ceb0efe7074e8b9c86294a
 DIST system.commandline.2.0.0-beta4.22272.1.nupkg 616636 BLAKE2B 
5252560598c4cd67348520cea086c37b4151b984a61238de1984838975340247b16050113422b1765931bdfc1dee38e226789b6427e56ab7c3a36bf07d0bcc20
 SHA512 
979a7e66ba29e17bc5bec42e926ed15362e23ae403e498c955e09dffc4d3baa14777a06f95e25d591fc9757a0eaa18deb9e4662a1ca1663fa300f509a4a0383c
+DIST system.reflection.metadata.1.6.0.nupkg 852113 BLAKE2B 
4d15704a1fe00501c1bd8c945d02cd2e2d77c12ce86aa628edd18383838c9dbbfc449b8026707bb1ac570e55369e988aa6068f57acdea28f519bd3bdfd5b9304
 SHA512 
f5227666edc6bb1da78b8a8e86a68e9bd647caa2ec6a1580c14a4a5e1fe5cfde3bdaf0d8c23dc210c405a55f83ceb6add1a9adab149dc065b38cfddc9b01ba20

diff --git 
a/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.9999.ebuild 
b/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.9999.ebuild
new file mode 100644
index 000000000000..2736499c82fc
--- /dev/null
+++ b/dev-dotnet/csharp-gentoodotnetinfo/csharp-gentoodotnetinfo-2.9999.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/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
+}

Reply via email to