Skip to content

Commit

Permalink
dev-db/litedb: use RollForward to update to .NET 7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Oct 7, 2023
1 parent e0fbefc commit f8d03fe
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=8

MY_PN=LiteDB

DOTNET_PKG_COMPAT=6.0
DOTNET_PKG_COMPAT=7.0
NUGETS="
[email protected]
[email protected]
Expand Down Expand Up @@ -232,7 +232,7 @@ inherit check-reqs dotnet-pkg

DESCRIPTION=".NET NoSQL Document Store in a single data file"
HOMEPAGE="http://www.litedb.org/
http://www.litedb.org/"
https://github.com/mbdavid/LiteDB/"

if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
Expand All @@ -252,13 +252,18 @@ LICENSE="MIT"
SLOT="0"

CHECKREQS_DISK_BUILD="2G"
DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
DOTNET_PKG_PROJECTS=( LiteDB.Shell/LiteDB.Shell.csproj )

pkg_setup() {
check-reqs_pkg_setup
dotnet-pkg_pkg_setup
}

src_test() {
dotnet-pkg-base_test -p:RollForward=Major LiteDB.sln
}

src_install() {
dotnet-pkg-base_install
dotnet-pkg-base_dolauncher "/usr/share/${P}/LiteDB.Shell" "${PN}-shell"
Expand Down

0 comments on commit f8d03fe

Please sign in to comment.