media-video/vcsi: new package
authorjuippis <juippis@gmail.com>
Wed, 11 Apr 2018 15:12:34 +0000 (18:12 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sat, 2 Jun 2018 18:40:40 +0000 (20:40 +0200)
Closes: https://github.com/gentoo/gentoo/pull/7940

media-video/vcsi/Manifest [new file with mode: 0644]
media-video/vcsi/metadata.xml [new file with mode: 0644]
media-video/vcsi/vcsi-7.ebuild [new file with mode: 0644]

diff --git a/media-video/vcsi/Manifest b/media-video/vcsi/Manifest
new file mode 100644 (file)
index 0000000..5a0f31f
--- /dev/null
@@ -0,0 +1 @@
+DIST vcsi-7.tar.gz 18350 BLAKE2B 840f17db49a0b538a53bc0c3cd426e117d6a29d4b6f7b1ab7bf2f3a1697ea903a908f19b798c5898abf3cb0d308b34aeffc863517c682b8b9a114f5f9dcefb42 SHA512 5b5a3b9db76003c364aef0574a1b43c1177f5b7dae1339be981d6358c38102f0e7f275c9ec074e7cdd6b042ae30b982cfbbffa35c67eb8e2fc887c00073f2e48
diff --git a/media-video/vcsi/metadata.xml b/media-video/vcsi/metadata.xml
new file mode 100644 (file)
index 0000000..d9a6217
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>juippis@gmail.com</email>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+</pkgmetadata>
diff --git a/media-video/vcsi/vcsi-7.ebuild b/media-video/vcsi/vcsi-7.ebuild
new file mode 100644 (file)
index 0000000..87cb0c1
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Create thumbnail sheets from video files"
+HOMEPAGE="https://github.com/amietn/vcsi"
+SRC_URI="https://github.com/amietn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+       >=dev-python/jinja-2[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pillow[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+RDEPEND="
+       dev-python/parsedatetime[${PYTHON_USEDEP}]
+       >=dev-python/texttable-1.0[${PYTHON_USEDEP}]
+       media-fonts/dejavu
+       media-video/ffmpeg
+"
+
+python_test() {
+       nosetests -v tests || die "python tests failed with nose"
+}