Version bump 0.14.2 ahead of Gentoo Main
This commit is contained in:
parent
86122b93d8
commit
d8c11080ef
5
sci-libs/scikits_image/ChangeLog
Normal file
5
sci-libs/scikits_image/ChangeLog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*scikits_image-0.14.2 (26 Mar 2019)
|
||||||
|
|
||||||
|
26 Mar 2019; <chymera@gentoo.org> +metadata.xml,
|
||||||
|
+scikits_image-0.14.2.ebuild:
|
||||||
|
sci-libs/scikits_image: version bump 0.14.2 ahead of Gentoo Main
|
1
sci-libs/scikits_image/Manifest
Normal file
1
sci-libs/scikits_image/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST scikit-image-0.14.2.tar.gz 27785514 SHA256 1afd0b84eefd77afd1071c5c1c402553d67be2d7db8950b32d6f773f25850c1f SHA512 ab31fdb5b1d16b794ccc4d673f6c8bce0a8a54b81c0e43c9a4cdd5eb0465ef69ac184a06e395a1d27da51c2e0911db9afa2be4e740f44bceab952428eb7f599a WHIRLPOOL 9be56b58bff3b6d4706a907fedb5c5545e31630e49f9f5a8d0adf9afbabf63076694313b79904065331e552311278f64e3a49ff47540af1b2b3867e2c65d417f
|
22
sci-libs/scikits_image/metadata.xml
Normal file
22
sci-libs/scikits_image/metadata.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?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">
|
||||||
|
This SciKit (toolkit for SciPy) includes useful image processing
|
||||||
|
algorithms for use with Python and NumPy. While SciPyâs ndimage
|
||||||
|
provides low-level manipulation, scikits.image centres around
|
||||||
|
algorithms and applications.
|
||||||
|
</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="freeimage">Enable support for image i/o via
|
||||||
|
<pkg>media-libs/freeimage</pkg></flag>
|
||||||
|
<flag name="pyamg">Enable support for algebraic solvers via <pkg>dev-python/pyamg</pkg></flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="pypi">scikit-image</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
70
sci-libs/scikits_image/scikits_image-0.14.2.ebuild
Normal file
70
sci-libs/scikits_image/scikits_image-0.14.2.ebuild
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
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="https://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 test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dask[${PYTHON_USEDEP}]
|
||||||
|
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}] )"
|
||||||
|
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 RELEASE.txt TODO.txt )
|
||||||
|
|
||||||
|
# Fails on Gentoo
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Remove pip dependency
|
||||||
|
sed -i '1iimport os.path as osp'\
|
||||||
|
skimage/__init__.py\
|
||||||
|
skimage/data/__init__.py\
|
||||||
|
|| die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
pytest -vv || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "FITS io capability" dev-python/astropy
|
||||||
|
optfeature "GTK" dev-python/pygtk
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user