From: W. Trevor King Date: Fri, 12 Aug 2016 21:11:22 +0000 (-0700) Subject: pyssim-9999.ebuild: Add ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69064a6c5572d18874924ee36daa64da5b55cc65;p=wtk-overlay.git pyssim-9999.ebuild: Add ebuild A Thumbor test dependency. --- 69064a6c5572d18874924ee36daa64da5b55cc65 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}"