Репозиторий Sisyphus
Последнее обновление: 25 мая 2020 | Пакетов: 17559 | Посещений: 18608574
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-yandex_music

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

%define _unpackaged_files_terminate_build 1
%define mname yandex_music

Name: python3-module-%mname
Version: 0.1.1
Release: alt1
Summary: Unofficial library for Yandex.Music API
License: LGPLv3
Group: Development/Python3
Url: https://github.com/MarshalX/yandex-music-api
Source: %name-%version.tar
Packager: Alexander Makeenkov <amakeenk at altlinux.org>

BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-sphinx
BuildRequires: python3-module-sphinx_rtd_theme

%description
%summary.

%package -n %name-tests
Summary: Tests for %name
Group: Development/Python3
BuildArch: noarch
Requires: %name

%description -n %name-tests
This package contains tests for %name.

%package -n %name-docs
Summary: Documentation for %name
Group: Development/Python3
BuildArch: noarch

%description -n %name-docs
This package contains documentation for %name.

%prep
%setup

%build
%python3_build
pushd docs
SPHINXBUILD=sphinx-build-3 make html

%install
%python3_install
cp -pr tests %buildroot%python3_sitelibdir/%mname
cp -pr docs/build/html %buildroot%python3_sitelibdir/%mname/docs
rm -rf %buildroot%python3_sitelibdir/tests

%files
%python3_sitelibdir/%mname
%python3_sitelibdir/%mname-%version-py%_python3_version.egg-info
%exclude %python3_sitelibdir/%mname/docs
%exclude %python3_sitelibdir/%mname/tests
%doc LICENSE README.rst

%files -n %name-tests
%python3_sitelibdir/%mname/tests

%files -n %name-docs
%python3_sitelibdir/%mname/docs

%changelog

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

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