Репозиторий Sisyphus
Последнее обновление: 12 ноября 2019 | Пакетов: 17529 | Посещений: 15709030
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-pymediainfo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define modname pymediainfo
%def_without python2

Name: python-module-%modname
Version: 4.1
Release: alt1

Summary: A Python wrapper for the mediainfo library
Group: Development/Python
License: MIT
Url: https://pypi.python.org/pypi/%modname
Source: https://pypi.io/packages/source/p/%modname/%modname-%version.tar.gz

BuildArch: noarch

Requires: libmediainfo

%{?_with_python2:
BuildRequires: python-devel
BuildRequires: python-module-setuptools_scm}

BuildRequires: python3-devel rpm-build-python3
BuildRequires: python3-module-setuptools_scm

%description
This Python module provides a wrapper around the MediaInfo library.

%package -n python3-module-%modname
Summary: A Python3 wrapper for the mediainfo library
Group: Development/Python3
Requires: libmediainfo

%description -n python3-module-%modname
This Python3 module provides a wrapper around the MediaInfo library.

%prep
%setup -n %modname-%version -a0
%{?_with_python2:cp -a %modname-%version py2build}

%build
%python3_build

%if_with python2
pushd py2bbuild
%python_build
popd
%endif

%install
%python3_install

%if_with python2
pushd py2build
%python_install
popd
%endif

%if_with python2
%files
%python_sitelibdir_noarch/%modname/
%doc README.rst
%python_sitelibdir_noarch/*.egg-info
%endif

%files -n python3-module-%modname
%python3_sitelibdir_noarch/%modname/
%doc README.rst
%python3_sitelibdir_noarch/*.egg-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin