• [gentoo-dev] [PATCH 1/6] eclass/nuget.eclass: add new "nuget" eclass

    From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    eclass/nuget.eclass | 197 ++++++++++++++++++++++++++++++++++++++++++++
    1 file changed, 197 insertions(+)
    create mode 100644 eclass/nuget.eclass

    diff --git a/eclass/nuget.eclass b/eclass/nuget.eclass
    new file mode 100644
    index 0000000000..fca36f2ce7
    --- /dev/null
    +++ b/eclass/nuget.eclass
    @@ -0,0 +1,197 @@
    +# Copyright 1999-2023 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: nuget.eclass
    +# @MAINTAINER:
    +# Gentoo Dotnet project <dotnet@gentoo.org>
    +# @AUTHOR:
    +# Anna Figueiredo Gomes <navi@vlhl.dev>
    +# Maciej Barć <xgqt@gentoo.org>
    +# @SUPPORTED_EAPIS: 8
    +# @BLURB: common functions and variables for handling .NET NuGets
    +# @DESCRIPTION:
    +# This eclass is designed to provide support for .NET NuGet's ".nupkg" files. +# It is used to handle NuGets installation and usage.
    +# "dotnet-pkg" and "dotnet-pkg-utils" inherit this eclass.
    +#
    +# This eclass does not export any phase functions, for that see
    +# the "dotnet-pkg" eclass.
    +
  • From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    eclass/dotnet-pkg.eclass | 258 +++++++++++++++++++++++++++++++++++++++
    1 file changed, 258 insertions(+)
    create mode 100644 eclass/dotnet-pkg.eclass

    diff --git a/eclass/dotnet-pkg.eclass b/eclass/dotnet-pkg.eclass
    new file mode 100644
    index 0000000000..2bff16c899
    --- /dev/null
    +++ b/eclass/dotnet-pkg.eclass
    @@ -0,0 +1,258 @@
    +# Copyright 1999-2023 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: dotnet-pkg.eclass
    +# @MAINTAINER:
    +# Gentoo Dotnet project <dotnet@gentoo.org>
    +# @AUTHOR:
    +# Anna Figueiredo Gomes <navi@vlhl.dev>
    +# Maciej Barć <xgqt@gentoo.org>
    +# @SUPPORTED_EAPIS: 8
    +# @PROVIDES: dotnet-pkg-base nuget
    +# @BLURB: common functions and variables for .NET packages
    +# @DESCRIPTION:
    +# This eclass is designed to help with building and installing packages that +# use the .NET SDK.
    +# It provides the required phase functions and special variables that make
    +# it easier to write ebuilds for .NET packages.
    +# If you do no
  • From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    app-eselect/eselect-dotnet/Manifest | 1 +
    .../eselect-dotnet-0.1.0.ebuild | 25 +++++++++++++++++++
    app-eselect/eselect-dotnet/metadata.xml | 9 +++++++
    3 files changed, 35 insertions(+)
    create mode 100644 app-eselect/eselect-dotnet/Manifest
    create mode 100644 app-eselect/eselect-dotnet/eselect-dotnet-0.1.0.ebuild
    create mode 100644 app-eselect/eselect-dotnet/metadata.xml

    diff --git a/app-eselect/eselect-dotnet/Manifest b/app-eselect/eselect-dotnet/Manifest
    new file mode 100644
    index 0000000000..9cf36cadf1
    --- /dev/null
    +++ b/app-eselect/eselect-dotnet/Manifest
    @@ -0,0 +1 @@
    +DIST eselect-dotnet-0.1.0.tar.bz2 7788 BLAKE2B 141e5a2fc765454682de60a6a337d6634766b4dd76f218606e2f4eb18960fdcf8940b954deda2fb6b0903f72b161513936c1d767210883316c32200704188945 SHA512
    879281ffff019d1e4a8a5ee3d3e6b6de3446ba573d253a5b3b0c59aa9faffcd6eb4382066e1752e18cb4e48c3e14340a278b2189c2674b1baa258ceb3980d13a
    diff --git a/app-eselect/eselect-dotnet/eselect-dotnet-0.1.0.ebuild b
  • From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    dev-dotnet/dotnet-sdk-bin/Manifest | 6 ++
    .../dotnet-sdk-bin-6.0.404-r1.ebuild | 70 ++++++++++++++++++
    .../dotnet-sdk-bin-7.0.203.ebuild | 71 +++++++++++++++++++
    3 files changed, 147 insertions(+)
    create mode 100644 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-6.0.404-r1.ebuild
    create mode 100644 dev-dotnet/dotnet-sdk-bin/dotnet-sdk-bin-7.0.203.ebuild

    diff --git a/dev-dotnet/dotnet-sdk-bin/Manifest b/dev-dotnet/dotnet-sdk-bin/Manifest
    index 0db1365533..ef1bf1bc89 100644
    --- a/dev-dotnet/dotnet-sdk-bin/Manifest
    +++ b/dev-dotnet/dotnet-sdk-bin/Manifest
    @@ -10,3 +10,9 @@ DIST dotnet-sdk-7.0.200-linux-musl-arm.tar.gz 192955116 BLAKE2B 5b5549e158ebc705
    DIST dotnet-sdk-7.0.200-linux-musl-arm64.tar.gz 192893152 BLAKE2B ea793eebc9d414f5f8dd0c4a1b2c0330bf762db8fb1626aaa97d84b8fffe2a6b8d85f8cf735467dd49d6f588cd17254dad7ced926410f7e26488da08e0bb593a SHA512
    63c568b1e0014e2039def200fde47d932e5366ba794fcd89f0efbcfd845e8b8b1c0ede6406a518f366356f5b566df2d0a1b53e6fdc9b58
  • From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    eclass/dotnet-pkg-base.eclass | 608 ++++++++++++++++++++++++++++++++++
    1 file changed, 608 insertions(+)
    create mode 100644 eclass/dotnet-pkg-base.eclass

    diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass
    new file mode 100644
    index 0000000000..dbb994a642
    --- /dev/null
    +++ b/eclass/dotnet-pkg-base.eclass
    @@ -0,0 +1,608 @@
    +# Copyright 1999-2023 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: dotnet-pkg-base.eclass
    +# @MAINTAINER:
    +# Gentoo Dotnet project <dotnet@gentoo.org>
    +# @AUTHOR:
    +# Anna Figueiredo Gomes <navi@vlhl.dev>
    +# Maciej Barć <xgqt@gentoo.org>
    +# @SUPPORTED_EAPIS: 8
    +# @PROVIDES: nuget
    +# @BLURB: common functions and variables for builds using .NET SDK
    +# @DESCRIPTION:
    +# This eclass is designed to provide required ebuild definitions for .NET
    +# packages. Beware that in addition to Gentoo-specific concepts also terms that
    +# should be known to people familiar with the .NET ecosystem are us
  • From =?UTF-8?q?Maciej=20Bar=C4=87?=@21:1/5 to All on Tue Sep 5 22:30:01 2023
    Dependency of dotnet-sdk{,-bin}

    Bug: https://bugs.gentoo.org/900597
    Bug: https://github.com/gentoo/gentoo/pull/32109
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>
    ---
    dev-dotnet/dotnet-runtime-nugets/Manifest | 77 +++++++++++++++++++
    .../dotnet-runtime-nugets-3.1.32.ebuild | 56 ++++++++++++++
    .../dotnet-runtime-nugets-6.0.12.ebuild | 59 ++++++++++++++
    .../dotnet-runtime-nugets-6.0.16.ebuild | 59 ++++++++++++++
    .../dotnet-runtime-nugets-7.0.5.ebuild | 59 ++++++++++++++
    dev-dotnet/dotnet-runtime-nugets/metadata.xml | 9 +++
    6 files changed, 319 insertions(+)
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/Manifest
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-3.1.32.ebuild
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-6.0.12.ebuild
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-6.0.16.ebuild
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/dotnet-runtime-nugets-7.0.5.ebuild
    create mode 100644 dev-dotnet/dotnet-runtime-nugets/metadata.xml

    diff --git a/dev-dotnet/dotnet-runtime-nugets/Manifest b/dev-dotnet/dotnet-runtime-nugets