public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-tilestache] rawhide: Fix F45FTBFS + spec cleanup and modernization
Date: Thu, 06 Aug 2026 00:28:26 GMT [thread overview]
Message-ID: <178597610669.1.17854773256118247958.rpms-python-tilestache-ebc2becbfc6a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-tilestache
Branch : rawhide
Commit : ebc2becbfc6aec8148ff7a25f7e615c7ee3aefd0
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-05T21:27:06-03:00
Stats : +16/-12 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-tilestache/c/ebc2becbfc6aec8148ff7a25f7e615c7ee3aefd0?branch=rawhide
Log:
Fix F45FTBFS + spec cleanup and modernization
Resolves: rhbz#2378277
Resolves: rhbz#2485969
Resolves: rhbz#2504587
---
diff --git a/.gitignore b/.gitignore
index 4ecd51f..2a91a34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/TileStache-86a331e6d8bad7fac1a4a53b46a2bd49c848f348.tar.gz
-/TileStache-e96532bf59bf79c9991dcc06628f28b27bb19c08.tar.gz
+/TileStache-*.tar.gz
diff --git a/python-tilestache.spec b/python-tilestache.spec
index 2df7af0..5e51c9b 100644
--- a/python-tilestache.spec
+++ b/python-tilestache.spec
@@ -1,7 +1,9 @@
%global pkgname tilestache
%global srcname TileStache
+%global forgeurl https://github.com/TileStache/TileStache
%global commit e96532bf59bf79c9991dcc06628f28b27bb19c08
+%forgemeta
Name: python-%{pkgname}
Version: 1.51.14
@@ -9,8 +11,8 @@ Release: 27%{?dist}
Summary: A stylish alternative for caching your map tiles
License: BSD-3-Clause
-URL: http://tilestache.org
-Source0: https://github.com/%{srcname}/%{srcname}/archive/%{commit}/%{srcname}-%{commit}.tar.gz
+URL: %{forgeurl}
+Source: %{forgesource}
# Modify font search to find the system DejaVuSansMono.ttf - Not submitted upstream
Patch0: %{name}-1.49.11-use-system-fonts.patch
@@ -56,13 +58,12 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-gdal
BuildRequires: python%{python3_pkgversion}-memcached
BuildRequires: python%{python3_pkgversion}-modestmaps >= 1.3.0
+BuildRequires: python%{python3_pkgversion}-pkg-resources
BuildRequires: python%{python3_pkgversion}-pytest
-BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-shapely
BuildRequires: python%{python3_pkgversion}-werkzeug
Requires: font(dejavusansmono)
Conflicts: python2-%{pkgname} < %{version}-%{release}
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%if %{undefined __pythondist_requires}
Requires: python%{python3_pkgversion}-imaging
@@ -86,12 +87,17 @@ sed -i '1i #!%{_bindir}/bash' examples/zoom_example/run_server.sh
sed -i '1{s@^#!/usr/bin/env python@#!%{__python3}@}' examples/geotiff/server.py
+%generate_buildrequires
+%pyproject_buildrequires
+
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{srcname}
install -d %{buildroot}%{_mandir}/man1
install -p -m0644 man/tilestache-clean.1 %{buildroot}%{_mandir}/man1/
@@ -106,6 +112,8 @@ cp -a examples %{buildroot}%{_datadir}/%{srcname}/
%check
+%pyproject_check_import -e 'TileStache.Goodies.Proj4Projection' -e 'TileStache.Goodies.Providers.Composite' -e 'TileStache.Goodies.Providers.MapnikGrid' -e 'TileStache.Goodies.Providers.MirrorOSM' -e 'TileStache.Goodies.StatusServer' -e 'TileStache.Goodies.VecTiles*'
+
NO_DATABASE=1 OFFLINE_TESTS=1 %pytest \
--override-ini 'python_files=*_tests.py' \
--ignore tests/vectiles_tests.py \
@@ -117,11 +125,8 @@ NO_DATABASE=1 OFFLINE_TESTS=1 %pytest \
%doc README.md
%{_datadir}/%{srcname}
-%files -n python%{python3_pkgversion}-%{pkgname}
-%license LICENSE
+%files -n python%{python3_pkgversion}-%{pkgname} -f %{pyproject_files}
%doc API.html CHANGELOG README.md
-%{python3_sitelib}/%{srcname}/
-%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
%{_bindir}/tilestache-clean.py
%{_bindir}/tilestache-compose.py
%{_bindir}/tilestache-list.py
reply other threads:[~2026-08-06 0:28 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=178597610669.1.17854773256118247958.rpms-python-tilestache-ebc2becbfc6a@fedoraproject.org \
--to=rosset.filipe@gmail.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