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