14
0
forked from pool/python-knowit

Required by new python-subliminal

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knowit?expand=0&rev=1
This commit is contained in:
2025-06-04 12:32:21 +00:00
committed by Git OBS Bridge
commit bb6bf93aaf
5 changed files with 101 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
knowit-0.5.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ca8fe4b93d6ec3ff753a8f6f3c641020a6801c11d42545ccb270523281f8cca
size 28573

4
python-knowit.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat May 3 06:23:49 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
- Initial package (v0.5.6)

70
python-knowit.spec Normal file
View File

@@ -0,0 +1,70 @@
#
# spec file for package python-knowit
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: python-knowit
Version: 0.5.6
Release: 0
Summary: Extract information from video files
License: MIT
URL: https://github.com/ratoaq2/knowit
Source0: https://files.pythonhosted.org/packages/source/k/knowit/knowit-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-babelfish >= 0.6.1
Requires: python-enzyme >= 0.5.2
Requires: python-Pint >= 0.20.1
Requires: python-pymediainfo >= 6.0.1
Requires: python-PyYAML >= 6.0
Requires: python-trakit >= 0.2.2
BuildArch: noarch
%python_subpackages
%description
To extract information from video files.
%prep
%autosetup -n knowit-%{version}
chmod -x knowit/provider.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/knowit
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative knowit
%postun
%python_uninstall_alternative knowit
%files %{python_files}
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/knowit
%{python_sitelib}/knowit
%{python_sitelib}/knowit-%{version}.dist-info
%changelog