diff options
Diffstat (limited to 'dev-python/cosmolopy')
-rw-r--r-- | dev-python/cosmolopy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/cosmolopy/cosmolopy-0.1.104-r1.ebuild | 41 | ||||
-rw-r--r-- | dev-python/cosmolopy/metadata.xml | 16 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/cosmolopy/Manifest b/dev-python/cosmolopy/Manifest new file mode 100644 index 000000000000..20c32a665711 --- /dev/null +++ b/dev-python/cosmolopy/Manifest @@ -0,0 +1,3 @@ +DIST CosmoloPy-0.1.104.tar.gz 65162 BLAKE2B 5cddcd9aaf923fbd48871e28b11b2a480a58409a686df942d158383a3f3f46bb5a9f687cba05058ac716f63ac9eff30948854a2e465710d803ed17de94b53d13 SHA512 b79b5b264a6bdd68082fc3f62f40957421d9a6914d1623cc89bac9b64598e5fca5d52290632ab55878c893223aeb3283c9b088987a0927d2c22160bc521359fa +EBUILD cosmolopy-0.1.104-r1.ebuild 1032 BLAKE2B 1d0eb43ecdd573d9887fa9586d0a1f6a5b96328211d78676cb18ea583ee785b045c5d8fadba03fcf1b8c54cdfcffe38e25e039600ed51f348499e45ec615decb SHA512 d906415a694fc3571d15e46977ad025c06a3208a87efbb565f1e16afc1b8c4b9dbcce9ed822d6ad71b244653d811de5f9eecb7f6e738bb9cef560b1bc65f8d68 +MISC metadata.xml 551 BLAKE2B ac51efa3b41437dbfe1f3f9559ebe3d19b9e39588a79adea2a5746c50a1d845096b44e96f3a581286fc2619df2a52deac03a915bff47e5e9f6011ddc4c44f9c2 SHA512 0f6da8ea89687a2ad518e19a53e6814cc26d96c4451e7d968ee103c66f2a4515b80cecb698ebea0c7e9fbcf00e571fb45b72311cef9e1e0dea18b94a025d18b0 diff --git a/dev-python/cosmolopy/cosmolopy-0.1.104-r1.ebuild b/dev-python/cosmolopy/cosmolopy-0.1.104-r1.ebuild new file mode 100644 index 000000000000..dd5245d7c1f6 --- /dev/null +++ b/dev-python/cosmolopy/cosmolopy-0.1.104-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7) + +inherit distutils-r1 + +MY_PN=CosmoloPy +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Cosmology routines built on NumPy/SciPy" +HOMEPAGE="https://roban.github.io/CosmoloPy/ https://pypi.org/project/CosmoloPy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND="dev-python/nose[${PYTHON_USEDEP}] + dev-lang/swig + doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )" +RDEPEND="sci-libs/scipy[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +python_compile_all() { + if use doc; then + epydoc -n "CosmoloPy - Cosmology routines built on NumPy/SciPy" \ + --exclude='cosmolopy.EH._power' --exclude='cosmolopy.EH.power' \ + --no-private --no-frames --html --docformat restructuredtext \ + cosmolopy/ -o docAPI/ || die + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docAPI/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/cosmolopy/metadata.xml b/dev-python/cosmolopy/metadata.xml new file mode 100644 index 000000000000..27c8bab416bc --- /dev/null +++ b/dev-python/cosmolopy/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en">CosmoloPy is a package of cosmology routines built on NumPy/SciPy.</longdescription> + <upstream> + <remote-id type="pypi">CosmoloPy</remote-id> + </upstream> +</pkgmetadata> |