From 3cddf17bdd16ab82cab17685f03b8dc60a4c7e7d Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 12:33:20 +0000 Subject: Import python-futurist-2.3.0-3.el9 in CloudSIG xena --- diff --git a/.python-futurist.metadata b/.python-futurist.metadata new file mode 100644 index 0000000..1b7aedf --- /dev/null +++ b/.python-futurist.metadata @@ -0,0 +1,3 @@ +4ce36c09fc5f67b5c93a3e82700551afa5599362 SOURCES/futurist-2.3.0.tar.gz +b0a848c7a138f82ad20772c96247ac33bc706bdd SOURCES/futurist-2.3.0.tar.gz.asc +1b7aaa0a8bf037d4c2097b2ecb903b4e53e10961 SOURCES/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt diff --git a/SPECS/python-futurist.spec b/SPECS/python-futurist.spec new file mode 100644 index 0000000..bac0f4a --- /dev/null +++ b/SPECS/python-futurist.spec @@ -0,0 +1,133 @@ +%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} } +%global sources_gpg_sign 0x2426b928085a020d8a90d0d879ab7008d0896c8a + +%global with_doc 1 + +%{!?upstream_version: %global upstream_version %{version}%{?milestone}} + +%global pypi_name futurist + +%global common_desc \ +Code from the future, delivered to you in the now. + +Name: python-%{pypi_name} +Version: 2.3.0 +Release: 3%{?dist} +Summary: Useful additions to futures, from the future + +License: ASL 2.0 +URL: http://docs.openstack.org/developer/futurist +Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +Source101: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz.asc +Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt +%endif +BuildArch: noarch + +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +BuildRequires: /usr/bin/gpgv2 +%endif + +%package -n python3-%{pypi_name} +Summary: Useful additions to futures, from the future +%{?python_provide:%python_provide python3-%{pypi_name}} + +BuildRequires: python3-devel +BuildRequires: python3-pbr +BuildRequires: git +BuildRequires: python3-prettytable +BuildRequires: python3-setuptools +BuildRequires: python3-six +BuildRequires: python3-contextlib2 + +Requires: python3-six >= 1.10.0 + +%description -n python3-%{pypi_name} +%{common_desc} + +%if 0%{?with_doc} +%package -n python-%{pypi_name}-doc +Summary: Useful additions to futures, from the future - documentation + +BuildRequires: python3-sphinx +BuildRequires: python3-openstackdocstheme + +%description -n python-%{pypi_name}-doc +%{common_desc} +%endif + +%description +======== +Futurist +======== + +%{common_desc} + +%prep +# Required for tarball sources verification +%if 0%{?sources_gpg} == 1 +%{gpgverify} --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0} +%endif +%autosetup -n %{pypi_name}-%{upstream_version} -S git + +%build +%{py3_build} + +%if 0%{?with_doc} +# generate html docs +sphinx-build-3 -W -b html doc/source doc/build/html +# remove the sphinx-build-3 leftovers +rm -rf doc/build/html/.{doctrees,buildinfo} +%endif + +%install +%{py3_install} + +%files -n python3-%{pypi_name} +%doc README.rst +%license LICENSE +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-*-py%{python3_version}.egg-info + +%if 0%{?with_doc} +%files -n python-%{pypi_name}-doc +%doc doc/build/html +%license LICENSE +%endif + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Oct 28 2020 Alfredo Moralejo 2.3.0-2 +- Update to upstream version 2.3.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 03 2020 Joel Capitao 2.1.1-1 +- Update to upstream version 2.1.1 + +* Tue May 26 2020 Miro Hrončok - 1.9.0-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Nov 06 2019 Alfredo Moralejo 1.9.0-2 +- Update to upstream version 1.9.0 + +* Thu Oct 03 2019 Miro Hrončok - 1.8.1-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.8.1-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Mar 08 2019 RDO 1.8.1-1 +- Update to 1.8.1 +