commit 0cbd7571ee93cf447e74ee2538bfe662593296051c82ae4136ad9fdd2d185145 Author: Matej Cepl Date: Tue Jan 14 20:52:18 2020 +0000 Accepting request 764348 from home:mnhauke Initial package for python-ffmpeg-python OBS-URL: https://build.opensuse.org/request/show/764348 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ffmpeg-python?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ffmpeg-python-0.2.0.tar.gz b/ffmpeg-python-0.2.0.tar.gz new file mode 100644 index 0000000..daf600b --- /dev/null +++ b/ffmpeg-python-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01b6b7640f00585a404194a358358bdf7f4050cedcd99f41416ac8b27222c9f1 +size 3267771 diff --git a/python-ffmpeg-python.changes b/python-ffmpeg-python.changes new file mode 100644 index 0000000..0912849 --- /dev/null +++ b/python-ffmpeg-python.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Tue Jan 14 15:06:28 UTC 2020 - Martin Hauke + +- Update to version 0.2.0 +- Package cleanup +- Use github source URL +- Package license file +- Run testsuite + +------------------------------------------------------------------- +Fri Jul 13 12:36:38 UTC 2018 - daniel.molkentin@suse.com + +- Initial checkin diff --git a/python-ffmpeg-python.spec b/python-ffmpeg-python.spec new file mode 100644 index 0000000..99bf878 --- /dev/null +++ b/python-ffmpeg-python.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-ffmpeg-python +# +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-ffmpeg-python +Version: 0.2.0 +Release: 0 +Summary: Python bindings for FFmpeg +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/kkroening/ffmpeg-python +Source: https://github.com/kkroening/ffmpeg-python/archive/%{version}.tar.gz#/ffmpeg-python-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module future} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} +BuildRequires: ffmpeg +# /SECTION +Recommends: ffmpeg +BuildArch: noarch +%python_subpackages + +%description +Python bindings for FFmpeg - with complex filtering support + +%prep +%setup -q -n ffmpeg-python-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# skip some tests since we do not have ffmpeg with mp4-support on the public OBS instance +%pytest -k 'not (test__run or test__run__multi_output)' + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/ffmpeg* + +%changelog