代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-Flask-Admin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global srcname Flask-Admin
%global pkgname flask-admin
%global sum Simple and extensible admin interface framework for Flask
Name: python-%{pkgname}
Version: 1.5.8
Release: 2
Summary: %{sum}
License: BSD-3-Clause
URL: https://github.com/flask-admin/flask-admin/
Source0: https://files.pythonhosted.org/packages/source/F/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%global _description\
Flask-Admin is advanced, extensible and simple to use administrative interface\
building extension for Flask framework.\
\
It comes with batteries included: model scaffolding for SQLAlchemy,\
MongoEngine, MongoDB and Peewee ORMs, simple file management interface\
and a lot of usage samples.\
\
You're not limited by the default functionality - instead of providing simple\
scaffolding for the ORM models, Flask-Admin provides tools that can be used to\
construct administrative interfaces of any complexity, using a consistent look\
and feel.\
%description %_description
%package -n python%{python3_pkgversion}-%{pkgname}
Summary: %{sum}
Requires: python%{python3_pkgversion}-flask
Requires: python%{python3_pkgversion}-wtforms
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%description -n python%{python3_pkgversion}-%{pkgname} %_description
%prep
%autosetup -n %{srcname}-%{version}
for f in \
flask_admin/contrib/pymongo/typefmt.py \
flask_admin/tests/mock.py \
flask_admin/tests/fileadmin/files/dummy.txt \
; do
echo "#Empty file" > $f
done
rm -rf examples
rm flask_admin/translations/README.md
%build
%py3_build
%install
%py3_install
%check
# Tests are not included as they require mongod running
%files -n python%{python3_pkgversion}-%{pkgname}
%doc README.rst
%license LICENSE
%dir %{python3_sitelib}/flask_admin
%{python3_sitelib}/flask_admin/translations
%{python3_sitelib}/flask_admin/static
%{python3_sitelib}/flask_admin/*.py*
%{python3_sitelib}/flask_admin/__pycache__/
%{python3_sitelib}/flask_admin/tests/
%{python3_sitelib}/flask_admin/contrib/
%{python3_sitelib}/flask_admin/model/
%{python3_sitelib}/flask_admin/templates/
%{python3_sitelib}/flask_admin/form/
%{python3_sitelib}/*.egg-info/
%changelog
* Wed May 11 2022 yangping <yangping69@h-partners> - 1.5.8-2
- License compliance rectification
* Fri June 25 2021 liuliang <liuliang1@kylinos.cn> - 1.5.8-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。