summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-04-01 04:09:09 +0000
committerMike Gilbert <floppym@gentoo.org>2012-04-01 04:09:09 +0000
commit98e635e5cdfd8ae065fbec9250fdda07607f8093 (patch)
tree9c2920349e5030070d1ac1ca55266077521d70c6 /dev-python/six
parentmedia-gfx/gimp: Fix test execution (bug #406625) (diff)
downloadgentoo-2-98e635e5cdfd8ae065fbec9250fdda07607f8093.tar.gz
gentoo-2-98e635e5cdfd8ae065fbec9250fdda07607f8093.tar.bz2
gentoo-2-98e635e5cdfd8ae065fbec9250fdda07607f8093.zip
New package.
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/six')
-rw-r--r--dev-python/six/ChangeLog10
-rw-r--r--dev-python/six/Manifest3
-rw-r--r--dev-python/six/metadata.xml8
-rw-r--r--dev-python/six/six-1.1.0.ebuild37
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/six/ChangeLog b/dev-python/six/ChangeLog
new file mode 100644
index 000000000000..686fff271674
--- /dev/null
+++ b/dev-python/six/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/six
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/six/ChangeLog,v 1.1 2012/04/01 04:09:09 floppym Exp $
+
+*six-1.1.0 (01 Apr 2012)
+
+ 01 Apr 2012; Mike Gilbert <floppym@gentoo.org> +metadata.xml,
+ +six-1.1.0.ebuild:
+ New package.
+
diff --git a/dev-python/six/Manifest b/dev-python/six/Manifest
new file mode 100644
index 000000000000..aecdb5f14ed3
--- /dev/null
+++ b/dev-python/six/Manifest
@@ -0,0 +1,3 @@
+DIST six-1.1.0.tar.gz 12573 RMD160 8fd5a87e4ab05598d540cdd096ca3631e5d0dc66 SHA1 2e6ca983a232cfacc94df37a26d641be1ead2524 SHA256 8c421a58100704148fd9ad2e38b05d5646f6d3139ac209dfda4c980d124c75ba
+EBUILD six-1.1.0.ebuild 660 RMD160 3f44db7c9129efd0352c6ca168935fe6c1980f11 SHA1 ec7bd2c459a7d19d6c1caf7da43e501e93c17854 SHA256 b8e5e98d550f21b990f97e669fe57bbf61555f57a96385c19a38b44ad6ecd20f
+MISC metadata.xml 226 RMD160 c02db2ab483ad05a15e10cd0034a70dc60ef55ad SHA1 6b8398ab66715deff072b205498fa2282daa52dd SHA256 bdafefb27f29ded62ff07b71d48d72d5c385dcc4c0e9c95beed417b16edb07e0
diff --git a/dev-python/six/metadata.xml b/dev-python/six/metadata.xml
new file mode 100644
index 000000000000..a2b6424e58e3
--- /dev/null
+++ b/dev-python/six/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">six</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/six/six-1.1.0.ebuild b/dev-python/six/six-1.1.0.ebuild
new file mode 100644
index 000000000000..79c9502fe4b9
--- /dev/null
+++ b/dev-python/six/six-1.1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.1.0.ebuild,v 1.1 2012/04/01 04:09:09 floppym Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Python 2 and 3 compatibility library"
+HOMEPAGE="http://pypi.python.org/pypi/six"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( dev-python/sphinx )"
+RDEPEND=""
+
+PYTHON_MODNAME="${PN}.py"
+
+src_compile() {
+ distutils_src_compile
+ if use doc; then
+ cd documentation || die
+ emake html
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dohtml -r documentation/_build/html/*
+ fi
+}