diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-04-19 13:58:18 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-04-20 02:20:04 -0700 |
commit | 08e1ffdccafaf18be2a515308565bcab21162323 (patch) | |
tree | 535d8a6c533fd06567aeb3f19b4cda89ab34674c /dev-python | |
parent | dev-python/yarl: version bump to 0.9.8 (diff) | |
download | gentoo-08e1ffdccafaf18be2a515308565bcab21162323.tar.gz gentoo-08e1ffdccafaf18be2a515308565bcab21162323.tar.bz2 gentoo-08e1ffdccafaf18be2a515308565bcab21162323.zip |
dev-python/chardet: version bump to 3.0.2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/chardet/Manifest | 1 | ||||
-rw-r--r-- | dev-python/chardet/chardet-3.0.2.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest index 606cee0ec5d5..856c39b611b2 100644 --- a/dev-python/chardet/Manifest +++ b/dev-python/chardet/Manifest @@ -1,2 +1,3 @@ DIST chardet-2.2.1.tar.gz 180319 SHA256 f1964f73f5ee9b7e0309098b9512d587fbba6dd5d1f3797b1c95529e5241bf09 SHA512 87059b77b14c39fded7f1287f8eeab6a880e21f4b49a3aa103daf537bbb1e237069347e1953ebaa9a393bd4dee01993873c84aad3c00536ae34784686aecfe68 WHIRLPOOL 1cd6838823f8effd502c3049d13966ac0888bdb91b34489caea8666f9802967fe6f86565ed827e609cb614c920cc9f983bdecc27c30bb2abcf4420731a0a620e DIST chardet-2.3.0.tar.gz 164346 SHA256 e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa SHA512 d554c9b4564905a2b6c6971aaea2a812174d86b58137c6a2f9d54e2abd2395e6529968b2ce3ca2d97c717d2bd0bd80ab5b98cae9afac1a4add9ea305145030dd WHIRLPOOL af17bac2778a86d6fe9643a512a307cbcf92e4b43238b2d3d2bae53e646fccbdf40f31f41f9452e7d4f4c84d1ee637199af841a828d49f3452190749fee284c1 +DIST chardet-3.0.2.tar.gz 1866978 SHA256 4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb SHA512 d7b0e5ebeb9a0d5830857decbe2b11309fbb421c31cd391c143bf6f00e2c3d9eec3640954478e71be88ea3dac158b1e1df177a5e2b8b9749b27d2a956542cbf9 WHIRLPOOL 429d20191b54284a9278e1d56ce387200aff68bb27f06f7f25c63f793437ef987ebbb1f860937ba720a48890bbf1ed4e4886f1b5f3452276004e192556971fb2 diff --git a/dev-python/chardet/chardet-3.0.2.ebuild b/dev-python/chardet/chardet-3.0.2.ebuild new file mode 100644 index 000000000000..14b78742495c --- /dev/null +++ b/dev-python/chardet/chardet-3.0.2.ebuild @@ -0,0 +1,30 @@ +# 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 +RESTRICT="test" + +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" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + )" +RDEPEND="${DEPEND}" + +python_test() { + py.test -v ./test.py || die "Tests fail with ${EPYTHON}" +} |