From 6c927afc959c909aec32d9211e9d96f551af8319 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 4 Mar 2013 09:15:08 -0500 Subject: [PATCH] dev-python/ipythonblocks: Matt Davis' Python-teaching package --- ChangeLog | 9 +++++++++ ipythonblocks-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ metadata.xml | 12 ++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 ChangeLog create mode 100644 ipythonblocks-9999.ebuild create mode 100644 metadata.xml diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..90517a4 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/ipythonblocks +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*ipythonblocks-9999 (04 Mar 2013) + + 04 Mar 2013; W. Trevor King ipythonblocks-9999.ebuild: + + Initial Version diff --git a/ipythonblocks-9999.ebuild b/ipythonblocks-9999.ebuild new file mode 100644 index 0000000..800ed98 --- /dev/null +++ b/ipythonblocks-9999.ebuild @@ -0,0 +1,39 @@ +# 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://github.com/jiffyclub/ipythonblocks/" +if [[ "${PV}" == "9999" ]]; then + inherit git-2 + EGIT_BRANCH="master" + EGIT_REPO_URI="git://github.com/jiffyclub/${PN}.git" + SRC_URI="" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND="${PYTHON_DEPS} + dev-python/ipython + test? ( >=dev-python/pytest-2.3 ) + examples? ( dev-python/imaging ) + " +DEPEND="${PYTHON_DEPS}" + +src_install() { + distutils-r1_src_install + dodoc README.rst + if use examples; then + dodoc -r demos + fi +} diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..83eea1f --- /dev/null +++ b/metadata.xml @@ -0,0 +1,12 @@ + + + + + + wking@tremily.us + W. Trevor King + + + ipythonblocks + + -- 2.26.2