diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-python/vine | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/vine')
| -rw-r--r-- | dev-python/vine/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/vine/files/vine-5.1.0-pytest-8.patch | 29 | ||||
| -rw-r--r-- | dev-python/vine/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/vine/vine-5.1.0.ebuild | 26 |
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/vine/Manifest b/dev-python/vine/Manifest new file mode 100644 index 000000000000..1cfa8c194621 --- /dev/null +++ b/dev-python/vine/Manifest @@ -0,0 +1 @@ +DIST vine-5.1.0.tar.gz 48980 BLAKE2B e46a85582df4bdb6bddbe37ccc2511b5361cfcdd8210f81fe3064a41cb683e34b5a4e2d0539989246f60332e5fbf4b3dcca6a05e2a20a75af4927fd9bbe4b736 SHA512 899a494d26ce8236ba12451e8da42fad03803df0a9cf69829f650c23c0d4f6232b9246230fd984fa6616edbad8b2c08f0efe95e3692bee756dfc094f14e3432d diff --git a/dev-python/vine/files/vine-5.1.0-pytest-8.patch b/dev-python/vine/files/vine-5.1.0-pytest-8.patch new file mode 100644 index 000000000000..f9cf0863b062 --- /dev/null +++ b/dev-python/vine/files/vine-5.1.0-pytest-8.patch @@ -0,0 +1,29 @@ +From cf9b3979173ff22a4a410c4da6cfdad878eced8c Mon Sep 17 00:00:00 2001 +From: Stanislav Levin <slev@altlinux.org> +Date: Tue, 27 Feb 2024 23:53:38 +0300 +Subject: [PATCH] tests: Replace deprecated setup method (#105) + +Nose's `setup` method is deprecated since Pytest 7.2. + +See https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose for details. + +Fixes: https://github.com/celery/vine/issues/104 + +Signed-off-by: Stanislav Levin <slev@altlinux.org> +--- + t/unit/test_synchronization.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/unit/test_synchronization.py b/t/unit/test_synchronization.py +index 87335b6..47b7a10 100644 +--- a/t/unit/test_synchronization.py ++++ b/t/unit/test_synchronization.py +@@ -8,7 +8,7 @@ + + class test_barrier: + +- def setup(self): ++ def setup_method(self): + self.m1, self.m2, self.m3 = Mock(), Mock(), Mock() + self.ps = [promise(self.m1), promise(self.m2), promise(self.m3)] + diff --git a/dev-python/vine/metadata.xml b/dev-python/vine/metadata.xml new file mode 100644 index 000000000000..31b17c9369c5 --- /dev/null +++ b/dev-python/vine/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/vine/vine-5.1.0.ebuild b/dev-python/vine/vine-5.1.0.ebuild new file mode 100644 index 000000000000..e833eb3ee158 --- /dev/null +++ b/dev-python/vine/vine-5.1.0.ebuild @@ -0,0 +1,26 @@ +# 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 pypi + +DESCRIPTION="Python Promises" +HOMEPAGE=" + https://github.com/celery/vine/ + https://pypi.org/project/vine/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm64 x86" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/celery/vine/pull/105 + "${FILESDIR}/${P}-pytest-8.patch" +) |
