Projects
Eulaceura:Factory
python-hug
_service:obs_scm:python-hug.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-hug.spec of Package python-hug
# Created by pyp2rpm-zoujiancang-3.2.2 %global pypi_name hug Name: python-%{pypi_name} Version: 2.6.1 Release: 1%{?dist} Summary: A Python framework that makes developing APIs as simple as possible, but no simpler License: MIT URL: https://github.com/hugapi/hug Source0: https://files.pythonhosted.org/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Patch1: 0001-modify-the-version-restriction-of-falcon-to-ge-2.0.0.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest-runner BuildRequires: python3-pytest BuildRequires: python3-mock BuildRequires: python3-marshmallow BuildRequires: python3-setuptools %description hug's Design Objectives: - Make developing a Python driven API as succinct as a written definition. - The framework should encourage code that self-documents. - It should be fast. A developer should never feel the need to look somewhere else for performance reasons. - Writing tests for APIs written on-top of hug should be easy and intuitive. - Magic done once, in an API framework, is better than pushing the problem set to the user of the API framework. - Be the basis for next generation Python APIs, embracing the latest technology. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} hug's Design Objectives: - Make developing a Python driven API as succinct as a written definition. - The framework should encourage code that self-documents. - It should be fast. A developer should never feel the need to look somewhere else for performance reasons. - Writing tests for APIs written on-top of hug should be easy and intuitive. - Magic done once, in an API framework, is better than pushing the problem set to the user of the API framework. - Be the basis for next generation Python APIs, embracing the latest technology. %prep %autosetup -p1 -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install cp %{buildroot}/%{_bindir}/hug %{buildroot}/%{_bindir}/hug-%{python3_version} ln -s %{_bindir}/hug-%{python3_version} %{buildroot}/%{_bindir}/hug-3 %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{_bindir}/hug %{_bindir}/hug-3 %{_bindir}/hug-%{python3_version} %{python3_sitelib}/%{pypi_name}* %changelog * Wed Jun 14 2023 zoujiancang <jczou@isoftstone.com> - 2.6.1-1 - Initial package.
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