Projects
Eulaceura:Mainline
python-Flask-Script
_service:obs_scm:python-flask-script.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-flask-script.spec of Package python-Flask-Script
%global _empty_manifest_terminate_build 0 Name: python-flask-script Version: 2.0.6 Release: 2 Summary: Scripting support for Flask License: BSD-3-Clause URL: http://github.com/smurfix/flask-script Source0: https://files.pythonhosted.org/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-%{version}.tar.gz Patch6000: using-flask_scripti-instead-flask-ext-script.patch BuildArch: noarch BuildRequires: python3-pytest python3-flask %description Flask support for writing external scripts. %package -n python3-flask-script Summary: Scripting support for Flask Provides: python-flask-script BuildRequires: python3-devel python3-setuptools %description -n python3-flask-script Flask support for writing external scripts. %package help Summary: Development documents and examples for flask-script Provides: python3-flask-script-doc %description help Flask support for writing external scripts. %prep %autosetup -n Flask-Script-%{version} -p1 %build %py3_build %check py.test-3 tests.py %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-flask-script -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_pkgdocdir} %changelog * Wed May 11 2022 houyingchao <houyingchao@h-partners.com> - 2.0.6-2 - License compliance rectification * Mon Jun 29 2020 Python_Bot <Python_Bot@openeuler.org> - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2