Группа :: Development/Python3
Пакет: python3-module-rcssmin
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname rcssmin
%def_with check
Name: python3-module-%oname
Version: 1.1.0
Release: alt1
Summary: CSS Minifier
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/%oname
# https://github.com/ndparker/rcssmin.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-pytest
%endif
%py3_provides %oname
%description
rCSSmin is a CSS minifier written in python.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%python3_sitelibdir/%oname.py
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%python3_sitelibdir/__pycache__
%python3_sitelibdir/_%oname.*.so
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 1.1.0
Release: alt1
Summary: CSS Minifier
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/%oname
# https://github.com/ndparker/rcssmin.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-pytest
%endif
%py3_provides %oname
%description
rCSSmin is a CSS minifier written in python.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%python3_sitelibdir/%oname.py
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%python3_sitelibdir/__pycache__
%python3_sitelibdir/_%oname.*.so
%changelog
…
Полный changelog можно просмотреть здесь