summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-08 23:27:11 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-09 09:34:07 +0300
commit599c45a061bfe0d4aada5da435768814c0a70377 (patch)
tree074ac11cdafc54f78583b144aa949775dd43beef /dev-python/leather
parentdev-python/leather: add 0.3.4 (diff)
downloadgentoo-599c45a061bfe0d4aada5da435768814c0a70377.tar.gz
gentoo-599c45a061bfe0d4aada5da435768814c0a70377.tar.bz2
gentoo-599c45a061bfe0d4aada5da435768814c0a70377.zip
dev-python/leather: drop 0.3.3-r2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/leather')
-rw-r--r--dev-python/leather/Manifest1
-rw-r--r--dev-python/leather/files/leather-0.3.3-fix-py3.10.patch40
-rw-r--r--dev-python/leather/leather-0.3.3-r2.ebuild51
3 files changed, 0 insertions, 92 deletions
diff --git a/dev-python/leather/Manifest b/dev-python/leather/Manifest
index c91e23b5c9f7..e5864e33e632 100644
--- a/dev-python/leather/Manifest
+++ b/dev-python/leather/Manifest
@@ -1,2 +1 @@
-DIST leather-0.3.3-src.tar.gz 40522 BLAKE2B 3c7e6a48615751b310b7f066f2a78a2494e00256cae2ebfb4633c9389cca2477c2265fcf8c68f37733568ef729db1a5daf02ddc640bf2a60f2b39127c9a38d91 SHA512 30ea50ac6f97c55ee695b0e175a27e1e64fd17da7b0686ca8595fe0e5067932e19e59368fe6441f8f291ec52be3e597a80f8e04a3fcc0eeae33b3a5b3030e1d6
DIST leather-0.3.4.gh.tar.gz 41368 BLAKE2B a1181da5904234677290134726da33a71e0f37e6f0161beb0ec7a73efca1b2b26e973221f2f42b72fd2640ef503a8adc905273885deef212ee9d1aae6d91f804 SHA512 0547adf5d455afe9397cf9c597cc7edbcdbe25bb56e32d764c67119bfe1329d959834f2a41720adb51ec926065e044feb27f7a5e3f800c8636a22d4f96752212
diff --git a/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch b/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch
deleted file mode 100644
index 8ec9e1767a4f..000000000000
--- a/dev-python/leather/files/leather-0.3.3-fix-py3.10.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 5dd1d3cc82d426388c66db8e3761ca2bf99a3991 Mon Sep 17 00:00:00 2001
-From: Brian <brian@quantrocket.com>
-Date: Fri, 27 Mar 2020 17:08:50 -0400
-Subject: [PATCH] import from collections.abc to suppress python 3.7 warning
-
----
- leather/series/base.py | 5 ++++-
- leather/series/category.py | 5 ++++-
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/leather/series/base.py b/leather/series/base.py
-index c5790e5..959e827 100644
---- a/leather/series/base.py
-+++ b/leather/series/base.py
-@@ -1,6 +1,9 @@
- #!/usr/bin/env python
-
--from collections import Iterable, Sequence, Mapping
-+try:
-+ from collections.abc import Iterable, Sequence, Mapping
-+except ImportError:
-+ from collections import Iterable, Sequence, Mapping
- from functools import partial
-
- import six
-diff --git a/leather/series/category.py b/leather/series/category.py
-index c575308..3678377 100644
---- a/leather/series/category.py
-+++ b/leather/series/category.py
-@@ -1,6 +1,9 @@
- #!/usr/bin/env python
-
--from collections import Iterable, Sequence, Mapping
-+try:
-+ from collections.abc import Iterable, Sequence, Mapping
-+except ImportError:
-+ from collections import Iterable, Sequence, Mapping
- from functools import partial
-
- import six
diff --git a/dev-python/leather/leather-0.3.3-r2.ebuild b/dev-python/leather/leather-0.3.3-r2.ebuild
deleted file mode 100644
index e2397fc3ccf7..000000000000
--- a/dev-python/leather/leather-0.3.3-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python charting for 80% of humans."
-HOMEPAGE="https://github.com/wireservice/leather https://pypi.org/project/leather/"
-SRC_URI="https://github.com/wireservice/leather/archive/refs/tags/${PV}.tar.gz -> ${P}-src.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+xml"
-
-# Other packages have BDEPEND="test? ( dev-python/leather[xml] )"
-TEST_AGAINST_RDEPEND="xml? ( dev-python/lxml[${PYTHON_USEDEP}] )"
-RDEPEND="
- ${TEST_AGAINST_RDEPEND}
- dev-python/cssselect[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-py3.10.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
- dev-python/sphinx_rtd_theme
-
-python_prepare_all() {
- local requirements_files sed_args
-
- sed_args=(
- -e '/coverage/d'
- -e '/lxml/d' # lxml is required only when leather is used as a test dependency
- -e '/nose/d'
- -e '/tox/d'
- -e '/Sphinx/d'
- -e '/sphinx_rtd_theme/d'
- -e '/unittest2/d'
- )
-
- requirements_files+=(requirements*.txt)
- sed "${sed_args[@]}" -i "${requirements_files[@]}" || die
- distutils-r1_python_prepare_all
-}