diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-29 06:30:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-29 06:30:44 +0000 |
commit | 0e12f8e53cdddba84b0eb27dca59153e2cf52309 (patch) | |
tree | 8dec970370295a71970b82457ae1db36dbbbd07c /dev-dotnet/gentoo-dotnet-maintainer-tools | |
parent | 72fd2b48b7154274a1d2009cdaab54e7f49fb3aa (diff) |
gentoo auto-resync : 29:12:2024 - 06:30:44
Diffstat (limited to 'dev-dotnet/gentoo-dotnet-maintainer-tools')
-rw-r--r-- | dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-3.0.0.ebuild | 92 |
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest index 2af655e3fdea..6e1c3179190a 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 @@ -29,5 +30,6 @@ DIST system.memory.4.5.5.nupkg 208978 BLAKE2B 487049b1ffd622868d4aa84cc14f131276 DIST system.private.uri.4.3.0.nupkg 16869 BLAKE2B 7a407e16b35e4a5f405029e80749f7ae1c907707d9f72657016667ccf1255463011497b09b7d9e23fb3ccfd4de508dea48b33b13267775619f63134897e54c61 SHA512 5989a57ef273b689a663e961a0fe09d9b1d88438e5478358efc4b165de3b2674fa9579c301ce12d2d2fa5f33295f2acb42eceea2ebebf70c733da6364ceaf94d DIST system.runtime.4.3.1.nupkg 7272877 BLAKE2B 79c5ea342983b39bf810e499755724089453ac86ae2485757ba1a2a2e96e864ebb5e2ee8c39999263ff7149ba93ff7a212d892c35cc2623f971916be007cf7ff SHA512 025ebd98f0dfcdd0fe6ca18ad8701f07e94d14e1c5aa792accd9d42669af51ed7fa843caf4cec48934f8ceec9c2833f2edebf5d71cfc5d580958a3f4866ecd20 EBUILD gentoo-dotnet-maintainer-tools-2.4.1.ebuild 2039 BLAKE2B 2d8b21bc6398d825b0948bd77626e0ee5c8313ce768dec14d8a1c11bfad73dcfa4d3957a3fbbbbb2e0a6742d51e2318cc69ba436f31f1c23ec07476d79b03078 SHA512 a6c72c3ef8adacc41f939de3983d5277f28ae8769e0b8896beef1b9bb3e81cd6b8077554ea0caf577884e1cd7f22719594ea3fc3df0600c11b890722681f1143 +EBUILD gentoo-dotnet-maintainer-tools-3.0.0.ebuild 2115 BLAKE2B 91578d386789bdecc0e4a60eee59a013f8956e3210bd2bb49285b40128809a4bee7e0326d8e0ed52d8508382b5a4cbffd74c5423d5f2227ea4fb02520d329e65 SHA512 01f7d0ac91d1048271c25a2377a16d66f59680c769bfa68345a7e329e3da2e205402b95627c26b341ffafe82629e6716d5c46d73a555d96af6091bf191687dec EBUILD gentoo-dotnet-maintainer-tools-3.9999.ebuild 2115 BLAKE2B 91578d386789bdecc0e4a60eee59a013f8956e3210bd2bb49285b40128809a4bee7e0326d8e0ed52d8508382b5a4cbffd74c5423d5f2227ea4fb02520d329e65 SHA512 01f7d0ac91d1048271c25a2377a16d66f59680c769bfa68345a7e329e3da2e205402b95627c26b341ffafe82629e6716d5c46d73a555d96af6091bf191687dec MISC metadata.xml 338 BLAKE2B 897c7c7c0ce9627ceedc0c4aa355b828609d93b5f137b107123be53274c3dd5edfdc0ff8b8e1ce9cfd4eaf1f6a7ac63b0245bf1d4a95d19c913e6dd0aa016e73 SHA512 3cf3c141ed1df8d5e439aa88c7e84bb44b4691ae24a45573ab66f47bcb6d1613e711e31cf235429ad5b1ffd45538dd0bb4e09f57c0698882d6d10fd51da8ed00 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=" +fabulous.ast@0.7.0 +fantomas.core@6.3.0-alpha-003 +fantomas.fcs@6.3.0-alpha-003 +fsharp.core@8.0.102 +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@2.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() { + # 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 +} |