mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/clr-loader: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
b8282de577
commit
dd09bd5888
@ -1,4 +1,3 @@
|
||||
DIST clr_loader-0.2.6.tar.gz 44757 BLAKE2B dd1a9513ffebc39b0861780d14c85b98e2b08b9911fd34bef180dcf76a5fc9f95236db47d3802b4cdcc7bcfb9343de4b1d4c516036562baf92d3e37e07ff42c0 SHA512 59d7918de9ca0b42dd7509b43f7994a5b3788e01fa4015e00e7957f4430c8291ad8736615b859ca0a91d26ad9a495677cb724654414f870f7f43d07d1b6516ce
|
||||
DIST clr_loader-0.2.7.post0.tar.gz 56701 BLAKE2B 17271bc3bdbaa70a2aec0d3570df0739536a05289bb538349fdbe4daed2fca041a0640b110cea7e2b8f67d03f5437a76d46829c77d418f05918af29b4adaee33 SHA512 9ab59712556d293ae3611cf841ce072346973ab731cb9fbb1cdd5dfb737a1a410d447d3032485f4bb918490ae68c3c4893629a8b63639b06c0bb9d9e6c682986
|
||||
DIST microsoft.netcore.platforms.1.1.0.nupkg 17960 BLAKE2B 6a9fa22d75f5a1c65746dd71a63c3d4e37c393e99c23007c10f5ecce248a04863bf26e7562c7751177a6985eaac266c29cc6a5443a4a853e773f88994ad2a3fd SHA512 6bf892c274596fe2c7164e3d8503b24e187f64d0b7bec6d9b05eb95f04086fceb7a85ea6b2685d42dc465c52f6f0e6f636c0b3fddac48f6f0125dfd83e92d106
|
||||
DIST microsoft.netframework.referenceassemblies.1.0.0.nupkg 20946 BLAKE2B ac609f5ddaec68f4afca36b710408e8f5601f13e6b2c793dae11e1afd3f8fc9b45c3ae9abba2429b4f414a43a48f8e0ea11498f439a17158257701466f372582 SHA512 c8f18b9fc83113c65086d93f7dfd9d62600edd614f5eaaeb294d96cc46bb024cc1cbd93b665f849a33d367acd4df30913db1e50ebc695de7e12cd185a6e1ee9e
|
||||
|
||||
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DOTNET_PKG_COMPAT=8.0
|
||||
NUGETS="
|
||||
microsoft.netcore.platforms@1.1.0
|
||||
microsoft.netframework.referenceassemblies.net461@1.0.0
|
||||
microsoft.netframework.referenceassemblies.net47@1.0.0
|
||||
microsoft.netframework.referenceassemblies@1.0.0
|
||||
netstandard.library@2.0.3
|
||||
nxports@1.0.0
|
||||
"
|
||||
|
||||
inherit check-reqs dotnet-pkg distutils-r1
|
||||
|
||||
DESCRIPTION="Generic pure Python loader for .NET runtimes"
|
||||
HOMEPAGE="https://pythonnet.github.io/clr-loader/
|
||||
https://github.com/pythonnet/clr-loader/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/pythonnet/${PN}.git"
|
||||
else
|
||||
inherit pypi
|
||||
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
SRC_URI+=" ${NUGET_URIS} "
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cffi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
CHECKREQS_DISK_BUILD="500M"
|
||||
DOTNET_PKG_PROJECTS=(
|
||||
example/example.csproj
|
||||
netfx_loader/ClrLoader.csproj
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Mono only.
|
||||
'tests/test_common.py::test_mono'
|
||||
'tests/test_common.py::test_mono_debug'
|
||||
'tests/test_common.py::test_mono_signal_chaining'
|
||||
'tests/test_common.py::test_mono_set_dir'
|
||||
|
||||
# MS Windows only.
|
||||
'tests/test_common.py::test_netfx'
|
||||
'tests/test_common.py::test_netfx_chinese_path'
|
||||
'tests/test_common.py::test_netfx_separate_domain'
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
dotnet-pkg_force-compat
|
||||
|
||||
pkg_setup() {
|
||||
check-reqs_pkg_setup
|
||||
dotnet-pkg_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# To be compatible with .NET >= 6.0.
|
||||
cat <<-EOF > Directory.Build.props || die
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<RollForward>Major</RollForward>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
EOF
|
||||
nuget_writeconfig "$(pwd)/"
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
dotnet-pkg_src_configure
|
||||
distutils-r1_src_configure
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user