diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/jsonrpclib | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/jsonrpclib')
| -rw-r--r-- | dev-python/jsonrpclib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild | 49 | ||||
| -rw-r--r-- | dev-python/jsonrpclib/jsonrpclib-9999.ebuild | 49 | ||||
| -rw-r--r-- | dev-python/jsonrpclib/metadata.xml | 10 |
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/jsonrpclib/Manifest b/dev-python/jsonrpclib/Manifest new file mode 100644 index 000000000000..511a84f3c05f --- /dev/null +++ b/dev-python/jsonrpclib/Manifest @@ -0,0 +1 @@ +DIST jsonrpclib-0.4.3.2.gh.tar.gz 63127 BLAKE2B 4301f23a981f00e78f88f78a8f5e8d776985fcd5d268373430b308cd9e2b07d5e1aaae9fa514640275439f4269ecf9ac5a2e42d5c96b870b72e37e4faea7c790 SHA512 718b9a8a49b6f936635ea8e500d16b8d3f42a28e44c4d0bb2bf1e648063ab1107edca93b4f178600a0b36d2e0584cf531f6e9721f5ed6967ea9a160c923103f3 diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild new file mode 100644 index 000000000000..45724a534b8e --- /dev/null +++ b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git" + inherit git-r3 +else + SRC_URI=" + https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="amd64 arm arm64 ~mips x86" +fi + +DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" +HOMEPAGE=" + https://github.com/tcalmant/jsonrpclib/ + https://pypi.org/project/jsonrpclib/ +" + +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND=" + test? ( + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest + + # NB: we need to run this test separately as it breaks + # tests/test_server.py::PooledServerTests + # see jsonlib.py, get_handler() + # the most preferred (first) lib that's in test deps + local -x JSONRPCLIB_TEST_EXPECTED_LIB=ujson + epytest tests/test_jsonlib.py::TestJsonLibLoading +} diff --git a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild new file mode 100644 index 000000000000..d93d8e75e48b --- /dev/null +++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git" + inherit git-r3 +else + SRC_URI=" + https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" +fi + +DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)" +HOMEPAGE=" + https://github.com/tcalmant/jsonrpclib/ + https://pypi.org/project/jsonrpclib/ +" + +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND=" + test? ( + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest + + # NB: we need to run this test separately as it breaks + # tests/test_server.py::PooledServerTests + # see jsonlib.py, get_handler() + # the most preferred (first) lib that's in test deps + local -x JSONRPCLIB_TEST_EXPECTED_LIB=ujson + epytest tests/test_jsonlib.py::TestJsonLibLoading +} diff --git a/dev-python/jsonrpclib/metadata.xml b/dev-python/jsonrpclib/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/dev-python/jsonrpclib/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
