!1 Add initial package of sphinx-feature-classification
From: @sean-lau Reviewed-by: @shinwell_hu Signed-off-by:
This commit is contained in:
commit
94dcecb80c
66
python-sphinx-feature-classification.spec
Normal file
66
python-sphinx-feature-classification.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
Name: python-sphinx-feature-classification
|
||||||
|
Version: 1.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: OpenStack sphinx-feature-classification library
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://docs.openstack.org/sphinx-feature-classification/latest/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-feature-classification/sphinx-feature-classification-1.1.0.tar.gz
|
||||||
|
BuildRequires: openstack-macros
|
||||||
|
BuildRequires: python3-ddt
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-oslotest
|
||||||
|
BuildRequires: python3-pbr
|
||||||
|
BuildRequires: python3-testrepository
|
||||||
|
BuildRequires: python3-testtools
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a Sphinx directive that allows creating matrices of drivers
|
||||||
|
a project contains and which features they support.
|
||||||
|
|
||||||
|
%package -n python3-sphinx-feature-classification
|
||||||
|
Summary: OpenStack sphinx-feature-classification library
|
||||||
|
Requires: python3-docutils
|
||||||
|
Requires: python3-pbr
|
||||||
|
|
||||||
|
%description -n python3-sphinx-feature-classification
|
||||||
|
This is a Sphinx directive that allows creating matrices of drivers
|
||||||
|
a project contains and which features they support.
|
||||||
|
|
||||||
|
%package -n python-sphinx-feature-classification-doc
|
||||||
|
Summary: Documentation for the OpenStack sphinx-feature-classification library
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
BuildRequires: python3-openstackdocstheme
|
||||||
|
|
||||||
|
%description -n python-sphinx-feature-classification-doc
|
||||||
|
Documentation for the OpenStack sphinx-feature-classification library.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n sphinx-feature-classification-1.1.0
|
||||||
|
%py_req_cleanup
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{py3_build}
|
||||||
|
|
||||||
|
PYTHONPATH=. sphinx-build-3 -b html doc/source doc/build/html
|
||||||
|
# remove the sphinx-build leftovers
|
||||||
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{py3_install}
|
||||||
|
|
||||||
|
%check
|
||||||
|
PYTHON=python3 python3 setup.py test
|
||||||
|
|
||||||
|
%files -n python3-sphinx-feature-classification
|
||||||
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/sphinx_feature_classification
|
||||||
|
%{python3_sitelib}/*.egg-info
|
||||||
|
|
||||||
|
%files -n python-sphinx-feature-classification-doc
|
||||||
|
%doc doc/build/html README.rst
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Feb 03 2021 liusheng <liusheng2048@gmail.com> - 1.1.0-1
|
||||||
|
- Initial package
|
||||||
BIN
sphinx-feature-classification-1.1.0.tar.gz
Normal file
BIN
sphinx-feature-classification-1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user