commit: f7ef746d3c03b89c9649c418d2f4d4f06303d807
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 8 16:12:26 2017 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sun Oct 8 16:24:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ef746d
dev-python/chardet: remove old
dev-python/chardet/Manifest | 3 --
dev-python/chardet/chardet-2.3.0.ebuild | 20 ----------
dev-python/chardet/chardet-3.0.2.ebuild | 38 -------------------
dev-python/chardet/chardet-3.0.3.ebuild | 40 --------------------
.../chardet/files/disable-pytest-runner.patch | 44 ----------------------
5 files changed, 145 deletions(-)
diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest
index f7ad10b570b..b6ea68331dd 100644
--- a/dev-python/chardet/Manifest
+++ b/dev-python/chardet/Manifest
@@ -1,4 +1 @@
-DIST chardet-2.3.0.tar.gz 164346 SHA256
e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa SHA512
d554c9b4564905a2b6c6971aaea2a812174d86b58137c6a2f9d54e2abd2395e6529968b2ce3ca2d97c717d2bd0bd80ab5b98cae9afac1a4add9ea305145030dd
WHIRLPOOL
af17bac2778a86d6fe9643a512a307cbcf92e4b43238b2d3d2bae53e646fccbdf40f31f41f9452e7d4f4c84d1ee637199af841a828d49f3452190749fee284c1
-DIST chardet-3.0.2.tar.gz 1872630 SHA256
3b92afd82ddea09d30832fac141840d6569c34f27633e4ad273c66172246116f SHA512
9466e8bdd4d49ca51664fefa170e2887bebf17d017d49056a0efe9baef4dc58e2a9e0766d41c1fcb06254e1346021d1d86b1eb55d4b71a061da93ea830f1dfce
WHIRLPOOL
4010a838619b3f04d1266bdee49e26169724f1c83c38a3a9cc081fc8f2166e46ecf9544bc25e276a7dec4af7a64f469a74aabc8ecdc745fd10d364db331ee704
-DIST chardet-3.0.3.tar.gz 1872668 SHA256
99cc5d0c13fb0ec02bc4c8a35b35ff698ba1ebdb6d065b53276f0d10d59c2cdc SHA512
7769d80178fb9ded7f04c32969da1a73938b04ffcc9d8de2e593135731e29fbf1e2c21e39ca92d3789e08c9a800f9ec0aafc3c1d12580f4f1efb82e697700264
WHIRLPOOL
9ab8951cdcc69cc05974e67c421a5524bbdf18c96a5f272502b4ae22583520cbc7a82eb499de67cc5aac846af9db1279bc27581f3ce0afd73de2ead861663268
DIST chardet-3.0.4.tar.gz 1872214 SHA256
d5620025cfca430f6c2e28ddbc87c3c66a5c82fa65570ae975c92911c2190189 SHA512
b433ea0e15e200df968e6d61c671c42fbd77e519eb033035c4a5c241e1f98e1dfaea6747af632788507583b3ef85b00d510b3f6ef5cf58589ceca1b3a088b357
WHIRLPOOL
cece99a2ed4a48f66232efc5d91ce228fcd83d3012a90099054bf214ad6f39e2b6250b139fb21b66469ccfd5b4bf8845846b50097f6fffda74c39fb742198355
diff --git a/dev-python/chardet/chardet-2.3.0.ebuild
b/dev-python/chardet/chardet-2.3.0.ebuild
deleted file mode 100644
index 709c76a767c..00000000000
--- a/dev-python/chardet/chardet-2.3.0.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Universal encoding detector"
-HOMEPAGE="https://github.com/chardet/chardet
https://pypi.python.org/pypi/chardet"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh
sparc x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
diff --git a/dev-python/chardet/chardet-3.0.2.ebuild
b/dev-python/chardet/chardet-3.0.2.ebuild
deleted file mode 100644
index 93934bd438a..00000000000
--- a/dev-python/chardet/chardet-3.0.2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Universal encoding detector"
-HOMEPAGE="https://github.com/chardet/chardet
https://pypi.python.org/pypi/chardet"
-# SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-# PyPI tarball is missing test.py: https://github.com/chardet/chardet/pull/118
-SRC_URI="https://github.com/chardet/chardet/archive/${PV}.tar.gz ->
${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390
~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos
~x86-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/hypothesis[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/disable-pytest-runner.patch
-)
-
-python_test() {
- py.test -v || die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/chardet/chardet-3.0.3.ebuild
b/dev-python/chardet/chardet-3.0.3.ebuild
deleted file mode 100644
index b57346e262b..00000000000
--- a/dev-python/chardet/chardet-3.0.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Universal encoding detector"
-HOMEPAGE="https://github.com/chardet/chardet
https://pypi.python.org/pypi/chardet"
-SRC_URI="https://github.com/chardet/chardet/archive/${PV}.tar.gz ->
${P}.tar.gz"
-
-# SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-# PyPI tarball is missing test.py: https://github.com/chardet/chardet/pull/118
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390
~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos
~x86-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-
-DEPEND="${RDEPEND}
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/hypothesis[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/disable-pytest-runner.patch
-)
-
-python_test() {
- py.test -v || die "Tests fail with ${EPYTHON}"
-}
diff --git a/dev-python/chardet/files/disable-pytest-runner.patch
b/dev-python/chardet/files/disable-pytest-runner.patch
deleted file mode 100644
index affbc134148..00000000000
--- a/dev-python/chardet/files/disable-pytest-runner.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From b874c25b08edd6bdbdd70a439c6cd603d6830226 Mon Sep 17 00:00:00 2001
-From: Zac Medico <[email protected]>
-Date: Fri, 21 Apr 2017 08:36:14 -0700
-Subject: [PATCH] setup.py: require pytest-runner only when necessary (#119)
-
-This optimizes setup.py for cases when pytest-runner is not needed,
-using the approach that is suggested upstream:
-
-https://pypi.python.org/pypi/pytest-runner#conditional-requirement
----
- setup.py | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 28a080a..c214352 100755
---- a/setup.py
-+++ b/setup.py
-@@ -1,9 +1,14 @@
- #!/usr/bin/env python
- import re
-+import sys
-
- from setuptools import find_packages, setup
-
-
-+needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
-+pytest_runner = ['pytest-runner'] if needs_pytest else []
-+
-+
- # Get version without importing, which avoids dependency issues
- def get_version():
- with open('chardet/version.py') as version_file:
-@@ -46,7 +51,7 @@ setup(name='chardet',
- "Modules"),
- "Topic :: Text Processing :: Linguistic"],
- packages=find_packages(),
-- setup_requires=['pytest-runner'],
-+ setup_requires=pytest_runner,
- tests_require=['pytest', 'hypothesis'],
- entry_points={'console_scripts':
- ['chardetect = chardet.cli.chardetect:main']})
---
-2.12.2
-