summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-06-26 19:30:22 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-06-27 02:48:47 +0000
commitc7d8c60a035d670537f662cf9eea884430017a1c (patch)
tree333feddba98c3aa8d6b803c292b1c8e31b99f022 /sci-libs/scikits_image
parentdev-python/pywavelets: version bump (diff)
downloadgentoo-c7d8c60a035d670537f662cf9eea884430017a1c.tar.gz
gentoo-c7d8c60a035d670537f662cf9eea884430017a1c.tar.bz2
gentoo-c7d8c60a035d670537f662cf9eea884430017a1c.zip
sci-libs/scikits_image: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sci-libs/scikits_image')
-rw-r--r--sci-libs/scikits_image/Manifest1
-rw-r--r--sci-libs/scikits_image/scikits_image-0.13.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/sci-libs/scikits_image/Manifest b/sci-libs/scikits_image/Manifest
index 55dff5b04561..bca07fc212ee 100644
--- a/sci-libs/scikits_image/Manifest
+++ b/sci-libs/scikits_image/Manifest
@@ -1,2 +1,3 @@
DIST scikit-image-0.11.3.tar.gz 18589296 SHA256 768e568f3299966c294b7eb8cd114fc648f7bfaef422ee9cc750dd8d9d09e44b SHA512 595acb66581ed3ca9679b7f031876e1974000a82ec0eccd14bfd283f829aa3db0fcca10166f4260138698f82b3a772fea83d77761a64fab45bbc35418ade7108 WHIRLPOOL 43b52943ac3ff40f58863fdfbf588b5f17d6103e2cf2ec09863006da2a288412cc550d47f8c97027904827ccdd5e12a87ec94620d5788273c364276c2f614c6c
DIST scikit-image-0.12.3.tar.gz 20701373 SHA256 82da192f0e524701e89c5379c79200bc6dc21373f48bf7778a864c583897d7c7 SHA512 3a2d51f7b826569e5fc2a4502c62b85559ae9fa05555240894af1bb8bd2bad1798b786a2070b1f90b4c07339d8186fe5c118a89994503cce920e8e25fc5f3b51 WHIRLPOOL cfb93cc53612a7b646ec94075a34f501728b18b685968a2f51ea3d00d965c0204f2f567543f1cfa723e54dae90568cda34940cb60790dd4ffc4cac27f718fe23
+DIST scikit-image-0.13.0.tar.gz 26101533 SHA256 77a636bdc08c7668a15951894548c527f0c8c5c2abc86cb850de17551af51e3e SHA512 923015e373c406ae2fbbfdf83ce8b91e83790bdf7842c4439fdc9fd58cffe46efc0cfc7a1b0b06e1b2d092a909a6f085335640850883e7608dbccd1074046550 WHIRLPOOL a646b0f6e96d71dac7ae048035ec3ead7b850d8135f23c9222563b1096ccfe281d2d0c733b97709b478d66bb61fad0937c4d6462b43bbdc7798190d1b717422b
diff --git a/sci-libs/scikits_image/scikits_image-0.13.0.ebuild b/sci-libs/scikits_image/scikits_image-0.13.0.ebuild
new file mode 100644
index 000000000000..cc09ed813cb9
--- /dev/null
+++ b/sci-libs/scikits_image/scikits_image-0.13.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 eutils virtualx
+
+MYPN="${PN/scikits_/scikit-}"
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="Image processing routines for SciPy"
+HOMEPAGE="http://scikit-image.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc freeimage pyamg qt4 test"
+
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/networkx[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pywavelets[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ sci-libs/scipy[sparse,${PYTHON_USEDEP}]
+ freeimage? ( media-libs/freeimage )
+ pyamg? ( dev-python/pyamg[${PYTHON_USEDEP}] )
+ qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ >=dev-python/cython-0.23[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MYP}"
+
+DOCS=( CONTRIBUTORS.txt DEPENDS.txt RELEASE.txt TASKS.txt TODO.txt )
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
+ echo "backend : Agg" > matplotlibrc || die
+ echo "backend.qt4 : PyQt4" >> matplotlibrc || die
+ #echo "backend.qt4 : PySide" >> matplotlibrc || die
+ MPLCONFIGDIR=. virtx nosetests --exe -v skimage || die
+}
+
+pkg_postinst() {
+ optfeature "FITS io capability" dev-python/astropy
+ optfeature "GTK" dev-python/pygtk
+ optfeature "Parallel computation" dev-python/dask
+ # not in portage yet
+ #optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk
+ #optfeature "io plugin providing most standard formats" dev-python/imread
+}