1 |
commit: 56fe83fa38b967376183ab62b7c4ecba9713bb7f |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 26 22:03:32 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 26 22:37:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56fe83fa |
7 |
|
8 |
dev-python/chardet: version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/chardet/Manifest | 1 + |
13 |
dev-python/chardet/chardet-3.0.3.ebuild | 40 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest |
17 |
index 7769fe8ffda..a0d0050db9a 100644 |
18 |
--- a/dev-python/chardet/Manifest |
19 |
+++ b/dev-python/chardet/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST chardet-2.3.0.tar.gz 164346 SHA256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa SHA512 d554c9b4564905a2b6c6971aaea2a812174d86b58137c6a2f9d54e2abd2395e6529968b2ce3ca2d97c717d2bd0bd80ab5b98cae9afac1a4add9ea305145030dd WHIRLPOOL af17bac2778a86d6fe9643a512a307cbcf92e4b43238b2d3d2bae53e646fccbdf40f31f41f9452e7d4f4c84d1ee637199af841a828d49f3452190749fee284c1 |
22 |
DIST chardet-3.0.2.tar.gz 1872630 SHA256 3b92afd82ddea09d30832fac141840d6569c34f27633e4ad273c66172246116f SHA512 9466e8bdd4d49ca51664fefa170e2887bebf17d017d49056a0efe9baef4dc58e2a9e0766d41c1fcb06254e1346021d1d86b1eb55d4b71a061da93ea830f1dfce WHIRLPOOL 4010a838619b3f04d1266bdee49e26169724f1c83c38a3a9cc081fc8f2166e46ecf9544bc25e276a7dec4af7a64f469a74aabc8ecdc745fd10d364db331ee704 |
23 |
+DIST chardet-3.0.3.tar.gz 1872668 SHA256 99cc5d0c13fb0ec02bc4c8a35b35ff698ba1ebdb6d065b53276f0d10d59c2cdc SHA512 7769d80178fb9ded7f04c32969da1a73938b04ffcc9d8de2e593135731e29fbf1e2c21e39ca92d3789e08c9a800f9ec0aafc3c1d12580f4f1efb82e697700264 WHIRLPOOL 9ab8951cdcc69cc05974e67c421a5524bbdf18c96a5f272502b4ae22583520cbc7a82eb499de67cc5aac846af9db1279bc27581f3ce0afd73de2ead861663268 |
24 |
|
25 |
diff --git a/dev-python/chardet/chardet-3.0.3.ebuild b/dev-python/chardet/chardet-3.0.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b57346e262b |
28 |
--- /dev/null |
29 |
+++ b/dev-python/chardet/chardet-3.0.3.ebuild |
30 |
@@ -0,0 +1,40 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Universal encoding detector" |
41 |
+HOMEPAGE="https://github.com/chardet/chardet https://pypi.python.org/pypi/chardet" |
42 |
+SRC_URI="https://github.com/chardet/chardet/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+# SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
45 |
+# PyPI tarball is missing test.py: https://github.com/chardet/chardet/pull/118 |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+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" |
50 |
+IUSE="test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+DEPEND="${RDEPEND} |
58 |
+ test? ( |
59 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
60 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/disable-pytest-runner.patch |
66 |
+) |
67 |
+ |
68 |
+python_test() { |
69 |
+ py.test -v || die "Tests fail with ${EPYTHON}" |
70 |
+} |