From 69064a6c5572d18874924ee36daa64da5b55cc65 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 12 Aug 2016 14:11:22 -0700 Subject: [PATCH] pyssim-9999.ebuild: Add ebuild A Thumbor test dependency. --- pyssim-9999.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pyssim-9999.ebuild diff --git a/pyssim-9999.ebuild b/pyssim-9999.ebuild new file mode 100644 index 0000000..2eb0c70 --- /dev/null +++ b/pyssim-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/jterrace/${PN}.git" + SRC_URI="" +else + SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Implements the Structural Similarity Image Metric (SSIM)" +HOMEPAGE="https://github.com/jterrace/pyssim https://pypi.python.org/pypi/pyssim" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + " + +DEPEND="${RDEPEND}" -- 2.26.2