dev-python/scenedetect: new package 0.5.5

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-02-10 19:24:44 +13:00
parent 378fd39928
commit 4d84de936c
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST scenedetect-0.5.5.tar.gz 233089 BLAKE2B ae6b54c7e601cd107fdcb28a6fa5ca29c0c613b54a677c0ac1ae43d984a2beb5e8d8e978cea2cc66fc2b320ab4ecd14b8c8b652bd4552340a1b1ebee031fde0f SHA512 858528fa8852ca528f0f6312b67cbbab5037e81b8834ebb7337c87fff8e4066f6b1ae7487fe8cf7d78894a2fab4519b44ff8cd1c9f2ec6bd24b4be8f32388267

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>Theo Anderson</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Video Scene Cut Detection and Analysis Tool"
HOMEPAGE="https://github.com/Breakthrough/PySceneDetect"
SRC_URI="https://github.com/Breakthrough/PySceneDetect/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test" # Requires video file not provided
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
media-libs/opencv[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/PySceneDetect-${PV}
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
sed -i -e '/setup_requires/d' -e '/extras_require/d' setup.py || die
}