From aebacc8cfef754dc44fdf6c95169a5bbb546ea8e Mon Sep 17 00:00:00 2001 From: blshkv Date: Tue, 9 Jun 2020 19:28:28 +0800 Subject: [PATCH] face_recognition: 1.3.0 bump --- dev-python/face_recognition/Manifest | 1 + .../face_recognition-1.3.0.ebuild | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/face_recognition/face_recognition-1.3.0.ebuild diff --git a/dev-python/face_recognition/Manifest b/dev-python/face_recognition/Manifest index 9e9de3cc9..6015246c6 100644 --- a/dev-python/face_recognition/Manifest +++ b/dev-python/face_recognition/Manifest @@ -1 +1,2 @@ DIST face_recognition-1.2.3.tar.gz 3180502 BLAKE2B 00c4f6ae9559c68f8b3f4e76557417712bab27c9d0599f67a306fd307ea5d81c00ef329859240944fab67a4732ff23fff56a69cfcbc02f78b457e1d0449ef34b SHA512 e4dce03138da4f81976586210907da0a8430dca12d5b7b3a464d63c6872afa63442f2a9e64a43dccdfa6efa2ebd6a2e0e38dc99db472d4d4962b3dd264235075 +DIST face_recognition-1.3.0.tar.gz 3182249 BLAKE2B 4efcc9a0b82836acb8390812ec371f50a45052a16ba187d7a16f8fe0cede553bc0852d4dc5c27db4a3da561f7785fec8a909c1d784b810f0d7bc94fdebe79e2d SHA512 344e83f69160bced6da358360a42e124530a46f4e1c5a4c8a4b250ad45f99498aece4b870bf85e3e15fc0f5da28afd3dfc780c2bef7f2a37ec74060b2547456c diff --git a/dev-python/face_recognition/face_recognition-1.3.0.ebuild b/dev-python/face_recognition/face_recognition-1.3.0.ebuild new file mode 100644 index 000000000..d8614df60 --- /dev/null +++ b/dev-python/face_recognition/face_recognition-1.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Recognize faces from Python or from the command line" +HOMEPAGE="https://github.com/ageitgey/face_recognition https://pypi.org/project/face_recognition/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=">=dev-python/face_recognition_models-0.3.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + >=dev-python/click-6.0[${PYTHON_USEDEP}] + >=sci-libs/dlib-19.7[python,${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}