commit:     ea4afb8f9a7d93372fa5e7db066ade442af2196e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 18:59:46 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 18:59:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea4afb8f

dev-python/clr-loader: bump to 0.2.7_p0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-python/clr-loader/Manifest                   |  1 +
 dev-python/clr-loader/clr-loader-0.2.7_p0.ebuild | 91 ++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/clr-loader/Manifest b/dev-python/clr-loader/Manifest
index bce85ab71188..d5b783bc3770 100644
--- a/dev-python/clr-loader/Manifest
+++ b/dev-python/clr-loader/Manifest
@@ -1,4 +1,5 @@
 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
 DIST microsoft.netframework.referenceassemblies.net461.1.0.0.nupkg 20140577 
BLAKE2B 
1daecb1375a6e1138cfdca86e42f4f96fe8dcd83661dbb7078e7cf66d717bb380222f1947ed2f08730aa842fef172a1e3f67100a4046c0a730601305db2fe7eb
 SHA512 
365cd4012393d95dbb3c84aa18169d59d5eb5ec727efada8af9a2fd5de621829373ec14ca6dd53f1fb76b769ed2e424cdc9cdef03a02162b635b56670db8627f

diff --git a/dev-python/clr-loader/clr-loader-0.2.7_p0.ebuild 
b/dev-python/clr-loader/clr-loader-0.2.7_p0.ebuild
new file mode 100644
index 000000000000..71fae40773a5
--- /dev/null
+++ b/dev-python/clr-loader/clr-loader-0.2.7_p0.ebuild
@@ -0,0 +1,91 @@
+# 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_{11..13} )
+
+DOTNET_PKG_COMPAT="9.0"
+NUGETS="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+"
+
+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
+}

Reply via email to