dev-python/scenedetect: treeclean

Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek committed 2021-10-09 21:42:47 +13:00
1 parent 38491e3839
commit 054da76734
4 files changed
-80

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
DIST scenedetect-0.5.5.tar.gz 233089 BLAKE2B ae6b54c7e601cd107fdcb28a6fa5ca29c0c613b54a677c0ac1ae43d984a2beb5e8d8e978cea2cc66fc2b320ab4ecd14b8c8b652bd4552340a1b1ebee031fde0f SHA512 858528fa8852ca528f0f6312b67cbbab5037e81b8834ebb7337c87fff8e4066f6b1ae7487fe8cf7d78894a2fab4519b44ff8cd1c9f2ec6bd24b4be8f32388267
DIST scenedetect-0.5.6.tar.gz 240161 BLAKE2B 0f613f65656a5ab973928553070b7438812c1f9894d9df43e164c342d63147eba7342c1e3b38da3a191fa75014e98481f55ce2775d901e3ae172986f7d3a2174 SHA512 ed634acfe6087db659c8d50f353c8cbbf7a730aa0502b10f014cf2df2c60c5d6fdfa2ef38a53df2ffafb32271abd0e068005764c19899bb58cca148ccca04422
-8
View File
@@ -1,8 +0,0 @@
<?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>James Beddek</name>
</maintainer>
</pkgmetadata>
@@ -1,35 +0,0 @@
# 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
}
@@ -1,35 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{7..9} )
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
sed -i 's/description-file/description_file/' setup.cfg || die # bug #800581
}