From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D74B138335 for ; Sat, 3 Aug 2019 20:36:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7BBCE0855; Sat, 3 Aug 2019 20:36:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AAEEE0855 for ; Sat, 3 Aug 2019 20:36:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0389349400 for ; Sat, 3 Aug 2019 20:36:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFB6A74B for ; Sat, 3 Aug 2019 20:36:41 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1564863543.94f22e32c4e5e41597fbb1c8a1c4340638f0c73d.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scikits_image/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild X-VCS-Directories: sci-libs/scikits_image/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 94f22e32c4e5e41597fbb1c8a1c4340638f0c73d X-VCS-Branch: master Date: Sat, 3 Aug 2019 20:36:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5050ab2a-923f-4b85-9670-62f684a62196 X-Archives-Hash: 11caa63aed31ee89486b7c1dd4b2866e commit: 94f22e32c4e5e41597fbb1c8a1c4340638f0c73d Author: Alexey Shvetsov gentoo org> AuthorDate: Sat Aug 3 20:19:03 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sat Aug 3 20:19:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94f22e32 sci-libs/scikits_image: Works with py3.7 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alexey Shvetsov gentoo.org> .../scikits_image/scikits_image-0.13.0-r1.ebuild | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild new file mode 100644 index 00000000000..49f66eaba90 --- /dev/null +++ b/sci-libs/scikits_image/scikits_image-0.13.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,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/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 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 +}