public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-futurist] noevent: Sync from RDO ussuri release from python-futurist-2.1.1-1.el8
@ 2026-06-07 16:00 Joel Capitao
  0 siblings, 0 replies; only message in thread
From: Joel Capitao @ 2026-06-07 16:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-futurist
Branch : noevent
Commit : 84ffe7e5fe4dfc49b0f36e14ccf83a619220e1a0
Author : Joel Capitao <jcapitao@redhat.com>
Date   : 2020-06-03T14:49:06+02:00
Stats  : +27/-45 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-futurist/c/84ffe7e5fe4dfc49b0f36e14ccf83a619220e1a0?branch=noevent

Log:
Sync from RDO ussuri release from python-futurist-2.1.1-1.el8

---
diff --git a/.gitignore b/.gitignore
index 4864bfb..0970e34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /futurist-1.7.0.tar.gz
 /futurist-1.8.1.tar.gz
 /futurist-1.9.0.tar.gz
+/futurist-2.1.1.tar.gz

diff --git a/python-futurist.spec b/python-futurist.spec
index e129c47..43e7d68 100644
--- a/python-futurist.spec
+++ b/python-futurist.spec
@@ -1,14 +1,3 @@
-# Macros for py2/py3 compatibility
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global pyver %{python3_pkgversion}
-%else
-%global pyver 2
-%endif
-%global pyver_bin python%{pyver}
-%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
-%global pyver_install %{expand:%{py%{pyver}_install}}
-%global pyver_build %{expand:%{py%{pyver}_build}}
-# End of macros for py2/py3 compatibility
 
 %global with_doc 1
 
@@ -20,8 +9,8 @@
 Code from the future, delivered to you in the now.
 
 Name:           python-%{pypi_name}
-Version:        1.9.0
-Release:        4%{?dist}
+Version:        2.1.1
+Release:        1%{?dist}
 Summary:        Useful additions to futures, from the future
 
 License:        ASL 2.0
@@ -29,41 +18,30 @@ URL:            http://docs.openstack.org/developer/futurist
 Source0:        https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz
 BuildArch:      noarch
 
-%package -n python%{pyver}-%{pypi_name}
+%package -n python3-%{pypi_name}
 Summary:        Useful additions to futures, from the future
-%{?python_provide:%python_provide python%{pyver}-%{pypi_name}}
+%{?python_provide:%python_provide python3-%{pypi_name}}
 
-BuildRequires:  python%{pyver}-devel
-BuildRequires:  python%{pyver}-pbr
+BuildRequires:  python3-devel
+BuildRequires:  python3-pbr
 BuildRequires:  git
-BuildRequires:  python%{pyver}-prettytable
-BuildRequires:  python%{pyver}-setuptools
-BuildRequires:  python%{pyver}-six
-BuildRequires:  python%{pyver}-contextlib2
-# Handle python2 exception
-%if %{pyver} == 2
-BuildRequires:  python%{pyver}-futures
-BuildRequires:  python%{pyver}-monotonic
-%endif
+BuildRequires:  python3-prettytable
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-six
+BuildRequires:  python3-contextlib2
 
-Requires:       python%{pyver}-six >= 1.10.0
-Requires:       python%{pyver}-prettytable
-Requires:       python%{pyver}-contextlib2 >= 0.4.0
-# Handle python2 exception
-%if %{pyver} == 2
-Requires:       python%{pyver}-futures >= 3.0
-Requires:       python%{pyver}-monotonic
-%endif
+Requires:       python3-six >= 1.10.0
+Requires:       python3-prettytable
 
-%description -n python%{pyver}-%{pypi_name}
+%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:  python%{pyver}-sphinx
-BuildRequires:  python%{pyver}-openstackdocstheme
+BuildRequires:  python3-sphinx
+BuildRequires:  python3-openstackdocstheme
 
 %description -n python-%{pypi_name}-doc
 %{common_desc}
@@ -80,23 +58,23 @@ Futurist
 %autosetup -n %{pypi_name}-%{upstream_version} -S git
 
 %build
-%{pyver_build}
+%{py3_build}
 
 %if 0%{?with_doc}
 # generate html docs
-sphinx-build-%{pyver} -W -b html doc/source doc/build/html
-# remove the sphinx-build-%{pyver} leftovers
+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
-%{pyver_install}
+%{py3_install}
 
-%files -n python%{pyver}-%{pypi_name}
+%files -n python3-%{pypi_name}
 %doc README.rst
 %license LICENSE
-%{pyver_sitelib}/%{pypi_name}
-%{pyver_sitelib}/%{pypi_name}-*-py?.?.egg-info
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/%{pypi_name}-*-py?.?.egg-info
 
 %if 0%{?with_doc}
 %files -n python-%{pypi_name}-doc
@@ -105,6 +83,9 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
 %changelog
+* Wed Jun 03 2020 Joel Capitao <jcapitao@redhat.com> 2.1.1-1
+- Update to upstream version 2.1.1
+
 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.9.0-4
 - Rebuilt for Python 3.9
 

diff --git a/sources b/sources
index 4a3d43b..26efdfc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (futurist-1.9.0.tar.gz) = ce7563528a321a07d80c2cf1d961afda6c718cd9f1526b0d3b3d1fa0959d994a3ed3fa2da358a9f66451ba303356bbf54e78d8679048cb2bb21a10d853460b38
+SHA512 (futurist-2.1.1.tar.gz) = f9fbb70eef8226864376b069b85da2bbc9558f37f56876179215d0fa67f3cab94bb6550ba166a7adc293118ed4665e2b7337ceae9cfd270dcf746e8948f1512e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-07 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 16:00 [rpms/python-futurist] noevent: Sync from RDO ussuri release from python-futurist-2.1.1-1.el8 Joel Capitao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox