dev-python/moviepy: new ebuild
authorHorea Christian <horea.christ@yandex.com>
Fri, 2 Sep 2016 23:27:02 +0000 (01:27 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 5 Sep 2016 21:10:07 +0000 (23:10 +0200)
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2206

Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/moviepy/Manifest [new file with mode: 0644]
dev-python/moviepy/metadata.xml [new file with mode: 0644]
dev-python/moviepy/moviepy-0.2.2.ebuild [new file with mode: 0644]

diff --git a/dev-python/moviepy/Manifest b/dev-python/moviepy/Manifest
new file mode 100644 (file)
index 0000000..291f697
--- /dev/null
@@ -0,0 +1 @@
+DIST moviepy-0.2.2.tar.gz 400489 SHA256 751e2165dc54ceb9bc91b6ad52d09d28c3c33723b4869c73c47435c4200a2247 SHA512 a4300b31552e8b4120448b8973ce812579b4f38be48fb46546f4a33e9c10903fb73a89c8075d161d441ecf084b3936ef7d6f0d1b637ad347d00db2c643f1cc43 WHIRLPOOL 73ad6b602d95a75cec765f15179121e79cf4fdd8e5eb5aaa79ebbbdfd5445325dd1f3005242348f063fae3c544d4f0a55bb009516fe30b22c62909d86a7665e3
diff --git a/dev-python/moviepy/metadata.xml b/dev-python/moviepy/metadata.xml
new file mode 100644 (file)
index 0000000..c59c718
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>horea.christ@gmail.com</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+               MoviePy is a Python module for video editing: cuts, concatenations, 
+               title insertions, video compositing (a.k.a. non-linear editing), 
+               video processing, and creation of custom effects. See the gallery
+               for some examples of use.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">Zulko/moviepy</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/moviepy/moviepy-0.2.2.ebuild b/dev-python/moviepy/moviepy-0.2.2.ebuild
new file mode 100644 (file)
index 0000000..6cd0e12
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Video editing with Python"
+HOMEPAGE="http://zulko.github.io/moviepy/"
+SRC_URI="https://github.com/Zulko/moviepy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+       "
+RDEPEND="
+       dev-python/decorator[${PYTHON_USEDEP}]
+       dev-python/imageio[${PYTHON_USEDEP}]
+       dev-python/matplotlib[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pygame[${PYTHON_USEDEP}]
+       dev-python/tqdm[${PYTHON_USEDEP}]
+       dev-python/urllib3[${PYTHON_USEDEP}]
+       sci-libs/scipy[${PYTHON_USEDEP}]
+       virtual/ffmpeg
+       "
+
+python_test() {
+       py.test --verbose || die
+}