From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/ImageHash/ImageHash-3.4.ebuild | 30 ++++++++++++++++++++++++++++++ dev-python/ImageHash/Manifest | 3 +++ dev-python/ImageHash/metadata.xml | 23 +++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-python/ImageHash/ImageHash-3.4.ebuild create mode 100644 dev-python/ImageHash/Manifest create mode 100644 dev-python/ImageHash/metadata.xml (limited to 'dev-python/ImageHash') diff --git a/dev-python/ImageHash/ImageHash-3.4.ebuild b/dev-python/ImageHash/ImageHash-3.4.ebuild new file mode 100644 index 000000000000..56f5b8037e90 --- /dev/null +++ b/dev-python/ImageHash/ImageHash-3.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 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 +} diff --git a/dev-python/ImageHash/Manifest b/dev-python/ImageHash/Manifest new file mode 100644 index 000000000000..c89dc4c8d2d2 --- /dev/null +++ b/dev-python/ImageHash/Manifest @@ -0,0 +1,3 @@ +DIST ImageHash-3.4.tar.gz 290881 SHA256 22d5afa8089cfd08807e8133c2f03c81272e959f1dc922a2dc924c612f419841 SHA512 a4ba260988d81135f073bfc9a1b1253a69e8736da61e09ac93f8403ca237bfe85c3f0b4791546af601d62a306dd3346ecccf8ebd00d5cd8f4c6ca717b9d89dba WHIRLPOOL 0f4d837197db6a2407c0901403cb8c0effffb167d2517be0a7264fbec108d6f70739c980c00a648fe94b471273d2c6d52bd4f4e371cf9392e7c1177467077a08 +EBUILD ImageHash-3.4.ebuild 681 SHA256 c2427af0ccf5e075c3c0a6720c35422c4e1d3aab620bac372d36b7f59486c97d SHA512 0212aae2cd9aa0c45bbcd0993acd4a90101a51f4392ef7f1cbc36bf99f98db11f069a6cd41dddcd5cf01e36eaa0cbf7caa3797ec07404cf22ab7feaa8f8a67a4 WHIRLPOOL 608585eacd0d0b481ebad34d33eaccce190b4ad886ba311cc3abed378d635ef3d39a9de13db92d7e14c22ec5ba270db51aa733562154eb1814f78e41cb5ac70e +MISC metadata.xml 706 SHA256 226536fc73812ab3886142ee1df1956db1db43dd1bb1a572be338738d38638fc SHA512 289175e72c831818e13e1011c2a4908b6bb60ae5f2cdb91b81765f4386215283648694a7ef1f293dd91f11f9b5177156de9617cb081f1e31d42e6c1ff3f5ddf5 WHIRLPOOL c3901388cb9930fcbd6aeac26b1c4afbe07e2d75fb743e36baf341033d5f2edfd59a0df39f5249af99eaba72bbe11630ede535ba2eefe789f0d9519957bfd72d diff --git a/dev-python/ImageHash/metadata.xml b/dev-python/ImageHash/metadata.xml new file mode 100644 index 000000000000..5a0f60123ed1 --- /dev/null +++ b/dev-python/ImageHash/metadata.xml @@ -0,0 +1,23 @@ + + + + + marbre@linux.sungazer.de + Marius Brehler + + + python@gentoo.org + Python + + + A image hashing library written in Python. ImageHash supports: + average hashing (aHash) + perception hashing (pHash) + difference hashing (dHash) + wavelet hashing (wHash) +. + + JohannesBuchner/imagehash + ImageHash + + -- cgit v1.2.3