user/dotnet8-sdk: upgrade to 8.0.100

This commit is contained in:
Antoine Martin 2023-11-27 10:40:44 -05:00
parent 5ab3dafdd1
commit 737709d1f5
2 changed files with 19 additions and 16 deletions

View file

@ -2,9 +2,9 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net> # Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=dotnet8-sdk pkgname=dotnet8-sdk
pkgver=8.0.100_pre7 pkgver=8.0.100
_bldver=8.0.0_pre7-r2 _bldver=8.0.0-r0
pkgrel=2 pkgrel=0
# Following for dotnet build version 6.0 and up # Following for dotnet build version 6.0 and up
_pkgver_macro=${pkgver%.*} _pkgver_macro=${pkgver%.*}
@ -14,8 +14,9 @@ _bldver_ver=${_bldver_ver/0./0.10}
pkgdesc="The .NET $_pkgver_macro SDK" pkgdesc="The .NET $_pkgver_macro SDK"
# x86: blocked by https://github.com/dotnet/runtime/issues/77667 # x86: blocked by https://github.com/dotnet/runtime/issues/77667
# armhf: blocked by https://github.com/dotnet/runtime/issues/77663 # armhf: blocked by https://github.com/dotnet/runtime/issues/77663
# upgrade needed # riscv64: blocked by https://github.com/dotnet/runtime/issues/84834
#arch="all !x86 !armhf" # s390x | ppc64le: mono-based runtime still has issues on musl
arch="all !x86 !armhf !riscv64 !s390x !ppc64le"
url=https://dotnet.microsoft.com url=https://dotnet.microsoft.com
license="MIT" license="MIT"
makedepends="dotnet$_pkgver_name-runtime-bootstrap=$_bldver" makedepends="dotnet$_pkgver_name-runtime-bootstrap=$_bldver"
@ -119,7 +120,6 @@ doc() {
default_doc default_doc
pkgdesc="Docs for .NET" pkgdesc="Docs for .NET"
# licenses # licenses
install -dm 755 "$subpkgdir"/usr/share/licenses/dotnet install -dm 755 "$subpkgdir"/usr/share/licenses/dotnet
cp -r $_libdir/dotnet/bootstrap/$_bldver_ver/LICENSE.txt "$subpkgdir"/usr/share/licenses/dotnet/. cp -r $_libdir/dotnet/bootstrap/$_bldver_ver/LICENSE.txt "$subpkgdir"/usr/share/licenses/dotnet/.

View file

@ -7,8 +7,6 @@ Please report any issues [using Gitlab](https://gitlab.alpinelinux.org/alpine/ap
# Building info # Building info
## Generated packages ## Generated packages
* `dotnet8-build` (aimed for internal use as bootstrap)
* `dotnet8-build-artifacts` (aimed for internal use as bootstrap)
* `dotnet8-sdk` * `dotnet8-sdk`
* `dotnet8-templates` (required by sdk) * `dotnet8-templates` (required by sdk)
* `dotnet-zsh-completion` * `dotnet-zsh-completion`
@ -31,13 +29,18 @@ In summary, dotnet8 is built using three different aports.
* `community/dotnet8-stage0` * `community/dotnet8-stage0`
Builds minimum components for full build of dotnet8, and packages these in an initial Builds minimum components for full build of dotnet8, and packages these in an initial
`dotnet8-stage0-bootstrap` package that `dotnet8-build` pulls. `dotnet8-stage0-bootstrap` package that `dotnet8-runtime` pulls.
* `community/dotnet8-build` * `community/dotnet8-runtime
Builds full and packages dotnet8 fully using either stage0 or previoulsy built Builds full and packages dotnet8 fully using either stage0 or previoulsy built
dotnet8 build. dotnet8 build.
* `community/dotnet8-runtime` * `community/dotnet8-sdk`
As abuild does not allow different versions for subpackages, a different aport As abuild does not allow different versions for subpackages, a different aport
is required to package runtime bits from dotnet8-build. is required to package runtime bits from dotnet8-runtime. dotnet8-runtime only
builds 8.0.1xx feature branch of SDK. Thus, when a new feature branch of sdk is
released, the updated components are to be built on dotnet8-sdk rather than
simply repackaging dotnet8-runtime artifacts.
## Crossbuilding with `stage0` ## Crossbuilding with `stage0`
Crossbuilding `stage0` is a three step process: Crossbuilding `stage0` is a three step process:
@ -74,7 +77,7 @@ follow.
2. Checkout the forked repository. 2. Checkout the forked repository.
- `git clone ssh://git@gitlab.alpinelinux.org/$USER/aports` - `git clone ssh://git@gitlab.alpinelinux.org/$USER/aports`
- `cd community/dotnet8-build` - `cd community/dotnet8-sdk`
3. Make your changes. Don't forget to add a changelog. 3. Make your changes. Don't forget to add a changelog.
@ -89,7 +92,7 @@ follow.
- `git checkout -b dotnet8/<name>` - `git checkout -b dotnet8/<name>`
- `git add` any new patches - `git add` any new patches
- `git remove` any now-unnecessary patches - `git remove` any now-unnecessary patches
- `git commit -m 'community/dotnet8-build: descriptive description'` - `git commit -m 'community/dotnet8-sdk: descriptive description'`
- `git push` - `git push`
7. Create a merge request with your changes, tagging @ayakael for review. 7. Create a merge request with your changes, tagging @ayakael for review.
@ -104,7 +107,7 @@ follow.
2. Checkout the forked repository. 2. Checkout the forked repository.
- `git clone ssh://git@gitlab.alpinelinux.org/$USER/aports` - `git clone ssh://git@gitlab.alpinelinux.org/$USER/aports`
- `cd community/dotnet8-build` - `cd community/dotnet8-sdk`
3. Build the new upstream source tarball. Update the versions in the 3. Build the new upstream source tarball. Update the versions in the
@ -128,7 +131,7 @@ follow.
- `git checkout -b dotnet8/<name>` - `git checkout -b dotnet8/<name>`
- `git add` any new patches - `git add` any new patches
- `git remove` any now-unnecessary patches - `git remove` any now-unnecessary patches
- `git commit -m 'community/dotnet8-build: upgrade to <new-version>` - `git commit -m 'community/dotnet8-sdk: upgrade to <new-version>`
- `git push` - `git push`
8. Create a merge request with your changes, tagging @ayakael for review. 8. Create a merge request with your changes, tagging @ayakael for review.