Notification time stamped 2023-07-31 23:16:35 UTC
From 7a7bdebed6345d04a9a4926b64b3028bffe471f8 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jul 31 2023 23:04:58 +0000
Subject: Patch out unwanted linting and coverage test dependencies
---
diff --git a/geotiler-0.14.7-linters.patch b/geotiler-0.14.7-linters.patch
new file mode 100644
index 0000000..d2846a4
--- /dev/null
+++ b/geotiler-0.14.7-linters.patch
@@ -0,0 +1,16 @@
+diff -Naur geotiler-0.14.7-original/setup.cfg geotiler-0.14.7/setup.cfg
+--- geotiler-0.14.7-original/setup.cfg 2023-07-31 18:51:55.975315601 -0400
++++ geotiler-0.14.7/setup.cfg 2023-07-31 18:52:49.325050815 -0400
+@@ -33,10 +33,10 @@
+ setuptools
+
+ [options.extras_require]
+-tests = mypy; pytest-cov; pytest-timeout; pytest-asyncio; numpy
++tests = pytest-timeout; pytest-asyncio; numpy
+
+ [tool:pytest]
+-addopts = --cov geotiler --cov-report=term-missing
++addopts =
+
+ [tool:coverage:report]
+ show_missing = 1
diff --git a/python-geotiler.spec b/python-geotiler.spec
index 45a5a3e..c124e61 100644
--- a/python-geotiler.spec
+++ b/python-geotiler.spec
@@ -42,6 +42,9 @@ Patch: geotiler-0.14.7-tests.patch
#
https://github.com/wrobell/geotiler/commit/5e0cfbafcda83ca14cfe6c63b2a791...
# Rebased on the 0.14.7 PyPI sdist (whitespace differs in setup.cfg)
Patch: geotiler-0.14.7-pillow10.patch
+# Downstream-only: patch out linting and coverage dependencies
+#
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+Patch: geotiler-0.14.7-linters.patch
BuildRequires: python3-devel
BuildRequires: make
@@ -138,6 +141,7 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \
* Mon Jul 31 2023 Benjamin A. Beasley <code(a)musicinmybrain.net> - 0.14.7-4
- Patch out unused uvloop test dependency
- Patch for Pillow 10 (fix RHBZ#2220253, fix RHBZ#2226199)
+- Patch out unwanted linting and coverage test dependencies
* Fri Jul 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.14.7-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
https://src.fedoraproject.org/rpms/python-geotiler/c/7a7bdebed6345d04a9a4...