1
0
mirror of synced 2024-12-22 12:50:33 +01:00

sci-libs/scikits_image: superseded by sci-libs/scikit-image in ::gentoo

This commit is contained in:
Horea Christian 2020-12-23 02:50:50 -05:00
parent 14e739ed95
commit c937af75b1
5 changed files with 0 additions and 193 deletions

View File

@ -1,24 +0,0 @@
25 Sep 2020; <chymera@gentoo.org> scikits_image-0.14.3.ebuild,
scikits_image-0.16.2.ebuild:
sci-libs/scikits_image: updated scipy dependency name
10 Apr 2020; <chymera@gentoo.org> -scikits_image-0.14.2.ebuild,
scikits_image-0.16.2.ebuild:
sci-libs/scikits_image: version bump 0.16.2 ahead of Gentoo Main
*scikits_image-0.16.2 (24 Jan 2020)
24 Jan 2020; <chymera@gentoo.org> +scikits_image-0.16.2.ebuild:
sci-libs/scikits_image: version bump 0.16.2
*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)
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

View File

@ -1,2 +0,0 @@
DIST scikit-image-0.14.3.tar.gz 27312311 SHA256 f05eab2df885fb6fde3df0e4d24c9c620d6474ea0eb949fd45f6f634925dd514 SHA512 7c3a09004eeb0f075532c38d14f8b402491c39a4ca56bc68aea17804756f5907f01cba4d1b8b45e1c20d1b233b84564015cf9f4124b1f5a19e103120c2466a2f WHIRLPOOL de0f2520e28b2e44db109b1a09229b8330584eb9162f5000c3c96098f523aa30ba381162cc67c1851ca1a67aafa002878e5271fc9d3173268451763dd56643bc
DIST scikit-image-0.16.2.tar.gz 28945695 SHA256 dd7fbd32da74d4e9967dc15845f731f16e7966cee61f5dc0e12e2abb1305068c SHA512 55393f90a00488bb177600db1a6479a297d9b73f3e9bdbaa59fdb3a3a862c50f6d35a33b4e8a1923cf3dc8bc78ab800c628824bb53fb045f4d518ad1b3a796c4 WHIRLPOOL 39d1a7d7b19a1d45002a0681a1c40d5ecb66bfb2f468850fa1a119157a69284ad02c6d5b28b3e64fc54512053033579b388febb3783e0c1b2ca218c94235cf6d

View File

@ -1,22 +0,0 @@
<?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>

View File

@ -1,73 +0,0 @@
# 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/scipy[sparse,${PYTHON_USEDEP}]
dev-python/six[${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
}

View File

@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
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/imageio[${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/scipy[sparse,${PYTHON_USEDEP}]
freeimage? ( media-libs/freeimage )
pyamg? ( dev-python/pyamg[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
>=dev-python/cython-0.23[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${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
}
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
}