From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-python/logical-unification/Manifest | 1 - .../files/logical-unification-0.4.7-py314.patch | 40 ------------------ .../logical-unification-0.4.7.ebuild | 49 ---------------------- dev-python/logical-unification/metadata.xml | 13 ------ 4 files changed, 103 deletions(-) delete mode 100644 dev-python/logical-unification/Manifest delete mode 100644 dev-python/logical-unification/files/logical-unification-0.4.7-py314.patch delete mode 100644 dev-python/logical-unification/logical-unification-0.4.7.ebuild delete mode 100644 dev-python/logical-unification/metadata.xml (limited to 'dev-python/logical-unification') diff --git a/dev-python/logical-unification/Manifest b/dev-python/logical-unification/Manifest deleted file mode 100644 index d031492dcd26..000000000000 --- a/dev-python/logical-unification/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST logical-unification-0.4.7.gh.tar.gz 24199 BLAKE2B be69254f85cfd7ce00624bb34bcfcf888e1a9b1861fd32d0b0072cc43a133f535f4fdd495ab2635769db048ad8568dd2c94fbc3db284a7603d2fc2c1514457df SHA512 77f5633a9d78fa7320a8e23f0fe5132ac33e5ba91601e4e5477ee4b1d363e54aa238312ee0afc49393d6f1aa186b1b9be8e1bc89fbbcefa33a789255f6e67471 diff --git a/dev-python/logical-unification/files/logical-unification-0.4.7-py314.patch b/dev-python/logical-unification/files/logical-unification-0.4.7-py314.patch deleted file mode 100644 index 141e06a9863d..000000000000 --- a/dev-python/logical-unification/files/logical-unification-0.4.7-py314.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 4f2c7605a30efb1cf0b3b35e367ac56492918684 Mon Sep 17 00:00:00 2001 -From: "Brandon T. Willard" -Date: Tue, 24 Feb 2026 15:30:19 -0600 -Subject: [PATCH] Update ast.Num to ast.Constant - -Closes #48 ---- - tests/test_more.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/tests/test_more.py b/tests/test_more.py -index 440c1be..081eaf8 100644 ---- a/tests/test_more.py -+++ b/tests/test_more.py -@@ -33,9 +33,9 @@ def test_unify_object(): - def test_unify_nonstandard_object(): - _unify.add((ast.AST, ast.AST, Mapping), _unify_object) - x = var() -- assert unify(ast.Num(n=1), ast.Num(n=1), {}) == {} -- assert unify(ast.Num(n=1), ast.Num(n=2), {}) is False -- assert unify(ast.Num(n=1), ast.Num(n=x), {}) == {x: 1} -+ assert unify(ast.Constant(n=1), ast.Constant(n=1), {}) == {} -+ assert unify(ast.Constant(n=1), ast.Constant(n=2), {}) is False -+ assert unify(ast.Constant(n=1), ast.Constant(n=x), {}) == {x: 1} - - - def test_reify_object(): -@@ -51,9 +51,9 @@ def test_reify_object(): - def test_reify_nonstandard_object(): - _reify.add((ast.AST, Mapping), _reify_object) - x = var() -- assert reify(ast.Num(n=1), {}).n == 1 -- assert reify(ast.Num(n=x), {}).n == x -- assert reify(ast.Num(n=x), {x: 2}).n == 2 -+ assert reify(ast.Constant(n=1), {}).n == 1 -+ assert reify(ast.Constant(n=x), {}).n == x -+ assert reify(ast.Constant(n=x), {x: 2}).n == 2 - - - def test_reify_slots(): diff --git a/dev-python/logical-unification/logical-unification-0.4.7.ebuild b/dev-python/logical-unification/logical-unification-0.4.7.ebuild deleted file mode 100644 index bfec6b88fd91..000000000000 --- a/dev-python/logical-unification/logical-unification-0.4.7.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-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} ) - -inherit distutils-r1 - -DESCRIPTION="Logical unification in Python" -HOMEPAGE=" - https://pypi.org/project/logical-unification/ - https://github.com/pythological/unification/ -" -# No tests in sdist, as of 0.4.6 -SRC_URI=" - https://github.com/pythological/unification/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/unification-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86" - -RDEPEND=" - dev-python/multipledispatch[${PYTHON_USEDEP}] - dev-python/toolz[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pythological/unification/commit/4f2c7605a30efb1cf0b3b35e367ac56492918684 - "${FILESDIR}/${P}-py314.patch" -) - -EPYTEST_DESELECT=( - tests/test_benchmarks.py - # weird test for testing limits of runtime - tests/test_core.py::test_reify_recursion_limit -) - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/logical-unification/metadata.xml b/dev-python/logical-unification/metadata.xml deleted file mode 100644 index 76b0b41c7d50..000000000000 --- a/dev-python/logical-unification/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - python@gentoo.org - Python - - - - logical-unification - pythological/unification - - -- cgit v1.3