summaryrefslogtreecommitdiff
path: root/dev-python/ImageHash/ImageHash-4.0.ebuild
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2018-02-10 12:12:16 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-14 20:35:10 +0100
commitc1e1003e7b663431a7d6b563ea666e0b92290c7e (patch)
tree1f2e33f0922cc14459ece53120376e347f568703 /dev-python/ImageHash/ImageHash-4.0.ebuild
parent9ac7b6e9f35974bc19a25f8d7d99b0fff5064178 (diff)
downloadgentoo-c1e1003e7b663431a7d6b563ea666e0b92290c7e.tar.gz
gentoo-c1e1003e7b663431a7d6b563ea666e0b92290c7e.tar.bz2
gentoo-c1e1003e7b663431a7d6b563ea666e0b92290c7e.zip
dev-python/ImageHash: Version bump to 4.0
Closes: https://github.com/gentoo/gentoo/pull/7145 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-python/ImageHash/ImageHash-4.0.ebuild')
-rw-r--r--dev-python/ImageHash/ImageHash-4.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/ImageHash/ImageHash-4.0.ebuild b/dev-python/ImageHash/ImageHash-4.0.ebuild
new file mode 100644
index 000000000000..b3fefa3afbfa
--- /dev/null
+++ b/dev-python/ImageHash/ImageHash-4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Image Hashing library"
+HOMEPAGE="https://github.com/JohannesBuchner/imagehash"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pywavelets[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ sci-libs/scipy[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+python_test() {
+ esetup.py test
+}