summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-13 21:08:25 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-13 21:15:59 +0100
commit618dbb5eaaf88290af57dc7f1f9aaddd1e4ce97f (patch)
treeaeb8f73aa4ba13b42b37b61f0828f6e2d25c7af2 /dev-python/iniconfig
parentdev-python/soupsieve: Remove old (diff)
downloadgentoo-618dbb5eaaf88290af57dc7f1f9aaddd1e4ce97f.tar.gz
gentoo-618dbb5eaaf88290af57dc7f1f9aaddd1e4ce97f.tar.bz2
gentoo-618dbb5eaaf88290af57dc7f1f9aaddd1e4ce97f.zip
dev-python/iniconfig: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/iniconfig')
-rw-r--r--dev-python/iniconfig/Manifest1
-rw-r--r--dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch57
-rw-r--r--dev-python/iniconfig/iniconfig-1.0.0.ebuild25
3 files changed, 0 insertions, 83 deletions
diff --git a/dev-python/iniconfig/Manifest b/dev-python/iniconfig/Manifest
index 9834a43946fc..3aec5a70f66c 100644
--- a/dev-python/iniconfig/Manifest
+++ b/dev-python/iniconfig/Manifest
@@ -1,2 +1 @@
-DIST iniconfig-1.0.0.tar.gz 7807 BLAKE2B a77c4d8c6f549db911110505ac5a367be5175adbb580211d4aded14d1108e189fd6d6a229ac4e0e742baafa9b037d58c2bbc810897c8b274c07493c518ef752e SHA512 639a4e765637110f69627fb18a5e719b6d648e5549fd857168183d97da7880434d447c9af1e254dd2aa5d0e36cbd3f5c4ffabf8a949ed3d6294002e7e1b2f6e1
DIST iniconfig-1.1.1.tar.gz 8104 BLAKE2B 31301484887018a6aa75c944e2f8643f85b2433534ae46a8da893a113f2376eca14cbee88095a3784d1c52f26d4c748260c1df59c46b8f94cd342038f93242e8 SHA512 c9341db7e3ec2204b6a674fca7824cbeb492e3576d5ac3f084b234c82842b28f2f6acbfdb812e183f4334a95b990551f942a4caf548f5ce7ef14885f931535ee
diff --git a/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch b/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch
deleted file mode 100644
index f8fca367b342..000000000000
--- a/dev-python/iniconfig/files/iniconfig-1.0.0-pytest-5.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From da205253f0d78204900ec82b6cb2cb0afd9f1254 Mon Sep 17 00:00:00 2001
-From: Stanislav Levin <slev@altlinux.org>
-Date: Thu, 8 Aug 2019 19:43:12 +0300
-Subject: [PATCH] Fix Pytest 5 errors
-
-This fixes
-"""
-pytest.PytestDeprecationWarning: raises(..., 'code(as_a_string)')
-is deprecated, use the context manager form or use `exec()` directly.
-"""
-
-Fixes: https://github.com/RonnyPfannschmidt/iniconfig/issues/6
-Signed-off-by: Stanislav Levin <slev@altlinux.org>
----
- test_iniconfig.py | 12 +++++-------
- 1 file changed, 5 insertions(+), 7 deletions(-)
-
-diff --git a/test_iniconfig.py b/test_iniconfig.py
-index 27fd53f..fe12421 100644
---- a/test_iniconfig.py
-+++ b/test_iniconfig.py
-@@ -150,27 +150,25 @@ def test_iniconfig_from_file(tmpdir):
- assert list(config.sections) == ['metadata']
- config = IniConfig(path, "[diff]")
- assert list(config.sections) == ['diff']
-- py.test.raises(TypeError, "IniConfig(data=path.read())")
-+ with pytest.raises(TypeError):
-+ IniConfig(data=path.read())
-
-
- def test_iniconfig_section_first(tmpdir):
-- excinfo = py.test.raises(ParseError, """
-+ with pytest.raises(ParseError) as excinfo:
- IniConfig("x", data='name=1')
-- """)
- assert excinfo.value.msg == "no section header defined"
-
-
- def test_iniconig_section_duplicate_fails():
-- excinfo = py.test.raises(ParseError, r"""
-+ with pytest.raises(ParseError) as excinfo:
- IniConfig("x", data='[section]\n[section]')
-- """)
- assert 'duplicate section' in str(excinfo.value)
-
-
- def test_iniconfig_duplicate_key_fails():
-- excinfo = py.test.raises(ParseError, r"""
-+ with pytest.raises(ParseError) as excinfo:
- IniConfig("x", data='[section]\nname = Alice\nname = bob')
-- """)
-
- assert 'duplicate name' in str(excinfo.value)
-
---
-2.28.0
-
diff --git a/dev-python/iniconfig/iniconfig-1.0.0.ebuild b/dev-python/iniconfig/iniconfig-1.0.0.ebuild
deleted file mode 100644
index 89b47a779d41..000000000000
--- a/dev-python/iniconfig/iniconfig-1.0.0.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..9} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="Brain-dead simple config-ini parsing"
-HOMEPAGE="
- https://github.com/RonnyPfannschmidt/iniconfig
- "
-SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos"
-
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-pytest-5.patch
-)