commit: e4f683da90e7f5148f6da3872eb4df6d53f74756 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sat Dec 28 15:06:54 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sat Dec 28 16:04:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f683da
dev-dotnet/gentoo-dotnet-maintainer-tools: bump to 3.0.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest | 1 + .../gentoo-dotnet-maintainer-tools-3.0.0.ebuild | 92 ++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest index 2faaf1020cb2..d68effd98c60 100644 --- a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest @@ -14,6 +14,7 @@ DIST fsharp.data.runtime.utilities.6.3.0.nupkg 104522 BLAKE2B 62ca50953fd504d097 DIST fsharp.data.worldbank.core.6.3.0.nupkg 56347 BLAKE2B 5dc760236e85ef1755a2e10e3060f46dd32260bd0b7545bdda37b49ae313ed4e33b3e91cd84c749249bcf89ecddd02d82d96539e3bfd0f9271a35491e6ea3685 SHA512 cdcbc0373689808fba68c8cbaf91511a16fc75332f68ff2ca981854a35b1127c55bf8266c436d4f477819db92f97c497c9939ef6bed0f4c0033b5db958496faf DIST fsharp.data.xml.core.6.3.0.nupkg 64478 BLAKE2B eaeeaf5d0f31a9a7694bd02732e748be62f717e5cdda2f9f02370c0b394dc0dd47e75058887d90c44ace7e9117393667f3a8a31b00035903b9ed0aab7b7cbb43 SHA512 2ceb6130b8c3fe5f18a3a732876508c00c27468b48cff740143754bf894b8827bf3e48d905a4956201d95d328f64106950c4b18aed77a09ccc23db0ab63cdbb8 DIST gentoo-dotnet-maintainer-tools-2.4.1.tar.bz2 477640 BLAKE2B beb3af5b28e96b4a5ecad47cb99f102ce300e170b236f8c3772eb4fa904a31bdc38be4a351888317f0541529328870ab539ab6ece1ea962296f9e10dbf479ac7 SHA512 5e55241cc06f82797d69c56a8513e99c31a9b30ea98fb432fa959dda99496d56ace1342d17fd4b0961fa5f6a57e6c2f1dc16b9b866dd83225fbc58b18ed6fdc0 +DIST gentoo-dotnet-maintainer-tools-3.0.0.tar.bz2 491656 BLAKE2B 32b2e263beed68bed1c471fee18b47769ff96d75d4ae61b569683ab74e5fd295d759562bca0b0a83178a3fffdf6e849977f6e2b9ed973dbe698a728cde7ba2bc SHA512 927e1a61e43bc6f7ad6980e4f6c10e01cdd8551f6c5941c3b7debfc65b37a9181448706f53211a5fc7c712fbb146b828cf271a5a5f42152636662e19b4a475b4 DIST libgit2sharp.0.29.0.nupkg 720966 BLAKE2B 7fdb41e1654d2f572aabbe8141e8d39205437dc2e3bcd0f1dae3514b8c3bc2939fd418b44fb98f73d05b0a38b237b16bdc955343b0d05763a2db474477bf2e1f SHA512 add84f8c68c11e46247370cd3b506627326f26d1c9c5e23643e167875ffdf21ec90a5bb915d043e91a76a2820798db6ec13cdcb613a92b75d732a2a901b8b8a2 DIST libgit2sharp.nativebinaries.2.0.321.nupkg 7966938 BLAKE2B d76dfae54215e463c3fc7ed652b93cfe8cf6bd9bd654eb70c443b226dcf9fbf5642949b5278b09bfa2abdad4707c9a22813a61098eef07af6c461f0e14237d0c SHA512 3b975be9c20bf4c1c637fefa1728443e5729a14c874b93818af0f177650d5e904bb8d09bb8fb9c490ee37391de96ddbabcda05fc4de519a990ceb79831b31d96 DIST microsoft.netcore.platforms.1.1.1.nupkg 31072 BLAKE2B 095f6e8b48a99353061a021ac9a07ec161e28602338d7fa3624891696e9b91642034f968d9e1b77c74ced46628cad45f47cc24189dc12479d1bee92c93eb4cec SHA512 9835090f578b5c8ce6527582cd69663506460e9fdc5464fc2b287331c24d9369e57dd1543a865a8bd89d4fcfc569c26bf0dbfcce102675fdfd1479b9a9652819 diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.0.0.ebuild b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.0.0.ebuild new file mode 100644 index 000000000000..c9ceb8d97b3d --- /dev/null +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.0.0.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 +}
