diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-23 01:22:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-23 01:22:49 +0000 |
| commit | 0ad39929b41c7e499bcb9cd0cd5b41882d028bd8 (patch) | |
| tree | d0eae02196606e94357bec44cbfad373c0699ee1 /dev-python | |
| parent | 4381a25db125aae08fc6d5d9ceeb18a6310d09c2 (diff) | |
| download | baldeagleos-repo-0ad39929b41c7e499bcb9cd0cd5b41882d028bd8.tar.gz baldeagleos-repo-0ad39929b41c7e499bcb9cd0cd5b41882d028bd8.tar.xz baldeagleos-repo-0ad39929b41c7e499bcb9cd0cd5b41882d028bd8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/fastjsonschema/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fastjsonschema/fastjsonschema-2.17.1.ebuild | 25 | ||||
| -rw-r--r-- | dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch | 46 | ||||
| -rw-r--r-- | dev-python/pip/files/pip-20.0.2-disable-system-install.patch | 29 | ||||
| -rw-r--r-- | dev-python/pip/files/pip-22.2.1-no-coverage.patch | 52 | ||||
| -rw-r--r-- | dev-python/pulsectl/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pulsectl/pulsectl-23.5.2.ebuild | 30 |
7 files changed, 57 insertions, 127 deletions
diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 0052e0e8a78f..aea0051645b4 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1,2 +1,3 @@ DIST fastjsonschema-2.17.0.tar.gz 370871 BLAKE2B 9d5f16dba7c8519d5bb4853188ba982e06b39a2c1689963ef3aec39e2d48cccbba7ba9ab93cf1b54a06f4e8107917acdb31b076f44b7baf9e9a432256a2f2844 SHA512 ee19945c489b9d4fd23a0a348ec13f321705e93e1367c04003c41b86abd92da2ac73ca6dcd46a9eba0b8b72e8ba899a00939d8a56059fd04eac4300e20589551 +DIST fastjsonschema-2.17.1.tar.gz 370651 BLAKE2B 670e3b911200573ac129938834f9c072702e3f3d62e4ac95c7b77694d9cda54e4430601955c13998ff5abfe1db66a3d3e2bba9561292cb5c9d1df2470194eaee SHA512 482b13ee6735f5bb21528ec76a423c8c1dff2604af83121d82db45ce0cf514401b25cf6a1406c74f579671fe425ef1535d28c8b0b7fc24d32fcf50f2be1e28bf DIST python-fastjsonschema-2.16.3.gh.tar.gz 392011 BLAKE2B 04990592a2bf6e1309bf725361ef7c2e253c4765c5b9d60805c5e6189f14885a3b0bae98945c2fe228adc335ca8c8c0a243b283b24fa447238d6415d439288e2 SHA512 2e26f31f9c6966e77f70b8ca584e672d554219b6bbb4811e3ac8dff1c693b2638ef08b8b9011e0db6f739be02e2f41a35d15bcfc42a9cb06ddb4521e51f37d8a diff --git a/dev-python/fastjsonschema/fastjsonschema-2.17.1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.17.1.ebuild new file mode 100644 index 000000000000..22afe129bc9e --- /dev/null +++ b/dev-python/fastjsonschema/fastjsonschema-2.17.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast JSON schema validator for Python" +HOMEPAGE=" + https://github.com/horejsek/python-fastjsonschema/ + https://pypi.org/project/fastjsonschema/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/benchmarks +) diff --git a/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch b/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch deleted file mode 100644 index 22b2910d4d10..000000000000 --- a/dev-python/ipyparallel/files/ipyparallel-8.3.0-additional-test-timeouts.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://bugs.gentoo.org/834198 - -diff --git a/ipyparallel/tests/test_view.py b/ipyparallel/tests/test_view.py -index 5b5ca41..4c04d02 100644 ---- a/ipyparallel/tests/test_view.py -+++ b/ipyparallel/tests/test_view.py -@@ -628,7 +628,7 @@ class TestView(ClusterTestCase): - """exceptions in execute requests raise appropriately""" - view = self.client[-1] - ar = view.execute("1/0") -- self.assertRaisesRemote(ZeroDivisionError, ar.get, 2) -+ self.assertRaisesRemote(ZeroDivisionError, ar.get, 20) - - def test_remoteerror_render_exception(self): - """RemoteErrors get nice tracebacks""" -@@ -637,7 +637,7 @@ class TestView(ClusterTestCase): - ip = get_ipython() - ip.user_ns['ar'] = ar - with capture_output() as io: -- ip.run_cell("ar.get(2)") -+ ip.run_cell("ar.get(20)") - - self.assertTrue('ZeroDivisionError' in io.stdout, io.stdout) - -@@ -649,7 +649,7 @@ class TestView(ClusterTestCase): - ip.user_ns['ar'] = ar - - with capture_output() as io: -- ip.run_cell("ar.get(2)") -+ ip.run_cell("ar.get(20)") - - count = min(error.CompositeError.tb_limit, len(view)) - -@@ -689,10 +689,10 @@ class TestView(ClusterTestCase): - view = self.client[-1] - ar = view.execute("%pylab inline") - # at least check if this raised: -- reply = ar.get(5) -+ reply = ar.get(50) - # include imports, in case user config - ar = view.execute("plot(rand(100))", silent=False) -- reply = ar.get(5) -+ reply = ar.get(50) - assert ar.wait_for_output(5) - self.assertEqual(len(reply.outputs), 1) - output = reply.outputs[0] diff --git a/dev-python/pip/files/pip-20.0.2-disable-system-install.patch b/dev-python/pip/files/pip-20.0.2-disable-system-install.patch deleted file mode 100644 index e0b0034e407a..000000000000 --- a/dev-python/pip/files/pip-20.0.2-disable-system-install.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3aee04cbb93c0e479b040e682b2aef676629c9a2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 1 Feb 2020 09:14:46 +0100 -Subject: [PATCH] install: Raise an error to avoid breaking python-exec - -Running pip without --target, --prefix, --root, or --user will result -in packages being installed systemwide. This has a tendency to break -python-exec if setuptools gets installed or upgraded. ---- - src/pip/_internal/commands/install.py | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py -index 8c2c32fd..41bac878 100644 ---- a/src/pip/_internal/commands/install.py -+++ b/src/pip/_internal/commands/install.py -@@ -238,6 +238,9 @@ class InstallCommand(RequirementCommand): - if options.upgrade: - upgrade_strategy = options.upgrade_strategy - -+ if not options.use_user_site and not options.target_dir and not options.root_path and not options.prefix_path and not os.getenv('GENTOO_PIP_TESTING'): -+ raise CommandError("(Gentoo) Please run pip with the --user option to avoid breaking python-exec") -+ - cmdoptions.check_dist_restriction(options, check_target=True) - - install_options = options.install_options or [] --- -2.28.0 - diff --git a/dev-python/pip/files/pip-22.2.1-no-coverage.patch b/dev-python/pip/files/pip-22.2.1-no-coverage.patch deleted file mode 100644 index bd9523956ca8..000000000000 --- a/dev-python/pip/files/pip-22.2.1-no-coverage.patch +++ /dev/null @@ -1,52 +0,0 @@ -From fe4438ee999938da3b6f67b4dd53d6676d67c3e7 Mon Sep 17 00:00:00 2001 -From: Arthur Zamarin <arthurzam@gentoo.org> -Date: Fri, 29 Jul 2022 14:06:03 +0300 -Subject: [PATCH] Disable coverage testing support inside test venvs - ---- - tests/conftest.py | 15 --------------- - 1 file changed, 15 deletions(-) - -diff --git a/tests/conftest.py b/tests/conftest.py -index c9ab292..e7c14df 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -403,13 +403,6 @@ def wheel_install(tmpdir_factory: pytest.TempPathFactory, common_wheels: Path) - - return _common_wheel_editable_install(tmpdir_factory, common_wheels, "wheel") - - --@pytest.fixture(scope="session") --def coverage_install( -- tmpdir_factory: pytest.TempPathFactory, common_wheels: Path --) -> Path: -- return _common_wheel_editable_install(tmpdir_factory, common_wheels, "coverage") -- -- - def install_pth_link( - venv: VirtualEnvironment, project_name: str, lib_dir: Path - ) -> None: -@@ -424,7 +417,6 @@ def virtualenv_template( - tmpdir_factory: pytest.TempPathFactory, - pip_src: Path, - setuptools_install: Path, -- coverage_install: Path, - ) -> Iterator[VirtualEnvironment]: - - venv_type: VirtualEnvironmentType -@@ -451,13 +443,6 @@ def virtualenv_template( - [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], cwd=pip_editable - ) - -- # Install coverage and pth file for executing it in any spawned processes -- # in this virtual environment. -- install_pth_link(venv, "coverage", coverage_install) -- # zz prefix ensures the file is after easy-install.pth. -- with open(venv.site / "zz-coverage-helper.pth", "a") as f: -- f.write("import coverage; coverage.process_startup()") -- - # Drop (non-relocatable) launchers. - for exe in os.listdir(venv.bin): - if not ( --- -2.35.1 - diff --git a/dev-python/pulsectl/Manifest b/dev-python/pulsectl/Manifest index 34929a518307..b18765a3509d 100644 --- a/dev-python/pulsectl/Manifest +++ b/dev-python/pulsectl/Manifest @@ -1,2 +1,3 @@ DIST pulsectl-22.3.2.tar.gz 40901 BLAKE2B 5b3eb752865e95cfbb70a7228409fea70b4c55c7297d652b4614df7ea4764dcb446f7a3e25bb89f6a55badbf6b300381c7c28c56f0a47e7faf1e63003f39d02c SHA512 7fc11c792a9e586d191a32831e0ef8896c40da1fdeddfd4467d7ec352e5e0ef0c910d7a2e8e82e1a381b16afefa17c9c9db4821be74d4694c934337b2a862f0c DIST pulsectl-23.5.1.tar.gz 41131 BLAKE2B 4e24a0d79d2f5c5a365a23643019150693862a636115a0fcf26dbc64cf9d80a8637c1f03193f8d2513660e8f5268946ef287d01b93b7fd3a416dbb05b2c619f0 SHA512 69516e1d64cb2e27643de6fcb273b621ab89a03dd5c40eb71a7fa6b846da96f8f10baacf794c73edc3f60f65787c7050c16c234aa5b23169c2d5ae815232372a +DIST pulsectl-23.5.2.tar.gz 41119 BLAKE2B 45239e9b6b3e19356f7c89acb673d9287e9e38099608e246c8334a5de82bf93d813688e376cf5aedb92e6b3368ce93bae1df630726a5ae568c83d774c942f848 SHA512 4f05edd994aac1964c358c50a95f564afb40fcc6ac410d5189525312c042057954d040dc41939b665347a39453244eccc138c4c7d628ef2da62034606716ecb9 diff --git a/dev-python/pulsectl/pulsectl-23.5.2.ebuild b/dev-python/pulsectl/pulsectl-23.5.2.ebuild new file mode 100644 index 000000000000..aa8477559fca --- /dev/null +++ b/dev-python/pulsectl/pulsectl-23.5.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)" +HOMEPAGE=" + https://github.com/mk-fg/python-pulse-control/ + https://pypi.org/project/pulsectl/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + media-sound/pulseaudio +" +BDEPEND=" + test? ( + media-sound/pulseaudio-daemon + ) +" + +distutils_enable_tests unittest |
