summaryrefslogtreecommitdiff
path: root/dev-python/chai
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/chai')
-rw-r--r--dev-python/chai/Manifest4
-rw-r--r--dev-python/chai/chai-1.1.2.ebuild19
-rw-r--r--dev-python/chai/files/chai-1.1.2-drop-Python2.patch30
-rw-r--r--dev-python/chai/metadata.xml12
4 files changed, 0 insertions, 65 deletions
diff --git a/dev-python/chai/Manifest b/dev-python/chai/Manifest
deleted file mode 100644
index 755cc9daac09..000000000000
--- a/dev-python/chai/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX chai-1.1.2-drop-Python2.patch 915 BLAKE2B df25014f5b067205d3506d420c0dc4925e17ca893212f46f29278738f5d008b9ec34eaa07090af33f22255538d50de49fabf4803edd7b6827b26a6cdd07f44ed SHA512 8278c76ad76c68c7a5cfab6bcbcf7a9b690c736d8377a05c9764f368f32b4804e980700cc7299cd758439168e222b0971f97a02bb99d936d511f648f3400fd30
-DIST chai-1.1.2.tar.gz 107807 BLAKE2B 6cedd108f7275c3dd03167c7ad49695d95c27e1b0c752247e170996f001c7690cede7c7ac8de8e374077ea9802534b8386b0bd2da7197f0a47085ad9f9e470fc SHA512 81191b11a8c5c6bd1fbb0c43fe7855d6e6d9be54b4d0ddc42582a23b9df03249a91ba8ca50b5b74e76aab73a101377624e041b6c47ea6cba5267d4b58eaf77e5
-EBUILD chai-1.1.2.ebuild 464 BLAKE2B dfb7c043c116cf8c6d1a10d12445f04458b11df734a6cd9fb11de30cf54953d32123729a5d10c1bbddd79b5c75c89154cf27a43de1ee351b6553168cc4c4244f SHA512 4bbc86b1ca85cafa3c6fcac29be7a60194f95b8551d7654bb531660a58af8094156b7875ebc389adf2e25bfbd3f0ab6a239977c12e61a1c9cfbd7c6d19ae3dde
-MISC metadata.xml 363 BLAKE2B 9879d3fd7a3e6e379038e8ee6bd366482a1cc2d56b3adefa4a01c86eda1bfcae7f77a4fbd004828947f1b32d6ef49bd8d1ab01081823f0b7252bd90d4c38a22f SHA512 26d648c5dc8adc87c083fc173e6ec598e6b4b6dfd33a7e7a757bbd2d3dc5a3037abe0cc704312483c46ab3853ac22b3535a52546acad70732b291ffb8cac58f1
diff --git a/dev-python/chai/chai-1.1.2.ebuild b/dev-python/chai/chai-1.1.2.ebuild
deleted file mode 100644
index 7358d7bf3d5a..000000000000
--- a/dev-python/chai/chai-1.1.2.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-inherit distutils-r1
-
-DESCRIPTION="Easy to use mocking, stubbing and spying framework"
-HOMEPAGE="https://github.com/agoragames/chai"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-PATCHES=( "${FILESDIR}"/${P}-drop-Python2.patch )
-
-distutils_enable_tests nose
diff --git a/dev-python/chai/files/chai-1.1.2-drop-Python2.patch b/dev-python/chai/files/chai-1.1.2-drop-Python2.patch
deleted file mode 100644
index 82e8b78b2424..000000000000
--- a/dev-python/chai/files/chai-1.1.2-drop-Python2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/chai/chai.py
-+++ b/chai/chai.py
-@@ -62,11 +62,6 @@
- try:
- func(self, *args, **kwargs)
- except UnexpectedCall as e:
-- # if this is not python3, use python2 syntax
-- if not hasattr(e, '__traceback__'):
-- from .python2 import reraise
-- reraise(
-- AssertionError, '\n\n' + str(e), sys.exc_info()[-1])
- exc = AssertionError('\n\n' + str(e))
- setattr(exc, '__traceback__', sys.exc_info()[-1])
- raise exc
---- a/chai/python2.py
-+++ b/chai/python2.py
-@@ -1,3 +0,0 @@
--
--def reraise(exc, msg, traceback):
-- raise exc, msg, traceback
---- a/chai.egg-info/SOURCES.txt
-+++ b/chai.egg-info/SOURCES.txt
-@@ -10,7 +10,6 @@
- chai/exception.py
- chai/expectation.py
- chai/mock.py
--chai/python2.py
- chai/spy.py
- chai/stub.py
- chai.egg-info/PKG-INFO
diff --git a/dev-python/chai/metadata.xml b/dev-python/chai/metadata.xml
deleted file mode 100644
index 5049f060a604..000000000000
--- a/dev-python/chai/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="github">agoragames/chai</remote-id>
- <remote-id type="pypi">chai</remote-id>
- </upstream>
-</pkgmetadata>