commit:     2c47049a111620313631ac75a7f5eae552e0ae61
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  5 22:19:35 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 00:42:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c47049a

dev-dotnet/gentoo-dotnet-maintainer-tools: bump to 3.9999

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

 dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest |  2 +
 .../gentoo-dotnet-maintainer-tools-3.9999.ebuild   | 92 ++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest 
b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest
index a351a065c6d4..2faaf1020cb2 100644
--- a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest
+++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest
@@ -4,6 +4,7 @@ DIST fantomas.fcs.6.3.0-alpha-003.nupkg 1937653 BLAKE2B 
33126b4d850d25388dc85915
 DIST fsharp.core.6.0.1.nupkg 2787770 BLAKE2B 
9d26c9b261991dfcd92b68b88553021652866378e14ab2c9be7bbb854369aae9eaa2a08f3ef60c9a1fe3427150d39892caf00b9e64d255f558098df5c21659b5
 SHA512 
906ef89a64493324500c2586d9658b0ca12512e434c7f5e7c1bf5a4c8f3f37fd3fc180e3b32597309f8a44ac4d554d9c785b6f936cff192407766916d3123edd
 DIST fsharp.core.8.0.100.nupkg 2816556 BLAKE2B 
6662024bfcf3cd2cb14a33bf073a6df55fac12c6691e820f5aa4a57aa222f32add0518c9c9789e7f28441b901556b677f7e77237683aa9cf91cec502a8cb61ed
 SHA512 
855cb118dfa043642fa1c86cdd80107864ed5c5d8aa7f3997a6de1a7014b6c23076f62584ab5ff489ac2ad6f86bcd2555a3b62252f2c78cdb8d37d4ab13bd021
 DIST fsharp.core.8.0.101.nupkg 2815743 BLAKE2B 
54475a65e883909d0a2b7c5adc6f1042f5b0efa1fb64788250c3e8e77c6cd3fc9d5b83ae45ede9a3ba19304510a75ec1ea6446a8e8c9bcd1a8e2b56c426e2481
 SHA512 
fc20fa5fd10f64faf93f141bc52c1901a6d705b41ce527a0bf78155f87cd39188d2c3bb27cbdd184cb623f118c4e5194a46e41621671bf62a01ca7e89dea7423
+DIST fsharp.core.8.0.102.nupkg 2818627 BLAKE2B 
dde51615fefcef7b6c57135035eb6fbc5832a2a0bd4e4b2587aa8c347743c379c62e695a903bc8a3b599e6ef6cd501b84bc5f43980705055d8a46b8ded99c6fa
 SHA512 
b7840eda7bb6745b8af9c6cdcf3a0e23cb64ad4691bc81a388895c48fb641b0d2cdcf0fa37fea2ea63069763bc3a45316cb91be9be7d92cd15819afa54fc02a4
 DIST fsharp.data.6.3.0.nupkg 1111473 BLAKE2B 
5b276c2941775d473378d41ca0b6703bf2935ad5e7b05cfbf426040d08746d27ed91ee3b0a4705004ffe32f21b8f29251c6ac2e2c5e535fcab9959d527801919
 SHA512 
36c68ee32d04a827f1cc20b791610f57bfe11b759ba360086e67ba853fd6d58c41442e7b809f8b86228a190c971af124888e81762acdeb5a3ec5800885a96c59
 DIST fsharp.data.csv.core.6.3.0.nupkg 67178 BLAKE2B 
102790a41ad996233bf68127358f67e4e4dddc172a9aa11e8a6e9d727645c5ccabc0a79c963b09b129330cb6b020425d6f29b359029c7d6b03c21cb798377f38
 SHA512 
c1774dbcfad0e85a3b5e62d21e87069a870db0a18443f0449dda769b0e0cf4349df2a3443d4e3cad76f7e86b2ac67f4510969938d15d0683e44dd5d669db4f9f
 DIST fsharp.data.html.core.6.3.0.nupkg 174715 BLAKE2B 
7ef9f8360e0a4a1891501e6a040462bbf0e665960cd5d76247f2b3867b6af9082aafd80cdcd08d30902bfb94b5e26222d40af0a1eb9bfd9c73e6dc4b73b62644
 SHA512 
4b8139c63cfdd23ba73fc57f333dee373f40108387d9794872e97bc75d38fe23aa9e7dc792d2e42240d832d067dbd94d10ad07473edaac79ffe06e6efa779d34
@@ -18,6 +19,7 @@ DIST libgit2sharp.nativebinaries.2.0.321.nupkg 7966938 
BLAKE2B d76dfae54215e463c
 DIST microsoft.netcore.platforms.1.1.1.nupkg 31072 BLAKE2B 
095f6e8b48a99353061a021ac9a07ec161e28602338d7fa3624891696e9b91642034f968d9e1b77c74ced46628cad45f47cc24189dc12479d1bee92c93eb4cec
 SHA512 
9835090f578b5c8ce6527582cd69663506460e9fdc5464fc2b287331c24d9369e57dd1543a865a8bd89d4fcfc569c26bf0dbfcce102675fdfd1479b9a9652819
 DIST microsoft.netcore.targets.1.1.3.nupkg 31152 BLAKE2B 
