public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-futurist] noevent: Update to upstream 0.19.0
@ 2026-06-07 16:00 Javier Pena
0 siblings, 0 replies; only message in thread
From: Javier Pena @ 2026-06-07 16:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-futurist
Branch : noevent
Commit : fc83fb848104e4b600d072feb1c41d166c368f84
Author : Javier Pena <jpena@redhat.com>
Date : 2016-10-21T11:10:16+02:00
Stats : +27/-32 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-futurist/c/fc83fb848104e4b600d072feb1c41d166c368f84?branch=noevent
Log:
Update to upstream 0.19.0
- Cleanup package
- Add doc subpackage
---
diff --git a/.gitignore b/.gitignore
index 8b930f6..79b343e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/futurist-0.13.0.tar.gz
/futurist-0.17.0.tar.gz
/futurist-0.18.0.tar.gz
+/futurist-0.19.0.tar.gz
diff --git a/python-futurist.spec b/python-futurist.spec
index f3e2ace..d82e33d 100644
--- a/python-futurist.spec
+++ b/python-futurist.spec
@@ -7,7 +7,7 @@
%global pypi_name futurist
Name: python-%{pypi_name}
-Version: 0.18.0
+Version: 0.19.0
Release: 1%{?dist}
Summary: Useful additions to futures, from the future
@@ -63,6 +63,12 @@ Requires: python3-prettytable
Code from the future, delivered to you in the now.
%endif
+%package -n python-%{pypi_name}-doc
+Summary: Useful additions to futures, from the future - documentation
+
+%description -n python-%{pypi_name}-doc
+Code from the future, delivered to you in the now. (documentation)
+
%description
========
Futurist
@@ -71,62 +77,50 @@ Futurist
Code from the future, delivered to you in the now.
%prep
-%setup -qc
-
-mv %{pypi_name}-%{upstream_version} python2
-pushd python2
-# copy LICENSE etc. to top level dir
-cp -a LICENSE ..
-cp -a README.rst ..
-popd
+%setup -q -n %{pypi_name}-%{version}
+%build
%if 0%{?with_python3}
-cp -a python2 python3
-%endif
+%py3_build
+%endif # with_python3
+%py2_build
-%build
-pushd python2
-%{__python2} setup.py build
# generate html docs
sphinx-build doc/source html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
-# Copy doc to top level dir
-cp -a html ..
-popd
-%if 0%{?with_python3}
-pushd python3
-%{__python3} setup.py build
-popd
-%endif # with_python3
%install
-pushd python2
-%{__python2} setup.py install --skip-build --root %{buildroot}
-popd
-
%if 0%{?with_python3}
-pushd python3
-%{__python3} setup.py install --skip-build --root %{buildroot}
-popd
+%py3_install
%endif
+%py2_install
%files -n python2-%{pypi_name}
-%doc html README.rst
+%doc README.rst
%license LICENSE
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
-%doc html README.rst
+%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%endif
+%files -n python-%{pypi_name}-doc
+%doc html
+%license LICENSE
+
%changelog
+* Fri Oct 21 2016 Javier Peña <jpena@redhat.com> - 0.19.0-1
+- Update to upstream 0.19.0
+- Cleanup package
+- Add doc subpackage
+
* Thu Sep 22 2016 Javier Peña <jpena@redhat.com> - 0.18.0-1
- Update to upstream 0.18.0
diff --git a/sources b/sources
index e5d038c..e25cf1e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b0a02ae09c17ba61dc1560707a13547f futurist-0.18.0.tar.gz
+ee681c849f89e43d354fa7a01317c474 futurist-0.19.0.tar.gz
^ 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: Update to upstream 0.19.0 Javier Pena
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox