blob: d345b302e810f7b36482779ab2df11bfe22fc86e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.1.1.ebuild,v 1.3 2013/01/18 05:29:20 floppym Exp $
# NOTE: This version has been masked by floppym.
# It is an unofficial release, and drops Python 3 support.
# Please do not version bump this unless Python 3 is fixed or some major
# bug is fixed.
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Character encoding auto-detection in Python."
HOMEPAGE="http://chardet.feedparser.org/ http://code.google.com/p/chardet/"
SRC_URI="mirror://pypi/c/chardet/chardet-2.1.1.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="doc"
DEPEND="dev-python/setuptools"
RDEPEND=""
src_install() {
distutils_src_install
use doc && dohtml -r "${S}/docs/"
python_convert_shebangs -r 2 .
}
|