diff options
Diffstat (limited to 'sci-libs/scikits')
-rw-r--r-- | sci-libs/scikits/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/scikits/metadata.xml | 9 | ||||
-rw-r--r-- | sci-libs/scikits/scikits-0.1-r1.ebuild | 35 |
3 files changed, 45 insertions, 0 deletions
diff --git a/sci-libs/scikits/Manifest b/sci-libs/scikits/Manifest new file mode 100644 index 000000000000..df2eefd3c67f --- /dev/null +++ b/sci-libs/scikits/Manifest @@ -0,0 +1 @@ +DIST scikits.example-0.1.tar.gz 2401 SHA256 bd3ad5e2481a8d19411bf8c88ff06072cd592368650b4ea90c7dce435916ff3a SHA512 9e5534a9f12f5a11e7f9d7c3d4f16cdbfa34293b29882e6bc9ec597b6e7ac306cc65e2b197da8c0bfc8e319b01db31f34b06018b5420c3ad68e8cc3f490259e1 WHIRLPOOL 83655fef2c4b6d04ee890eb84d5e761a51e26257b8d38500e03fbce198e8e7a951afef050c0cda528dbbadf27ef6bbba2f72405acd33be423b1b429fac63e48e diff --git a/sci-libs/scikits/metadata.xml b/sci-libs/scikits/metadata.xml new file mode 100644 index 000000000000..6fef9af01ab7 --- /dev/null +++ b/sci-libs/scikits/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription lang="en">Meta package for the scikits. Include a standard example as well.</longdescription> + <upstream> + <remote-id type="pypi">scikits.example</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/scikits/scikits-0.1-r1.ebuild b/sci-libs/scikits/scikits-0.1-r1.ebuild new file mode 100644 index 000000000000..e5a3fae4d776 --- /dev/null +++ b/sci-libs/scikits/scikits-0.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit python-r1 + +DESCRIPTION="Common files for python scikits" +HOMEPAGE="http://projects.scipy.org/scipy/scikits" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}.example/${PN}.example-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_install() { + python_moduleinto scikits + python_foreach_impl python_domodule scikits.example*/scikits/__init__.py + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r scikits.example*/* + fi +} |