diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/uncertainties | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/uncertainties')
| -rw-r--r-- | dev-python/uncertainties/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/uncertainties/metadata.xml | 23 | ||||
| -rw-r--r-- | dev-python/uncertainties/uncertainties-3.0.1.ebuild | 43 | ||||
| -rw-r--r-- | dev-python/uncertainties/uncertainties-3.1.4.ebuild | 40 |
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-python/uncertainties/Manifest b/dev-python/uncertainties/Manifest new file mode 100644 index 000000000000..f86a0b6a3f51 --- /dev/null +++ b/dev-python/uncertainties/Manifest @@ -0,0 +1,2 @@ +DIST uncertainties-3.0.1.tar.gz 225752 BLAKE2B 6dc872d5617b8c4e9deda5a5a60492ae1eb0facd7f053f0799b3762831f9bad7da39726811feffa3630091e00dbedf89c296ed4e1b2b1f78399ed45663ea5339 SHA512 d4b2a905665c46224586f5f9702ad9e69580fc5afe8c6c045b04141fdc54e0c402cdee033ee0ee7055823b922bd33c732b3066453876509d45add15abf9d85f5 +DIST uncertainties-3.1.4.tar.gz 148897 BLAKE2B 3e94b61ff6aac42a7910cafebee5b440541a020c58bc2ce402d0a056b5d278205f4a6556bf49073f5ded305cfa73ba7e9095e71d3963fd9b73e2e9e19ec360b5 SHA512 209ebbed1f9cf99e3263f6470b04fc737c6d34d878f7eb1d2a7df7e63d4d42b0460391a08f99d8fe09df8f7f0e1de8a8e6c2cbecaedc7f0373ab06d05fbeb955 diff --git a/dev-python/uncertainties/metadata.xml b/dev-python/uncertainties/metadata.xml new file mode 100644 index 000000000000..a944cd761d9d --- /dev/null +++ b/dev-python/uncertainties/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + uncertainties is a Python module, which allows calculations such as + . + (0.2 +/- 0.01) * 2 = 0.4 +/- 0.02 + . + to be performed transparently; much more complex mathematical expressions + involving numbers with uncertainties can also be evaluated transparently. + Correlations between expressions are correctly taken into account; x-x is + thus exactly zero, for instance. The uncertainties produced by this module + are what is predicted by error propagation theory. + </longdescription> + <upstream> + <remote-id type="pypi">uncertainties</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/uncertainties/uncertainties-3.0.1.ebuild b/dev-python/uncertainties/uncertainties-3.0.1.ebuild new file mode 100644 index 000000000000..f27c1d6e6cd8 --- /dev/null +++ b/dev-python/uncertainties/uncertainties-3.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Python module for calculations with uncertainties" +HOMEPAGE="https://pythonhosted.org/uncertainties/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +ppython_compile_all() { + if use doc; then + PYTHONPATH="${BUILD_DIR}"/lib esetup.py build_sphinx + fi +} + +python_compile_all() { + use doc && "${PYTHON}" setup.py build_sphinx +} + +python_test() { + esetup.py nosetests -sv || die +} + +python_install_all() { + use doc && local HTML_DOCS=( build/sphinx/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/uncertainties/uncertainties-3.1.4.ebuild b/dev-python/uncertainties/uncertainties-3.1.4.ebuild new file mode 100644 index 000000000000..f1decac029b5 --- /dev/null +++ b/dev-python/uncertainties/uncertainties-3.1.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python module for calculations with uncertainties" +HOMEPAGE="https://pythonhosted.org/uncertainties/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests nose + +ppython_compile_all() { + if use doc; then + PYTHONPATH="${BUILD_DIR}"/lib esetup.py build_sphinx + fi +} + +python_compile_all() { + use doc && "${PYTHON}" setup.py build_sphinx +} + +python_install_all() { + use doc && local HTML_DOCS=( build/sphinx/html/. ) + distutils-r1_python_install_all +} |