80a656508fda7db32065d89f8eeb319db79869a00cb22d7a8c9c2204711f057f076e905050717302d4f900b8881c7d2a15bfc040fa285dca984c138cce311d3a
 SHA512 
a71c2af20d8f61188417929756399914c353aac8361abd69baffe9475b2a01db802870066da0ae27afb2737a4026c782950503dbd4b651bae6ee7fd90fbf1d52
 DIST org.xgqt.simplelog.0.0.0.nupkg 19787 BLAKE2B 
d6ab8558386dac2c3e62c3d8998d81770c60fccacc00840ea077821e0353e3e89bb108ac03f7151d13c8aef75054b0a43a463d57a99e2da011aff55db69b97e6
 SHA512 
f3b5dcd307338b9e47c1902de4903ea9b97f73e2a0bcf3ca9b44a2fdc0a54ec4a6a7c29026c5be69e8b0bdb90f1f649a9250ae6316d8b49a561b3f5d5dd9b82d
+DIST org.xgqt.simplelog.2.0.0.nupkg 21175 BLAKE2B 
507d8d7d07ea9ff54333e952967aae373b3bb74344217144db1e3b3a910712c323c674577455721d60f2d1e93078743417679ff937e2cfdbbc866734c724c8ca
 SHA512 
429c99da29d76dd03f0d5a1ed90750c59e41470bea0efc561cd92b5fb6d2ecdafdfe73e8e90cb27bb3270110d9e160864f0e2914f3bc35a342cb3b01ec56ffbb
 DIST runtime.any.system.runtime.4.3.0.nupkg 55302 BLAKE2B 
2de44260ec821b818b3c0cb3517be7ade5c16f29e0ced086460dfabc29479743947134214c037df83b9646724cad004f55c2f518cd4bc2079853f2f6e1cd70fe
 SHA512 
bfee3c68312296860e5459af5e770c2e9fcd4ac134361fd569a9ce1e6574b9ae3978aad403f89639a4b5bac8ee5bb0ee1b8edb819e9a60f13ca5bd1812889bbd
 DIST runtime.native.system.4.3.0.nupkg 16854 BLAKE2B 
be46e3bd8781915572308ed7d4d8a0338a5c79b901a27c7e7c7fb7fb25788cf00968a40f96cc43b1202e56e5bbb2f87602d247295d8c98f2c143a0ad3a8d7664
 SHA512 
299c5a96fffdcaf1972e3e3d1c727837d18ac9e88cb79c09914f12ff1de7280dff10c9232a49a1c1d3ba7785a5cf76f28c9dce414f0a2a567688de7fd5331dc8
 DIST runtime.unix.system.private.uri.4.3.0.nupkg 75969 BLAKE2B 
82611545be3eba44ccfbef1f104e9b5afade845fd3b30c6cb40171368330f9d4bb2ad8752e415aa3b1678ec140c40f8e72cd4cc3731f42ca64016c1a1dce70cf
 SHA512 
203ebe272791d79ab0c40afe9d0543852ee91b9fb4ae5bc15524d97728bc8bc9d7e0cbcf65d1fab8cfb0aa7a4ae37e7938933eef127aa5ea46f60e57b6ad2d91

diff --git 
a/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.9999.ebuild
 
b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.9999.ebuild
new file mode 100644
index 000000000000..c9ceb8d97b3d
--- /dev/null
+++ 
b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.9999.ebuild
@@ -0,0 +1,92 @@
+# 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="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+"
+
+inherit dotnet-pkg
+
+DESCRIPTION="Gentoo tools for .NET packages maintenance"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Dotnet
+       https://gitlab.gentoo.org/dotnet/gentoo-dotnet-maintainer-tools/";
+
+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"
+fi
+
+SRC_URI+=" ${NUGET_URIS} "
+S="${WORKDIR}/${P}/Source/v${MAJOR}"
+
+LICENSE="GPL-2+"
+SLOT="0/${MAJOR}"
+
+DOTNET_PKG_PROJECTS=()
+DOTNET_TOOLS=()
+
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
+src_prepare() {
+       # This pkg build system can consume this variable via c/fsproj files.
+       export DOTNET_PKG_COMPAT
+
+       dotnet-pkg_src_prepare
+
+       DOTNET_PKG_PROJECTS=( $(find . -name "Gdmt.*proj") )
+       DOTNET_TOOLS=( $(cat ./gdmt-tools.txt) )
+
+       einfo "Will build following DOTNET_PKG_PROJECTS: 
${DOTNET_PKG_PROJECTS[@]}"
+       einfo "Will build following DOTNET_TOOLS: ${DOTNET_TOOLS[@]}"
+}
+
+src_install() {
+       dotnet-pkg_src_install
+
+       local tool_exe
+       for tool_exe in "${DOTNET_TOOLS[@]}" ; do
+               dotnet-pkg-base_dolauncher "/usr/share/${P}/${tool_exe}"
+       done
+
+       dodoc -r ./docs/*.md
+}

Reply via email to