summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-10-12 10:32:18 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-10-12 17:52:28 +0200
commit4f0236413c11407e84d07f0bc76a8fd56f197f7a (patch)
tree0c088757f5860d7d652915bd3d0159b6b4cde996 /dev-db
parentdev-lang/mond: use DOTNET_PKG_TEST_EXTRA_ARGS (diff)
downloadgentoo-4f0236413c11407e84d07f0bc76a8fd56f197f7a.tar.gz
gentoo-4f0236413c11407e84d07f0bc76a8fd56f197f7a.tar.bz2
gentoo-4f0236413c11407e84d07f0bc76a8fd56f197f7a.zip
dev-db/litedb: use DOTNET_PKG_TEST_EXTRA_ARGS
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/litedb/litedb-5.0.17-r2.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-db/litedb/litedb-5.0.17-r2.ebuild b/dev-db/litedb/litedb-5.0.17-r2.ebuild
index 8d3817608e22..c80809087ccb 100644
--- a/dev-db/litedb/litedb-5.0.17-r2.ebuild
+++ b/dev-db/litedb/litedb-5.0.17-r2.ebuild
@@ -252,18 +252,19 @@ LICENSE="MIT"
SLOT="0"
CHECKREQS_DISK_BUILD="2G"
-DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
DOTNET_PKG_PROJECTS=( LiteDB.Shell/LiteDB.Shell.csproj )
+DOTNET_PKG_RESTORE_EXTRA_ARGS=(
+ -p:TargetFramework="net${DOTNET_PKG_COMPAT}"
+ -p:TargetFrameworks="net${DOTNET_PKG_COMPAT}"
+)
+DOTNET_PKG_BUILD_EXTRA_ARGS=( "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}" )
+DOTNET_PKG_TEST_EXTRA_ARGS=( "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}" )
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"