From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/clr-loader/Manifest | 10 +++ dev-python/clr-loader/clr-loader-0.2.9.ebuild | 96 +++++++++++++++++++++++++++ dev-python/clr-loader/clr-loader-0.3.1.ebuild | 96 +++++++++++++++++++++++++++ dev-python/clr-loader/metadata.xml | 17 +++++ 4 files changed, 219 insertions(+) create mode 100644 dev-python/clr-loader/Manifest create mode 100644 dev-python/clr-loader/clr-loader-0.2.9.ebuild create mode 100644 dev-python/clr-loader/clr-loader-0.3.1.ebuild create mode 100644 dev-python/clr-loader/metadata.xml (limited to 'dev-python/clr-loader') diff --git a/dev-python/clr-loader/Manifest b/dev-python/clr-loader/Manifest new file mode 100644 index 000000000000..42bb78870a0c --- /dev/null +++ b/dev-python/clr-loader/Manifest @@ -0,0 +1,10 @@ +DIST clr_loader-0.2.9.tar.gz 84829 BLAKE2B e74b27ecac4d37c1f3ed43d6612b15cd24788b38e39b978aba513c458111124fdda7069579e3121edefb0f47907afb2503ee819f59663b921b87ed64b9960bb1 SHA512 02f481f9af5317917f75feabef7d9fa4bea01d29af9b89de2430485418f3442db9440dc630f789cf3178a1be6a0287150e6b8d91a7515df1704bc9da9bb8cda1 +DIST clr_loader-0.3.1.tar.gz 86805 BLAKE2B 2fc91dd0c791ba126abcf407b0a1ee9cebdffc7b78e38b58f91c78c89e737de51e7c9dd0728113cbed79cb2bb7bcd20f9d8c2fd583e25c26a92572f83a3ad2ca SHA512 2f2c58947511b82199347c8609ead4fce9c513abdd16546d4f9b5d506b8db00b3ed75f53e57d295ed0c6ff7702e32b39d8c214c05a76b9d50b411a0afc056cf9 +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.1.0.3.nupkg 20961 BLAKE2B 8632244fc71708fbb2a56331c8642a12782baeebda676b1b8d3ada50788e0725a7572cf0ed1c296c4cad3fb8bdd669871c90f963b9c8da6eff796fd30ba768e2 SHA512 e3b8317b290696a380a32abdd9e75e71ddae68049769beb895024c34089f41262aeddf53e30984330b1293f013e34d854a83223ae1e2afe417186795da8dc148 +DIST microsoft.netframework.referenceassemblies.net461.1.0.0.nupkg 20140577 BLAKE2B 1daecb1375a6e1138cfdca86e42f4f96fe8dcd83661dbb7078e7cf66d717bb380222f1947ed2f08730aa842fef172a1e3f67100a4046c0a730601305db2fe7eb SHA512 365cd4012393d95dbb3c84aa18169d59d5eb5ec727efada8af9a2fd5de621829373ec14ca6dd53f1fb76b769ed2e424cdc9cdef03a02162b635b56670db8627f +DIST microsoft.netframework.referenceassemblies.net461.1.0.3.nupkg 20140575 BLAKE2B 9ed2a7674a3790b868e961452d6013a1c5023c6a4c707834167ca9351004e4cc2ee93128cd1e52d0a58915d1e7154dbca7b83eaed9288ed88cfb0b6027ec3e2f SHA512 b717dcc15dab52be03c6bd2bda353adfb0ecc785bd5a8d4fc47239a1324f46c4ac187595d902d2ef90c69bbbc9d9eeec97d04c6599f5ef8feba374833bfa01c6 +DIST microsoft.netframework.referenceassemblies.net472.1.0.3.nupkg 20790130 BLAKE2B 999c125813f55751abb2b05862b783c4c4aa634ecdd29b640649dfd51892649b8f3dc2fa702e8b97026d7bdff2bf052ccc794dbfb2881bde994d14f5beaf27b0 SHA512 3ef64aa456edb31b49062ea1272cedfe268aef5a8676ef66355a494f8dfe8b55a9db7ca6e7b615b9023e0449ceffdf4ada9c4f304818b73eb69fbc99144822d8 +DIST netstandard.library.2.0.3.nupkg 3146139 BLAKE2B 311e5367398f76c74e78930bc2cd39e450a86bd8626311ded8d58bd84c94a8a84db3c11b2bc10f3eeba20a9d081fe7827981f702ad746b49ae3108c949ba1022 SHA512 e78f0cea69c14895b1b089644077dbce8631a626055d96522f4d29e061d8bfc3e48aa1419e74faf265b998612c03f721f5f0cef4690f824150a5689764dee601 +DIST nxports.1.1.0.nupkg 916576 BLAKE2B 58c82b138927babdb8eaba10c97583970a7752f04f7efde6726e706831843d9fe2cf1bd673db0dc43daf7eb3f8a31ba547855c160e76991ea05fffe02daf16ed SHA512 922b587a3573f58be6a82adb1fcf1887be6fdeecdd7818899fd92a6d72d247544254ee721b707b82b14b734411dd649409bb101af2d9b6c80018454109f6ae03 diff --git a/dev-python/clr-loader/clr-loader-0.2.9.ebuild b/dev-python/clr-loader/clr-loader-0.2.9.ebuild new file mode 100644 index 000000000000..98a62bd84757 --- /dev/null +++ b/dev-python/clr-loader/clr-loader-0.2.9.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{13..14} ) + +DOTNET_PKG_COMPAT="10.0" +NUGETS=" +microsoft.netcore.platforms@1.1.0 +microsoft.netframework.referenceassemblies.net461@1.0.0 +microsoft.netframework.referenceassemblies.net461@1.0.3 +microsoft.netframework.referenceassemblies.net472@1.0.3 +microsoft.netframework.referenceassemblies@1.0.0 +microsoft.netframework.referenceassemblies@1.0.3 +netstandard.library@2.0.3 +nxports@1.1.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/ + https://pypi.org/project/clr_loader/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/pythonnet/${PN}" +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' + + # Fails. + 'tests/test_common.py::test_coreclr_properties' +) + +distutils_enable_tests pytest + +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 + + +Major + + +EOF + nuget_writeconfig "$(pwd)/" + + distutils-r1_src_prepare +} + +src_configure() { + dotnet-pkg_src_configure + distutils-r1_src_configure +} diff --git a/dev-python/clr-loader/clr-loader-0.3.1.ebuild b/dev-python/clr-loader/clr-loader-0.3.1.ebuild new file mode 100644 index 000000000000..aa202490ad2e --- /dev/null +++ b/dev-python/clr-loader/clr-loader-0.3.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{13..14} ) + +DOTNET_PKG_COMPAT="10.0" +NUGETS=" +microsoft.netcore.platforms@1.1.0 +microsoft.netframework.referenceassemblies.net461@1.0.0 +microsoft.netframework.referenceassemblies.net461@1.0.3 +microsoft.netframework.referenceassemblies.net472@1.0.3 +microsoft.netframework.referenceassemblies@1.0.0 +microsoft.netframework.referenceassemblies@1.0.3 +netstandard.library@2.0.3 +nxports@1.1.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/ + https://pypi.org/project/clr_loader/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/pythonnet/${PN}" +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' + + # Fails. + 'tests/test_common.py::test_coreclr_properties' +) +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +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 + + +Major + + +EOF + nuget_writeconfig "$(pwd)/" + + distutils-r1_src_prepare +} + +src_configure() { + dotnet-pkg_src_configure + distutils-r1_src_configure +} diff --git a/dev-python/clr-loader/metadata.xml b/dev-python/clr-loader/metadata.xml new file mode 100644 index 000000000000..a5860f61dba1 --- /dev/null +++ b/dev-python/clr-loader/metadata.xml @@ -0,0 +1,17 @@ + + + + + dotnet@gentoo.org + Gentoo Dotnet Project + + + clr_loader provides a unified way to load one of the CLR (.NET) runtime + implementations (.NET Framework, .NET (Core) or Mono), load assemblies, and + call very simple functions. + + + https://github.com/pythonnet/clr-loader/issues/ + + baldeagleos-repo + -- cgit v1.3