Группа :: Development/Python3
Пакет: python3-module-flask-assets
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define srcname flask-assets
%def_disable check
Name: python3-module-%srcname
Version: 2.0
Release: alt2
Summary: Asset management for flask
License: BSD
Group: Development/Python3
URL: http://github.com/miracle2k/flask-assets
Packager: Anton Midyukov <antohami at altlinux.org>
# Source-url: http://github.com/miracle2k/flask-assets/archive/refs/tags/%version.tar.gz
Source: %srcname-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-webassets
%if_disabled check
%else
BuildRequires: python3-module-pytest
BuildRequires: python3-module-flask
BuildRequires: python3-module-yaml
%endif
BuildArch: noarch
%description
Integrates the webassets library with Flask, adding support
for merging, minifying and compiling CSS and Javascript files.
%prep
%setup -n %srcname-%version
%build
%python3_build
%check
export PYTHONPATH=%buildroot/%python3_sitelibdir/
py.test3 -v || :
%install
%python3_install
%files
%python3_sitelibdir/*
%doc *.rst
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable check
Name: python3-module-%srcname
Version: 2.0
Release: alt2
Summary: Asset management for flask
License: BSD
Group: Development/Python3
URL: http://github.com/miracle2k/flask-assets
Packager: Anton Midyukov <antohami at altlinux.org>
# Source-url: http://github.com/miracle2k/flask-assets/archive/refs/tags/%version.tar.gz
Source: %srcname-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-webassets
%if_disabled check
%else
BuildRequires: python3-module-pytest
BuildRequires: python3-module-flask
BuildRequires: python3-module-yaml
%endif
BuildArch: noarch
%description
Integrates the webassets library with Flask, adding support
for merging, minifying and compiling CSS and Javascript files.
%prep
%setup -n %srcname-%version
%build
%python3_build
%check
export PYTHONPATH=%buildroot/%python3_sitelibdir/
py.test3 -v || :
%install
%python3_install
%files
%python3_sitelibdir/*
%doc *.rst
%changelog
…
Полный changelog можно просмотреть здесь