|
rdobuilder |
e3eb8c |
%global pypi_name tosca-parser
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
Name: python-%{pypi_name}
|
|
rdobuilder |
e3eb8c |
Version: 2.7.0
|
|
rdobuilder |
e3eb8c |
Release: 1%{?dist}
|
|
rdobuilder |
e3eb8c |
Summary: Parser for TOSCA Simple Profile in YAML
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
License: ASL 2.0
|
|
rdobuilder |
e3eb8c |
URL: https://github.com/openstack/tosca-parser
|
|
rdobuilder |
e3eb8c |
Source0: https://pypi.io/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
rdobuilder |
e3eb8c |
BuildArch: noarch
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%description
|
|
rdobuilder |
e3eb8c |
The TOSCA Parser is an OpenStack project and licensed under Apache 2.
|
|
rdobuilder |
e3eb8c |
It is developed to parse TOSCA Simple Profile in YAML. It reads the TOSCA
|
|
rdobuilder |
e3eb8c |
templates and creates an in-memory graph of TOSCA nodes and their relationship.
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
e3eb8c |
Summary: Parser for TOSCA Simple Profile in YAML
|
|
rdobuilder |
e3eb8c |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-devel
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-pbr >= 1.3
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-PyYAML
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-setuptools
|
|
rdobuilder |
e3eb8c |
# Required for testing
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-six
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-dateutil
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-cliff
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-fixtures
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-testrepository
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-testtools
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-testscenarios
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-oslotest
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-subunit
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-stestr
|
|
rdobuilder |
e3eb8c |
# Required for doc
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-sphinx
|
|
rdobuilder |
e3eb8c |
BuildRequires: python3-openstackdocstheme
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
Requires: python3-PyYAML
|
|
rdobuilder |
e3eb8c |
Requires: python3-cliff
|
|
rdobuilder |
e3eb8c |
Requires: python3-dateutil
|
|
rdobuilder |
e3eb8c |
Requires: python3-requests
|
|
rdobuilder |
e3eb8c |
Requires: python3-stevedore
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%description -n python3-%{pypi_name}
|
|
rdobuilder |
e3eb8c |
The TOSCA Parser is an OpenStack project and licensed under Apache 2.
|
|
rdobuilder |
e3eb8c |
It is developed to parse TOSCA Simple Profile in YAML. It reads the TOSCA
|
|
rdobuilder |
e3eb8c |
templates and creates an in-memory graph of TOSCA nodes and their relationship.
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%package -n python-%{pypi_name}-doc
|
|
rdobuilder |
e3eb8c |
Summary: Parser for TOSCA Simple Profile in YAML - documentation
|
|
rdobuilder |
e3eb8c |
Provides: python3-%{pypi_name}-doc = %{version}-%{release}
|
|
rdobuilder |
e3eb8c |
Obsoletes: python3-%{pypi_name}-doc < %{version}-%{release}
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%description -n python-%{pypi_name}-doc
|
|
rdobuilder |
e3eb8c |
The TOSCA Parser is an OpenStack project and licensed under Apache 2.
|
|
rdobuilder |
e3eb8c |
This package contains its documentation
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%prep
|
|
rdobuilder |
e3eb8c |
%setup -q -n %{pypi_name}-%{version}
|
|
rdobuilder |
e3eb8c |
# Let's manage requirements using rpm.
|
|
rdobuilder |
e3eb8c |
rm -f *requirements.txt
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%build
|
|
rdobuilder |
e3eb8c |
%py3_build
|
|
rdobuilder |
e3eb8c |
sphinx-build-3 doc/source html
|
|
rdobuilder |
e3eb8c |
# remove the sphinx-build leftovers
|
|
rdobuilder |
e3eb8c |
rm -rf html/.{doctrees,buildinfo}
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%check
|
|
rdobuilder |
e3eb8c |
# Ignore test results for now, they are trying to access external URLs
|
|
rdobuilder |
e3eb8c |
# which are not accessible in Koji
|
|
rdobuilder |
e3eb8c |
PYTHON=python3 %{__python3} setup.py test || true
|
|
rdobuilder |
e3eb8c |
# Cleanup test repository
|
|
rdobuilder |
e3eb8c |
rm -rf .testrepository
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%install
|
|
rdobuilder |
e3eb8c |
%{py3_install}
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
# Set executable permission on test scripts
|
|
rdobuilder |
e3eb8c |
find %{buildroot}/%{python3_sitelib}/toscaparser/tests -name '*.sh' -execdir chmod +x '{}' \;
|
|
rdobuilder |
e3eb8c |
# Fix shebang on some test scripts
|
|
rdobuilder |
e3eb8c |
find %{buildroot}/%{python3_sitelib}/toscaparser/tests -name '*.py' -exec sed -i 's/^#!\/usr\/bin\/python/#!\/usr\/bin\/python3/' {} \;
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%files -n python3-%{pypi_name}
|
|
rdobuilder |
e3eb8c |
%doc README.rst
|
|
rdobuilder |
e3eb8c |
%license LICENSE
|
|
rdobuilder |
e3eb8c |
%{_bindir}/tosca-parser
|
|
rdobuilder |
e3eb8c |
%{python3_sitelib}/toscaparser
|
|
rdobuilder |
e3eb8c |
%{python3_sitelib}/tosca_parser-%{version}-py%{python3_version}.egg-info
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%files -n python-%{pypi_name}-doc
|
|
rdobuilder |
e3eb8c |
%doc html README.rst
|
|
rdobuilder |
e3eb8c |
%license LICENSE
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
%changelog
|
|
rdobuilder |
e3eb8c |
* Wed Nov 30 2022 Alfredo Moralejo <amoralej@redhat.com> - 2.7.0-1
|
|
rdobuilder |
e3eb8c |
- Update to 2.7.0
|
|
rdobuilder |
e3eb8c |
- Removed -3 sufixed binaries as it's only python3 packaged.
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 2.6.0-2
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.11
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Jun 01 2022 Joel Capitao <jcapitao@redhat.com> - 2.6.0-1
|
|
rdobuilder |
e3eb8c |
- Update to 2.6.0
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
rdobuilder |
e3eb8c |
- Second attempt - Rebuilt for
|
|
rdobuilder |
e3eb8c |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.0-3
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.10
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 2.1.0-1
|
|
rdobuilder |
e3eb8c |
- Update to 2.1.0
|
|
rdobuilder |
e3eb8c |
- Remove python2 subpackage
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Mon Jun 01 2020 Javier Peña <jpena@redhat.com> - 1.4.0-7
|
|
rdobuilder |
e3eb8c |
- Remove python-hacking requirement, it is not actually needed for the build
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-6
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.9
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-4
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-3
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.8
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Jan 31 2019 Alfredo Moralejo <amoralej@redhat.xom> - 1.4.0-1
|
|
rdobuilder |
e3eb8c |
- Update to 1.4.0.
|
|
rdobuilder |
e3eb8c |
- Remove python2 subpackages in Fedora.
|
|
rdobuilder |
e3eb8c |
- Make documentation subpackage unversioned
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Sep 11 2018 Javier Peña <jpena@redhat.com> - 1.1.0-1
|
|
rdobuilder |
e3eb8c |
- Updated to upsteam 1.1.0 (bz#1541379)
|
|
rdobuilder |
e3eb8c |
- Fix unversioned python shebangs
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-4
|
|
rdobuilder |
e3eb8c |
- Rebuilt for Python 3.7
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.1-3
|
|
rdobuilder |
e3eb8c |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
e3eb8c |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Mon Aug 14 2017 Javier Peña <jpena@redhat.com> - 0.8.1-1
|
|
rdobuilder |
e3eb8c |
- Updated to upstream release 0.8.1
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
rdobuilder |
e3eb8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Mon Jan 23 2017 Javier Peña <jpena@redhat.com> - 0.7.0-1
|
|
rdobuilder |
e3eb8c |
- Updated to upstream release 0.7.0
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-4
|
|
rdobuilder |
e3eb8c |
- Rebuild for Python 3.6
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Nov 02 2016 Javier Peña <jpena@redhat.com> - 0.6.0-3
|
|
rdobuilder |
e3eb8c |
- Fix shebang for certain test scripts in python3 subpackage, so python2 is not included (bz#1390505)
|
|
rdobuilder |
e3eb8c |
- Invert test execution, so python3 tests are executed
|
|
rdobuilder |
e3eb8c |
- Use pypi.io for Source0 URL
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Aug 16 2016 Javier Peña <jpena@redhat.com> - 0.6.0-2
|
|
rdobuilder |
e3eb8c |
- Ignore test results, they're trying to access the Internet
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Aug 16 2016 Javier Peña <jpena@redhat.com> - 0.6.0-1
|
|
rdobuilder |
e3eb8c |
- Updated to upstream version 0.6.0
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Sep 09 2015 jpena <jpena@redhat.com> - 0.1.0-3
|
|
rdobuilder |
e3eb8c |
- Fix file permissions for test scripts
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Wed Sep 09 2015 jpena <jpena@redhat.com> - 0.1.0-2
|
|
rdobuilder |
e3eb8c |
- Created docs subpackages
|
|
rdobuilder |
e3eb8c |
- Added tests
|
|
rdobuilder |
e3eb8c |
- Fixes for python3 subpkg
|
|
rdobuilder |
e3eb8c |
|
|
rdobuilder |
e3eb8c |
* Tue Sep 08 2015 jpena <jpena@redhat.com> - 0.1.0-1
|
|
rdobuilder |
e3eb8c |
- Initial package.
|