From 0770f5276c9044be774368cba8d9d8ce7a43627a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Jan 2024 04:47:34 +0000 Subject: gentoo auto-resync : 23:01:2024 - 04:47:34 --- dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest | 14 +++- .../gentoo-dotnet-maintainer-tools-2.2.0.ebuild | 77 ++++++++++++++++++++++ .../gentoo-dotnet-maintainer-tools-2.9999.ebuild | 40 +++++++---- 3 files changed, 119 insertions(+), 12 deletions(-) create mode 100644 dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.2.0.ebuild (limited to 'dev-dotnet/gentoo-dotnet-maintainer-tools') diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest index da0abfef8389..6831abaf55bf 100644 --- a/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/Manifest @@ -1,6 +1,18 @@ DIST fsharp.core.8.0.100.nupkg 2816556 BLAKE2B 6662024bfcf3cd2cb14a33bf073a6df55fac12c6691e820f5aa4a57aa222f32add0518c9c9789e7f28441b901556b677f7e77237683aa9cf91cec502a8cb61ed SHA512 855cb118dfa043642fa1c86cdd80107864ed5c5d8aa7f3997a6de1a7014b6c23076f62584ab5ff489ac2ad6f86bcd2555a3b62252f2c78cdb8d37d4ab13bd021 +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 +DIST fsharp.data.http.6.3.0.nupkg 103561 BLAKE2B 1146bb795c3da5f8236f9e018f69366e50f3ed682587c5d2ce5b15fda27bbbebcb496d7638d1c7183f04dd60cc19fd59153511be7e18fbf7b27d83194e9379c6 SHA512 e72041769a48aa26917f37858bb64b481995608384b192739b992c356e62ccc8ebc23afa40d83f397a0474b0960530f2dc3c549e7f0af8e490feb7ee9f77b10f +DIST fsharp.data.json.core.6.3.0.nupkg 71606 BLAKE2B 7ae58b0addc294a771993ba5ddae0168e67d1fe4305119462598e7fc24976c342e1792d21c465443473cd4a30b2128d80103679834b533b6fa68d518f3fc3f34 SHA512 91ff3eda35e6b92db2aad3c72ff71ad802164683177abda5a600ff45e543adf0c2624ff90131c8475511b5b753460dc732a77c4798c2f4cd2eac2ec05347f70f +DIST fsharp.data.runtime.utilities.6.3.0.nupkg 104522 BLAKE2B 62ca50953fd504d0973bbef224a48c814e6621a14052808abe392488f97b2b79206cabf30a6b43165bead50f8e1d21e7239729321c42e8c4385883f5a3818aee SHA512 173f3ec6809a36f77a4204ad0f8fe9d007dce22775beadea5a03f3e52affaede0a7852434f9794a507ba22db622f1fb9462506f6d56c083cfcfa9df8b74ed263 +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.0.1.tar.bz2 25470 BLAKE2B 2a972ab7a01997ea3a41ace118f39996f1a232a6b7d66ff5b5c9db9763960e2d188116e289e0e8e0e045350e80e9de706e899db928a1b00d0a0b1e4c58534301 SHA512 84454ef54c1228b21fa6a34c895202dfb4509314c011503c6ce4ffca941f308383d8edbbf099ef5d182635e6bd4346f0c25e9ed9a2ba817350e0485f53a52f97 +DIST gentoo-dotnet-maintainer-tools-2.2.0.tar.bz2 32113 BLAKE2B 925e0beb239905d14b7abb293ecb455d386792cf169df16f08527d9bda5298132f2b1652d22ef767c5287caa1c7c4dcf39233be887ad5c6728f4b4b5bb162f74 SHA512 3a4e46c18f9d39cffd9545690ab8456f1e73b00e3294b615f6ee8b74ff5de458e4dd2a5b8fa33bed886c74cfc3934e4901ff1fee89e58436e626c9eb81791775 +DIST libgit2sharp.0.29.0.nupkg 720966 BLAKE2B 7fdb41e1654d2f572aabbe8141e8d39205437dc2e3bcd0f1dae3514b8c3bc2939fd418b44fb98f73d05b0a38b237b16bdc955343b0d05763a2db474477bf2e1f SHA512 add84f8c68c11e46247370cd3b506627326f26d1c9c5e23643e167875ffdf21ec90a5bb915d043e91a76a2820798db6ec13cdcb613a92b75d732a2a901b8b8a2 +DIST libgit2sharp.nativebinaries.2.0.321.nupkg 7966938 BLAKE2B d76dfae54215e463c3fc7ed652b93cfe8cf6bd9bd654eb70c443b226dcf9fbf5642949b5278b09bfa2abdad4707c9a22813a61098eef07af6c461f0e14237d0c SHA512 3b975be9c20bf4c1c637fefa1728443e5729a14c874b93818af0f177650d5e904bb8d09bb8fb9c490ee37391de96ddbabcda05fc4de519a990ceb79831b31d96 DIST system.commandline.2.0.0-beta4.22272.1.nupkg 616636 BLAKE2B 5252560598c4cd67348520cea086c37b4151b984a61238de1984838975340247b16050113422b1765931bdfc1dee38e226789b6427e56ab7c3a36bf07d0bcc20 SHA512 979a7e66ba29e17bc5bec42e926ed15362e23ae403e498c955e09dffc4d3baa14777a06f95e25d591fc9757a0eaa18deb9e4662a1ca1663fa300f509a4a0383c EBUILD gentoo-dotnet-maintainer-tools-2.0.1.ebuild 1311 BLAKE2B fedf01589c718136b0918a0856cc413b501fcbefb888f4a62479fb0d0e69410a4ad11901e6e9b8b6322cf122b84934a233b1618942c747a86748df95787454af SHA512 941b15434562d69f304c4e6481862b2a972e6c226232dd85ea532a24221c4724e680046b656b8309c78429475773b898757f3940915cb69c6514aaff97500c00 -EBUILD gentoo-dotnet-maintainer-tools-2.9999.ebuild 1311 BLAKE2B fedf01589c718136b0918a0856cc413b501fcbefb888f4a62479fb0d0e69410a4ad11901e6e9b8b6322cf122b84934a233b1618942c747a86748df95787454af SHA512 941b15434562d69f304c4e6481862b2a972e6c226232dd85ea532a24221c4724e680046b656b8309c78429475773b898757f3940915cb69c6514aaff97500c00 +EBUILD gentoo-dotnet-maintainer-tools-2.2.0.ebuild 1714 BLAKE2B 7aa8553b75f4b879c38e0a891ae128dff624c202abdd13a7cfeb8594ec92900b37ffc06089df68b3304b59c3b1e27050394b101f5dc9631c0cc3c7e0b0bad874 SHA512 82fa7f33d0ac5030bb5782367335529750c4723ae6f76eb018736dee404f1cc87e0753f23408a403613f1dcfaafb35c409229d79fd81031e179760864ab64b33 +EBUILD gentoo-dotnet-maintainer-tools-2.9999.ebuild 1714 BLAKE2B 7aa8553b75f4b879c38e0a891ae128dff624c202abdd13a7cfeb8594ec92900b37ffc06089df68b3304b59c3b1e27050394b101f5dc9631c0cc3c7e0b0bad874 SHA512 82fa7f33d0ac5030bb5782367335529750c4723ae6f76eb018736dee404f1cc87e0753f23408a403613f1dcfaafb35c409229d79fd81031e179760864ab64b33 MISC metadata.xml 338 BLAKE2B 897c7c7c0ce9627ceedc0c4aa355b828609d93b5f137b107123be53274c3dd5edfdc0ff8b8e1ce9cfd4eaf1f6a7ac63b0245bf1d4a95d19c913e6dd0aa016e73 SHA512 3cf3c141ed1df8d5e439aa88c7e84bb44b4691ae24a45573ab66f47bcb6d1613e711e31cf235429ad5b1ffd45538dd0bb4e09f57c0698882d6d10fd51da8ed00 diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.2.0.ebuild b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.2.0.ebuild new file mode 100644 index 000000000000..2ad38f3dd580 --- /dev/null +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.2.0.ebuild @@ -0,0 +1,77 @@ +# 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=" +fsharp.core@8.0.100 +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 +system.commandline@2.0.0-beta4.22272.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 + + local tool_project + while read -r tool_project ; do + DOTNET_PKG_PROJECTS+=( $(find "${tool_project}/src" -name "*proj") ) + DOTNET_TOOLS+=( "${tool_project}" ) + done < <(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 +} diff --git a/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.9999.ebuild b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.9999.ebuild index fd91397eb419..2ad38f3dd580 100644 --- a/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.9999.ebuild +++ b/dev-dotnet/gentoo-dotnet-maintainer-tools/gentoo-dotnet-maintainer-tools-2.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,6 +8,16 @@ MAJOR="$(ver_cut 1)" DOTNET_PKG_COMPAT=8.0 NUGETS=" fsharp.core@8.0.100 +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 system.commandline@2.0.0-beta4.22272.1 " @@ -33,13 +43,8 @@ S="${WORKDIR}/${P}/Source/v${MAJOR}" LICENSE="GPL-2+" SLOT="0/${MAJOR}" -DOTNET_PKG_PROJECTS=( - gdmt-check-core/src/GdmtCheckCore/GdmtCheckCore.fsproj - gdmt-genpwsh/src/GdmtGenpwsh/GdmtGenpwsh.fsproj - gdmt-gensdk/src/GdmtGensdk/GdmtGensdk.fsproj - gdmt-restore/src/GdmtRestore/GdmtRestore.fsproj -) -DOTNET_TOOLS=( gdmt-{check-core,genpwsh,gensdk,restore} ) +DOTNET_PKG_PROJECTS=() +DOTNET_TOOLS=() src_unpack() { dotnet-pkg_src_unpack @@ -49,11 +54,24 @@ src_unpack() { fi } +src_prepare() { + dotnet-pkg_src_prepare + + local tool_project + while read -r tool_project ; do + DOTNET_PKG_PROJECTS+=( $(find "${tool_project}/src" -name "*proj") ) + DOTNET_TOOLS+=( "${tool_project}" ) + done < <(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 dotnet_tool - for dotnet_tool in "${DOTNET_TOOLS[@]}" ; do - dotnet-pkg-base_dolauncher "/usr/share/${P}/${dotnet_tool}" + local tool_exe + for tool_exe in "${DOTNET_TOOLS[@]}" ; do + dotnet-pkg-base_dolauncher "/usr/share/${P}/${tool_exe}" done } -- cgit v1.2.3