summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-27 21:06:05 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-27 21:09:48 +0100
commit6f01c62ccb9cf8ded7ceb2a11d71d4891db84da1 (patch)
tree9249773a68defa6827d1471d1bcafa0dd328b5dd /dev-python/python-varlink
parentdev-python/python-redmine: Remove old (diff)
downloadgentoo-6f01c62ccb9cf8ded7ceb2a11d71d4891db84da1.tar.gz
gentoo-6f01c62ccb9cf8ded7ceb2a11d71d4891db84da1.tar.bz2
gentoo-6f01c62ccb9cf8ded7ceb2a11d71d4891db84da1.zip
dev-python/python-varlink: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-varlink')
-rw-r--r--dev-python/python-varlink/Manifest1
-rw-r--r--dev-python/python-varlink/files/python-varlink-30.3.1-fix.py3.10.patch30
-rw-r--r--dev-python/python-varlink/python-varlink-30.3.1-r1.ebuild32
3 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/python-varlink/Manifest b/dev-python/python-varlink/Manifest
index f1b7f36c3397..1b7a34c31b1b 100644
--- a/dev-python/python-varlink/Manifest
+++ b/dev-python/python-varlink/Manifest
@@ -1,2 +1 @@
-DIST python-varlink-30.3.1.gh.tar.gz 39921 BLAKE2B d717eb662cd14fffd7620fb8f3eee5ae8431b77a437a783ba090802a26d0225439eb9305050863c85a6c33dbdd28709262858bf407a08333b177057304695c93 SHA512 13a0176694ee31121998a2dd88bf57d840ec20b0ccac63b574c4f12ef5c9bfbfbd67bdc7a8d362cd1c256e393d8c3691d1efc58aabaf8f5ec26067a55157a6cd
DIST python-varlink-31.0.0.gh.tar.gz 41003 BLAKE2B 3ffe5808ed130d09beabe545ff3437b6f91d74a35a7bf2a72eca854c77c7f8992f6d59c9f73428356cbb98f95b0af2950afd3bf3c6f9955b4f2b12524903d2c6 SHA512 3b8a9479c78a73793d56854b008fca7d041044314b6cf424326f9429c480b0b8561075ce6fa282c92b79ce75c2ec941249a65e9fb6a995510ede9dc064d6dcab
diff --git a/dev-python/python-varlink/files/python-varlink-30.3.1-fix.py3.10.patch b/dev-python/python-varlink/files/python-varlink-30.3.1-fix.py3.10.patch
deleted file mode 100644
index e85826f6bc0e..000000000000
--- a/dev-python/python-varlink/files/python-varlink-30.3.1-fix.py3.10.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 0a9014ad564131ee98dc8c4c1f9cc0c5e29d5dac Mon Sep 17 00:00:00 2001
-From: Arthur Zamarin <arthurzam@gentoo.org>
-Date: Fri, 20 Aug 2021 10:37:42 +0300
-Subject: [PATCH] Python3.10: fix import collections
-
-Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
----
- varlink/scanner.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/varlink/scanner.py b/varlink/scanner.py
-index d5a0e7b..58ced74 100644
---- a/varlink/scanner.py
-+++ b/varlink/scanner.py
-@@ -21,7 +21,11 @@ try:
- except: # Python 2
- from argparse import Namespace as SimpleNamespace
-
--from collections import (Set, OrderedDict, Mapping)
-+try:
-+ from collections.abc import (Set, Mapping)
-+ from collections import OrderedDict
-+except ImportError:
-+ from collections import (Set, OrderedDict, Mapping)
-
- from .error import (MethodNotFound, InvalidParameter)
-
---
-2.33.0
-
diff --git a/dev-python/python-varlink/python-varlink-30.3.1-r1.ebuild b/dev-python/python-varlink/python-varlink-30.3.1-r1.ebuild
deleted file mode 100644
index 1887e6264582..000000000000
--- a/dev-python/python-varlink/python-varlink-30.3.1-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
-
-DESCRIPTION="Python implementation of the Varlink protocol"
-HOMEPAGE="https://github.com/varlink/python"
-SRC_URI="
- https://github.com/varlink/python/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/python-${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix.py3.10.patch"
-)
-
-distutils_enable_tests unittest
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- sed -e '/setuptools_scm/d' -i setup.cfg || die
- sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
-}