#1 Initial packaging
Merged 4 years ago by zuul. Opened 4 years ago by fbo.
rpms/ fbo/python-sphinxcontrib-openapi initial2  into  master

file added
+3
@@ -0,0 +1,3 @@ 

+ *.rpm

+ *.tar.gz

+ *.gz

file removed
-3
@@ -1,3 +0,0 @@ 

- # python-sphinxcontrib-openapi

- 

- The python-sphinxcontrib-openapi package 

\ No newline at end of file

@@ -0,0 +1,58 @@ 

+ %global srcname sphinxcontrib-openapi

+ %global _description %{expand:

+ Sphinx extension to generate APIs docs from OpenAPI (fka Swagger) spec.

+ It depends on sphinxcontrib-httpdomain that provides an HTTP domain

+ for describing RESTful HTTP APIs, so we don’t need to reinvent the wheel.}

+ 

+ Name:           python-%{srcname}

+ Version:        0.6.0

+ Release:        1%{?dist}

+ Summary:        OpenAPI spec renderer for Sphinx

+ 

+ # There are test files under the ASL 2.0 license, but we don't ship them in the built RPM

+ License:        BSD

+ URL:            https://sphinxcontrib-openapi.readthedocs.io/

+ Source0:        %pypi_source

+ 

+ BuildArch:      noarch

+ 

+ %description %_description

+ 

+ %package -n python3-%{srcname}

+ Summary:        %{summary}

+ BuildRequires:  python3-devel

+ BuildRequires:  python3-setuptools

+ BuildRequires:  python3-setuptools_scm

+ BuildRequires:  python3-pytest

+ BuildRequires:  python3-sphinx

+ BuildRequires:  python3-pyyaml

+ BuildRequires:  python3-jsonschema

+ BuildRequires:  python3-sphinxcontrib-httpdomain

+ %{?python_provide:%python_provide python3-%{srcname}}

+ 

+ %description -n python3-%{srcname} %_description

+ 

+ %prep

+ %autosetup -n %{srcname}-%{version}

+ 

+ %build

+ %py3_build

+ 

+ %install

+ %py3_install

+ 

+ %check

+ %{python3} -m pytest tests/ --strict

+ 

+ %files -n python3-%{srcname}

+ %license LICENSE

+ %doc README.rst

+ %{python3_sitelib}/sphinxcontrib/openapi*

+ %{python3_sitelib}/sphinxcontrib_openapi*

+ 

+ %changelog

+ * Tue Mar 10 2020 Fabien Boucher <fboucher@redhat.com> - 0.6.0-1

+ - Adapt packaging for Rawhide from Software Factory packaging.

+ 

+ * Wed Aug 14 2019 Tristan Cacqueray <tdecacqu@redhat.com> - 0.4.0-1

+ - Initial packaging

file added
+1
@@ -0,0 +1,1 @@ 

+ SHA512 (sphinxcontrib-openapi-0.6.0.tar.gz) = 26e109bad7f9b84b1559bd07cab2f9746de15fce2d1ece3c4bc48de1a085fb97c008014e0979c7ddcdda63b22d53a56cd9d19d2eb128dcb637a198e1cab9ee3d

no initial comment

Build succeeded.

Metadata Update from @fbo:
- Pull-request tagged with: gateit

4 years ago

Build succeeded (gate pipeline).

Pull-Request has been merged by zuul

4 years ago

Build succeeded (promote pipeline).