From d0326c4b3aa5b2991b13c35fa8c385144f10206d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Feb 2013 18:52:10 -0500 Subject: [PATCH] dev-python/wheel: Add a live ebuild for Python's wheel installer --- dev-python/wheel/ChangeLog | 9 ++++++++ dev-python/wheel/metadata.xml | 12 +++++++++++ dev-python/wheel/wheel-9999.ebuild | 34 ++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-python/wheel/ChangeLog create mode 100644 dev-python/wheel/metadata.xml create mode 100644 dev-python/wheel/wheel-9999.ebuild diff --git a/dev-python/wheel/ChangeLog b/dev-python/wheel/ChangeLog new file mode 100644 index 0000000..2733e11 --- /dev/null +++ b/dev-python/wheel/ChangeLog @@ -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 wheel-9999.ebuild: + + Initial Version diff --git a/dev-python/wheel/metadata.xml b/dev-python/wheel/metadata.xml new file mode 100644 index 0000000..c6124e3 --- /dev/null +++ b/dev-python/wheel/metadata.xml @@ -0,0 +1,12 @@ + + + + + + wking@tremily.us + W. Trevor King + + + wheel + + diff --git a/dev-python/wheel/wheel-9999.ebuild b/dev-python/wheel/wheel-9999.ebuild new file mode 100644 index 0000000..6cc3606 --- /dev/null +++ b/dev-python/wheel/wheel-9999.ebuild @@ -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 +} -- 2.26.2