dev-python/ipythonblocks: Matt Davis' Python-teaching package
authorW. Trevor King <wking@tremily.us>
Mon, 4 Mar 2013 14:15:08 +0000 (09:15 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 4 Mar 2013 14:15:08 +0000 (09:15 -0500)
dev-python/ipythonblocks/ChangeLog [new file with mode: 0644]
dev-python/ipythonblocks/ipythonblocks-9999.ebuild [new file with mode: 0644]
dev-python/ipythonblocks/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/ipythonblocks/ChangeLog b/dev-python/ipythonblocks/ChangeLog
new file mode 100644 (file)
index 0000000..90517a4
--- /dev/null
@@ -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 <wking@tremily.us> ipythonblocks-9999.ebuild:
+
+  Initial Version
diff --git a/dev-python/ipythonblocks/ipythonblocks-9999.ebuild b/dev-python/ipythonblocks/ipythonblocks-9999.ebuild
new file mode 100644 (file)
index 0000000..800ed98
--- /dev/null
@@ -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/dev-python/ipythonblocks/metadata.xml b/dev-python/ipythonblocks/metadata.xml
new file mode 100644 (file)
index 0000000..83eea1f
--- /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">ipythonblocks</remote-id>
+       </upstream>
+</pkgmetadata>