diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-12 10:32:18 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-12 17:52:28 +0200 |
commit | 4f0236413c11407e84d07f0bc76a8fd56f197f7a (patch) | |
tree | 0c088757f5860d7d652915bd3d0159b6b4cde996 /dev-db/litedb/litedb-5.0.17-r2.ebuild | |
parent | dev-lang/mond: use DOTNET_PKG_TEST_EXTRA_ARGS (diff) | |
download | gentoo-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/litedb/litedb-5.0.17-r2.ebuild')
-rw-r--r-- | dev-db/litedb/litedb-5.0.17-r2.ebuild | 11 |
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" |