sci-libs/scikits_image: version bump and Python 2.7 drop
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
441317ecf5
commit
9356048bf5
@ -1,3 +1,9 @@
|
|||||||
|
*scikits_image-0.14.3 (07 Jan 2020)
|
||||||
|
|
||||||
|
07 Jan 2020; <chymera@gentoo.org> +scikits_image-0.14.3.ebuild,
|
||||||
|
scikits_image-0.14.2.ebuild:
|
||||||
|
sci-libs/scikits_image: version bump and Python 2.7 drop
|
||||||
|
|
||||||
*scikits_image-0.14.2 (26 Mar 2019)
|
*scikits_image-0.14.2 (26 Mar 2019)
|
||||||
|
|
||||||
26 Mar 2019; <chymera@gentoo.org> +metadata.xml,
|
26 Mar 2019; <chymera@gentoo.org> +metadata.xml,
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST scikit-image-0.14.2.tar.gz 27785514 SHA256 1afd0b84eefd77afd1071c5c1c402553d67be2d7db8950b32d6f773f25850c1f SHA512 ab31fdb5b1d16b794ccc4d673f6c8bce0a8a54b81c0e43c9a4cdd5eb0465ef69ac184a06e395a1d27da51c2e0911db9afa2be4e740f44bceab952428eb7f599a WHIRLPOOL 9be56b58bff3b6d4706a907fedb5c5545e31630e49f9f5a8d0adf9afbabf63076694313b79904065331e552311278f64e3a49ff47540af1b2b3867e2c65d417f
|
DIST scikit-image-0.14.2.tar.gz 27785514 SHA256 1afd0b84eefd77afd1071c5c1c402553d67be2d7db8950b32d6f773f25850c1f SHA512 ab31fdb5b1d16b794ccc4d673f6c8bce0a8a54b81c0e43c9a4cdd5eb0465ef69ac184a06e395a1d27da51c2e0911db9afa2be4e740f44bceab952428eb7f599a WHIRLPOOL 9be56b58bff3b6d4706a907fedb5c5545e31630e49f9f5a8d0adf9afbabf63076694313b79904065331e552311278f64e3a49ff47540af1b2b3867e2c65d417f
|
||||||
|
DIST scikit-image-0.14.3.tar.gz 27312311 SHA256 f05eab2df885fb6fde3df0e4d24c9c620d6474ea0eb949fd45f6f634925dd514 SHA512 7c3a09004eeb0f075532c38d14f8b402491c39a4ca56bc68aea17804756f5907f01cba4d1b8b45e1c20d1b233b84564015cf9f4124b1f5a19e103120c2466a2f WHIRLPOOL de0f2520e28b2e44db109b1a09229b8330584eb9162f5000c3c96098f523aa30ba381162cc67c1851ca1a67aafa002878e5271fc9d3173268451763dd56643bc
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||||
|
|
||||||
inherit distutils-r1 eutils virtualx
|
inherit distutils-r1 eutils virtualx
|
||||||
|
|
||||||
|
73
sci-libs/scikits_image/scikits_image-0.14.3.ebuild
Normal file
73
sci-libs/scikits_image/scikits_image-0.14.3.ebuild
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( 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
|
||||||
|
mkdir "${WORKDIR}/empty_test_dir" || die
|
||||||
|
cd "${WORKDIR}/empty_test_dir" || die
|
||||||
|
pytest --pyargs skimage || 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