diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/ImageHash |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/ImageHash')
-rw-r--r-- | dev-python/ImageHash/ImageHash-3.4.ebuild | 30 | ||||
-rw-r--r-- | dev-python/ImageHash/Manifest | 3 | ||||
-rw-r--r-- | dev-python/ImageHash/metadata.xml | 23 |
3 files changed, 56 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marbre@linux.sungazer.de</email> + <name>Marius Brehler</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> + A image hashing library written in Python. ImageHash supports: + average hashing (aHash) + perception hashing (pHash) + difference hashing (dHash) + wavelet hashing (wHash) +.</longdescription> + <upstream> + <remote-id type="github">JohannesBuchner/imagehash</remote-id> + <remote-id type="pypi">ImageHash</remote-id> + </upstream> +</pkgmetadata> |