public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alfredo Moralejo <amoralej@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-futurist] noevent: Sync from RDO caracal release from python-futurist-3.0.0-1.el9s
Date: Sun, 07 Jun 2026 16:00:17 GMT [thread overview]
Message-ID: <178084801788.1.3463171845541890647.rpms-python-futurist-366ce9a4e5e0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-futurist
Branch : noevent
Commit : 366ce9a4e5e00cd71186045c0ca27b4f1f29bc0d
Author : Alfredo Moralejo <amoralej@redhat.com>
Date : 2024-05-06T12:52:45+02:00
Stats : +42/-19 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-futurist/c/366ce9a4e5e00cd71186045c0ca27b4f1f29bc0d?branch=noevent
Log:
Sync from RDO caracal release from python-futurist-3.0.0-1.el9s
---
diff --git a/.gitignore b/.gitignore
index 2634695..c892f26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,6 @@
/futurist-2.4.1.tar.gz
/0xa63ea142678138d1bb15f2e303bdfd64dd164087.txt
/futurist-2.4.1.tar.gz.asc
+/futurist-3.0.0.tar.gz
+/0x2ef3fe0ec2b075ab7458b5f8b702b20b13df2318.txt
+/futurist-3.0.0.tar.gz.asc
diff --git a/python-futurist.spec b/python-futurist.spec
index 910300a..0e8babf 100644
--- a/python-futurist.spec
+++ b/python-futurist.spec
@@ -1,9 +1,11 @@
%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} }
-%global sources_gpg_sign 0xa63ea142678138d1bb15f2e303bdfd64dd164087
+%global sources_gpg_sign 0x2ef3fe0ec2b075ab7458b5f8b702b20b13df2318
%global with_doc 1
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
+# we are excluding some BRs from automatic generator
+%global excluded_brs doc8 bandit pre-commit hacking flake8-import-order
%global pypi_name futurist
@@ -11,11 +13,11 @@
Code from the future, delivered to you in the now.
Name: python-%{pypi_name}
-Version: 2.4.1
-Release: 6%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
Summary: Useful additions to futures, from the future
-License: ASL 2.0
+License: Apache-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
@@ -32,14 +34,10 @@ BuildRequires: /usr/bin/gpgv2
%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: pyproject-rpm-macros
BuildRequires: git-core
-BuildRequires: python3-prettytable
-BuildRequires: python3-setuptools
-
%description -n python3-%{pypi_name}
%{common_desc}
@@ -48,9 +46,6 @@ BuildRequires: python3-setuptools
%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
@@ -69,24 +64,46 @@ Futurist
%endif
%autosetup -n %{pypi_name}-%{upstream_version} -S git
+sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
+sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
+sed -i /^minversion.*/d tox.ini
+sed -i /^requires.*virtualenv.*/d tox.ini
+
+# Exclude some bad-known BRs
+for pkg in %{excluded_brs};do
+ for reqfile in doc/requirements.txt test-requirements.txt; do
+ if [ -f $reqfile ]; then
+ sed -i /^${pkg}.*/d $reqfile
+ fi
+ done
+done
+
+# Automatic BR generation
+%generate_buildrequires
+%if 0%{?with_doc}
+ %pyproject_buildrequires -t -e %{default_toxenv},docs
+%else
+ %pyproject_buildrequires -t -e %{default_toxenv}
+%endif
+
%build
-%{py3_build}
+%pyproject_wheel
%if 0%{?with_doc}
# generate html docs
-sphinx-build-3 -W -b html doc/source doc/build/html
+%tox -e docs
# remove the sphinx-build-3 leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%install
-%{py3_install}
+%pyproject_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-*-py%{python3_version}.egg-info
+%{python3_sitelib}/%{pypi_name}*.dist-info
%if 0%{?with_doc}
%files -n python-%{pypi_name}-doc
@@ -95,6 +112,9 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%changelog
+* Mon May 06 2024 Alfredo Moralejo <amoralej@redhat.com> 3.0.0-1
+- Update to upstream version 3.0.0
+
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
diff --git a/sources b/sources
index b7a2a0d..86811f8 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (futurist-2.4.1.tar.gz) = 39a5ccdbfd3f513356ef6f951ba2c53048b43fd7084001e025a776a4ceca8f53e9759711f3e0548b6bebd94c8760be095117084990e72e5284db0c09e0df7003
-SHA512 (0xa63ea142678138d1bb15f2e303bdfd64dd164087.txt) = 2701e33e10913b01b0537b7a8f7ace21c2aa40fa8e9ea3f88d0ba7d1543d97bbcca3c8301fa04f1376a46fabbbc4a9d2da5b667ca2bbf1874a3de8d49b4322c7
-SHA512 (futurist-2.4.1.tar.gz.asc) = c99f45172f987e044b35c4ee6b940450a0a1bec0d414e76e0454275641ab771b482b2a663d487a2e9b32d5566b2dc0ee0f6ab35410d5ce38d8ac5a406effebdd
+SHA512 (futurist-3.0.0.tar.gz) = 7a9dbf88f11e22064c0ddc4bca94b12696696736cd36bcc7f06e5dfd4689e9e43293babc8d97094d69e1a4bab224ad3483453327090718802392ed679cb41191
+SHA512 (0x2ef3fe0ec2b075ab7458b5f8b702b20b13df2318.txt) = 488347c83564c41c9cbc8d49d83854786f09ddbb6fde7e7dfbbb2371e89b3df3e9e392a2a541e0be9bff022babbc5afc4ffecc89b43d573dc3574bff429cf8c9
+SHA512 (futurist-3.0.0.tar.gz.asc) = 8bde983b42fbb7167d7b49ab527c36c5a70cde0c7b3cd7f00b0534b099394657e7e048a57dd0736a955f3f8cac9d713a5008034f08e48343f7622121dbdbe342
reply other threads:[~2026-06-07 16:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178084801788.1.3463171845541890647.rpms-python-futurist-366ce9a4e5e0@fedoraproject.org \
--to=amoralej@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox