diff options
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.4.1.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest index 30ecd3d45cb8..4c357548e88e 100644 --- a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest @@ -13,6 +13,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.0.tar.bz2 477077 BLAKE2B fca0b693b639d3fabddf7b620f3a7aa2f5bc712aec13f9d9f9cc9448491d2af21234363a26a2db6da967efc934e1ecf3c6a94b57b1141790551a32a932563205 SHA512 75b0881650c30601b963125df309d3806b3e4bd712aa05d0efc54122ec08a5b3726a29172669d8e6cd5f89a1306e50bdb41fca873732863a40e5831816891fec +DIST gentoo-dotnet-maintainer-tools-2.4.1.tar.bz2 477640 BLAKE2B beb3af5b28e96b4a5ecad47cb99f102ce300e170b236f8c3772eb4fa904a31bdc38be4a351888317f0541529328870ab539ab6ece1ea962296f9e10dbf479ac7 SHA512 5e55241cc06f82797d69c56a8513e99c31a9b30ea98fb432fa959dda99496d56ace1342d17fd4b0961fa5f6a57e6c2f1dc16b9b866dd83225fbc58b18ed6fdc0 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-2.4.1.ebuild b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.4.1.ebuild new file mode 100644 index 000000000000..d0f01ccd6107 --- /dev/null +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.4.1.ebuild @@ -0,0 +1,89 @@ +# 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=8.0 +NUGETS=" +fabulous.ast@0.7.0 +fantomas.core@6.3.0-alpha-003 +fantomas.fcs@6.3.0-alpha-003 +fsharp.core@6.0.1 +fsharp.core@8.0.100 +fsharp.core@8.0.101 +fsharp.data.csv.core@6.3.0 +fsharp.data.html.core@6.3.0 +fsharp.data.http@6.3.0 +fsharp.data.json.core@6.3.0 +fsharp.data.runtime.utilities@6.3.0 +fsharp.data.worldbank.core@6.3.0 +fsharp.data.xml.core@6.3.0 +fsharp.data@6.3.0 +libgit2sharp.nativebinaries@2.0.321 +libgit2sharp@0.29.0 +microsoft.netcore.platforms@1.1.1 +microsoft.netcore.targets@1.1.3 +org.xgqt.simplelog@0.0.0 +runtime.any.system.runtime@4.3.0 +runtime.native.system@4.3.0 +runtime.unix.system.private.uri@4.3.0 +system.commandline@2.0.0-beta4.22272.1 +system.diagnostics.diagnosticsource@7.0.0 +system.memory@4.5.5 +system.private.uri@4.3.0 +system.runtime@4.3.1 +" + +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() { + dotnet-pkg_src_prepare + + DOTNET_PKG_PROJECTS=( $(find "${S}" -name "Gdmt.*proj") ) + DOTNET_TOOLS=( $(cat "${S}/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 +} |