dev-python/wheel: Add a live ebuild for Python's wheel installer
authorW. Trevor King <wking@tremily.us>
Thu, 28 Feb 2013 23:52:10 +0000 (18:52 -0500)
committerW. Trevor King <wking@tremily.us>
Thu, 28 Feb 2013 23:52:10 +0000 (18:52 -0500)
dev-python/wheel/ChangeLog [new file with mode: 0644]
dev-python/wheel/metadata.xml [new file with mode: 0644]
dev-python/wheel/wheel-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/wheel/ChangeLog b/dev-python/wheel/ChangeLog
new file mode 100644 (file)
index 0000000..2733e11
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/wheel
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*wheel-9999 (28 Feb 2013)
+
+  28 Feb 2002; W. Trevor King <wking@tremily.us> wheel-9999.ebuild:
+
+  Initial Version
diff --git a/dev-python/wheel/metadata.xml b/dev-python/wheel/metadata.xml
new file mode 100644 (file)
index 0000000..c6124e3
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@tremily.us</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">wheel</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/wheel/wheel-9999.ebuild b/dev-python/wheel/wheel-9999.ebuild
new file mode 100644 (file)
index 0000000..6cc3606
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="A built-package format for Python"
+HOMEPAGE="https://bitbucket.org/dholth/${PN}/ http://pypi.python.org/pypi/${PN}"
+if [[ "${PV}" == "9999" ]]; then
+       inherit mercurial
+       EHG_REPO_URI="https://bitbucket.org/dholth/wheel"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       distutils-r1_src_install
+       dodoc README.txt
+       if use doc; then
+               dodoc -r docs
+       fi
+}