diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-07 23:57:30 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-08 00:39:04 +0200 |
commit | f8d03fe9903f9de3cc03c90b31b7c20de2016552 (patch) | |
tree | 6b94a3f7647fcfe29f8ce942451e821f13210e72 /dev-db | |
parent | dev-lang/mond: use RollForward to update to .NET 7.0 (diff) | |
download | gentoo-f8d03fe9903f9de3cc03c90b31b7c20de2016552.tar.gz gentoo-f8d03fe9903f9de3cc03c90b31b7c20de2016552.tar.bz2 gentoo-f8d03fe9903f9de3cc03c90b31b7c20de2016552.zip |
dev-db/litedb: use RollForward to update to .NET 7.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/litedb/litedb-5.0.17-r1.ebuild (renamed from dev-db/litedb/litedb-5.0.17.ebuild) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-db/litedb/litedb-5.0.17.ebuild b/dev-db/litedb/litedb-5.0.17-r1.ebuild index 5c2a378be9f9..ef353ce1b560 100644 --- a/dev-db/litedb/litedb-5.0.17.ebuild +++ b/dev-db/litedb/litedb-5.0.17-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 MY_PN=LiteDB -DOTNET_PKG_COMPAT=6.0 +DOTNET_PKG_COMPAT=7.0 NUGETS=" benchmarkdotnet.annotations@0.12.0 benchmarkdotnet@0.12.0 @@ -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 @@ -252,6 +252,7 @@ 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() { @@ -259,6 +260,10 @@ 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" |