summaryrefslogtreecommitdiff
path: root/dev-python/uncertainties
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/uncertainties')
-rw-r--r--dev-python/uncertainties/Manifest2
-rw-r--r--dev-python/uncertainties/uncertainties-3.1.6.ebuild25
2 files changed, 9 insertions, 18 deletions
diff --git a/dev-python/uncertainties/Manifest b/dev-python/uncertainties/Manifest
index 5bb3aa6ca52a..8c4e31f0d82c 100644
--- a/dev-python/uncertainties/Manifest
+++ b/dev-python/uncertainties/Manifest
@@ -1,5 +1,5 @@
DIST uncertainties-3.1.4.tar.gz 148897 BLAKE2B 3e94b61ff6aac42a7910cafebee5b440541a020c58bc2ce402d0a056b5d278205f4a6556bf49073f5ded305cfa73ba7e9095e71d3963fd9b73e2e9e19ec360b5 SHA512 209ebbed1f9cf99e3263f6470b04fc737c6d34d878f7eb1d2a7df7e63d4d42b0460391a08f99d8fe09df8f7f0e1de8a8e6c2cbecaedc7f0373ab06d05fbeb955
DIST uncertainties-3.1.6.tar.gz 158419 BLAKE2B 09582936a9b982efeee6cf3c99de568ebc820940ca2bfa1e4fd10edbcbd9447e7711158f8b98567a506d6c5a9ecf63b6e21d296c7f8d8dcbbaf4c2fb6a571355 SHA512 8835ed851d00bbe830770e57bc89ce57acf291e6cef2fca59897adb75e1e2de456da3631f73242ade20f567358b1d727b2b7f5df02e2f3e0cd8d861e81a6a211
EBUILD uncertainties-3.1.4-r1.ebuild 794 BLAKE2B 3b880adc7f3f46c37a4b22253978397d653c609fb01cb38dc1405ac61ccfd476e2954e0cc0e0d699feae47145fbb105e7b26b3fcaf06184621d76d170aedb8b7 SHA512 e67922cf772593baf0b094ef05f46b4858f929f35b2443f0165a392a1a24990f7f7b8f4ae56d3ecab8928aa94285f671333c8048117783be3d3e846f09feaa4b
-EBUILD uncertainties-3.1.6.ebuild 793 BLAKE2B 12202195860e0a3ebf7d4f8743e27738b0f14efadbfb9f5ef4a1b1b430933aeaeac76c2cabaf00b6ca3a470c0d40eea30eb5873f61ec98062704e6a8b9ae9289 SHA512 e712ab8d227501f2014c146a26b5561da08e2e9421646dd7fd258804e60ceb69076081d642fac56ca4928e350e307912373146e1738b253e070d86394938af3f
+EBUILD uncertainties-3.1.6.ebuild 668 BLAKE2B 0b387a85d90f1747c800cfd635fcac300c131322028424ad6aec80fdd296add92c5c0ea48ef2b4acaf38dddb3fc0b4161f130c3c781fe8825abce91c1026d524 SHA512 85b3879624d8ea6baec85c6ef2dba6e7e409dd11bcd788584bcbd443fe3e19700f650f447352bd138f66b3e7274404268ec609dcf834cdc037cf37d4c9efc303
MISC metadata.xml 859 BLAKE2B 54ae46c343fada9aabb973c5297eccb0abe7299a2a1f0009df1d083698c91ce25339cf63d77857febee0798b27a84ba83dde95e19255f45f8cb0141c6a009954 SHA512 833af2fd16f097d61942c7f9323d8e38688eead6d5d10ae8e7f2547c950cd53ab6ce28f434d2c1bb2f15b71ec55bfc30b8bd53a94a0c5f02e824e3ecb08ecc89
diff --git a/dev-python/uncertainties/uncertainties-3.1.6.ebuild b/dev-python/uncertainties/uncertainties-3.1.6.ebuild
index 96b4e0d8f983..c7a176fb8e25 100644
--- a/dev-python/uncertainties/uncertainties-3.1.6.ebuild
+++ b/dev-python/uncertainties/uncertainties-3.1.6.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 optfeature
DESCRIPTION="Python module for calculations with uncertainties"
HOMEPAGE="https://pythonhosted.org/uncertainties/"
@@ -13,24 +13,15 @@ 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}]
- dev-python/future[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+RDEPEND="dev-python/future[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ test? ( dev-python/numpy[${PYTHON_USEDEP}] )
"
distutils_enable_tests nose
+distutils_enable_sphinx doc --no-autodoc
-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
+pkg_postinst() {
+ optfeature "numpy support" dev-python/numpy
}