summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/chardet/ChangeLog8
-rw-r--r--dev-python/chardet/chardet-2.0.1.ebuild36
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/chardet/ChangeLog b/dev-python/chardet/ChangeLog
index 09591fec767c..730fb801c34a 100644
--- a/dev-python/chardet/ChangeLog
+++ b/dev-python/chardet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/chardet
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/ChangeLog,v 1.11 2010/01/09 20:52:46 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/ChangeLog,v 1.12 2010/01/12 17:12:36 arfrever Exp $
+
+*chardet-2.0.1 (12 Jan 2010)
+
+ 12 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +chardet-2.0.1.ebuild:
+ Version bump (bug #300743).
09 Jan 2010; Raúl Porcel <armin76@gentoo.org> chardet-1.0.ebuild,
chardet-1.0.1.ebuild:
diff --git a/dev-python/chardet/chardet-2.0.1.ebuild b/dev-python/chardet/chardet-2.0.1.ebuild
new file mode 100644
index 000000000000..cbc74cac79a2
--- /dev/null
+++ b/dev-python/chardet/chardet-2.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.0.1.ebuild,v 1.1 2010/01/12 17:12:36 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+
+inherit distutils
+
+DESCRIPTION="Character encoding auto-detection in Python."
+HOMEPAGE="http://chardet.feedparser.org/ http://code.google.com/p/chardet/"
+SRC_URI="http://chardet.feedparser.org/download/python2-${P}.tgz
+ http://chardet.feedparser.org/download/python3-${P}.tgz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ default
+ cp -pr "python3-${P}" "${P}"
+
+ unpacking() {
+ cp -pr "python${PYTHON_ABI:0:1}-${P}" "${S}-${PYTHON_ABI}"
+ }
+ python_execute_function -q unpacking
+}
+
+src_install() {
+ distutils_src_install
+ dohtml -r "${S}/docs/"*
+}