diff options
-rw-r--r-- | sci-geosciences/seawater/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/seawater/seawater-3.3.3.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sci-geosciences/seawater/Manifest b/sci-geosciences/seawater/Manifest index 9f451e4f32c1..c1370f9e2641 100644 --- a/sci-geosciences/seawater/Manifest +++ b/sci-geosciences/seawater/Manifest @@ -1,2 +1,3 @@ DIST seawater-2.0.1.tar.gz 2680741 SHA256 e343ef9dba9cc5806b4040af5a63132e2d04bab6406216d5041f81f76d4b25cf SHA512 9d59d5c41f46311240934e18b8727514babc4e714553ba595017a17b95edf040c10ac7161f607c7e262c751e238a909d55a639a94fab4d4ce004a4c297af1e79 WHIRLPOOL 7bdff25f7f2152aa8c4c4184a05397b01a718b5198f821aabb1389acd54860038e5655c6f18e9a63ff699e61c4e66911e33e4085e03021f77452cb185e674ec6 DIST seawater-3.3.2.tar.gz 33073 SHA256 41363a6e280db6f047c40eb87fe9f576ce17e991514dfaeb82444ab5e25950c8 SHA512 221c7e9716247b2a79b1182a4acac7e01c68298262f31d5ff53267c8f4e9d4302f2f46bab5361300742c4eae2a44eff3521b34ef380cfaeb2aaa9f0bdd28df6c WHIRLPOOL ced79e7bdfdc037ee73ee17608735b695de1ef2b99f1d5166e7453b3f272ee73533f3a9e2ccba62d2d98119061ae9a0bd5e11acafd88f469b007fc7619d9c052 +DIST seawater-3.3.3.tar.gz 22839 SHA256 8a4f2597141621b7d68ad5145054f4d2a8343eab83fe6453634ddcf49cb39afc SHA512 73f377786c0396f6e052d654d34877aaf28c08ba732321fe11a89a77e809acebada6585d5ffd3481855ead2de9ec6641b48bf771b3d5e6a0cf82bf7383567e49 WHIRLPOOL 26618ec60f55dbf0cbb39cbf1980a93b867e63f367333b080a67b7bb5b5965bfffce021704061908273f0a634535b189eb22f9827a742d1c0ed9942cefccbf0f diff --git a/sci-geosciences/seawater/seawater-3.3.3.ebuild b/sci-geosciences/seawater/seawater-3.3.3.ebuild new file mode 100644 index 000000000000..bc60defac264 --- /dev/null +++ b/sci-geosciences/seawater/seawater-3.3.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) +inherit distutils-r1 + +DESCRIPTION="Python version of the SEAWATER 3.2 MATLAB toolkit for calculating the properties of sea water" +HOMEPAGE="http://pypi.python.org/pypi/seawater/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" # seems there are files missing + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/oct2py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + )" + +python_test() { + esetup.py test +} |