Compare commits

...
Sign in to create a new pull request.

85 commits

Author SHA1 Message Date
Fedora Release Engineering
bf30296f9e Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 19:33:40 +00:00
Packit
d2d3c3f96a Update to 1.1.4 upstream release
- Resolves: rhbz#2493684

Commit authored by Packit automation (https://packit.dev/)
2026-06-26 20:14:33 +00:00
Python Maint
4e5b8ff683 Rebuilt for Python 3.15 2026-06-05 21:00:28 +02:00
Peter Robinson
90dd5b5567 Rebuild for Pandas3 2026-05-22 14:38:54 +01:00
Packit
110a3a6165 Update to 1.1.3 upstream release
- Resolves: rhbz#2445875

Commit authored by Packit automation (https://packit.dev/)
2026-03-09 21:54:41 +00:00
Fedora Release Engineering
1a2c63d7af Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 07:37:04 +00:00
Packit
9197676276 Update to 1.1.2 upstream release
- Resolves: rhbz#2424519

Commit authored by Packit automation (https://packit.dev/)
2025-12-23 01:34:31 -05:00
Elliott Sales de Andrade
15a43a8ec7 Fix tests with GEOS 3.14 2025-09-23 19:23:03 -04:00
Python Maint
1932cf5085 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:22:33 +02:00
Packit
adda4debfd Update to 1.1.1 upstream release
- Resolves: rhbz#2369643

Commit authored by Packit automation (https://packit.dev/)
2025-09-07 07:50:05 +00:00
Python Maint
e1ff79ca62 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:48:36 +02:00
Fedora Release Engineering
f4c7ba07b4 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 08:04:56 +00:00
Python Maint
060efb3a98 Unbootstrap for Python 3.14 2025-07-21 11:30:04 +02:00
Python Maint
d06bff8bbf Bootstrap for Python 3.14 2025-06-18 21:31:53 +02:00
Elliott Sales de Andrade
3d9937b7db Update to latest version 2025-06-02 13:23:55 -04:00
Elliott Sales de Andrade
2548b4023e Add Packit configuration 2025-06-02 13:23:32 -04:00
Fedora Release Engineering
86b3e8f5aa Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 14:38:11 +00:00
Richard W.M. Jones
fc0537bda5 Rebuild for libarrow 18 2024-11-27 14:52:31 +00:00
Elliott Sales de Andrade
6d812c8743 Update to latest version (#2295479) 2024-11-17 06:39:04 -05:00
Fedora Release Engineering
721851873b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 11:52:31 +00:00
Elliott Sales de Andrade
6578064576 Backport fixes for GDAL 3.9 2024-06-26 02:31:48 -04:00
Elliott Sales de Andrade
1c3d63420f Update to latest version (#2274937) 2024-06-25 21:44:15 -04:00
Elliott Sales de Andrade
7a4dc12b66 Update to latest version (#2262154) 2024-02-04 20:23:24 -05:00
Fedora Release Engineering
312fece844 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 04:43:08 +00:00
Fedora Release Engineering
ad77d69057 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 01:39:48 +00:00
Elliott Sales de Andrade
8dd7f0b544 Update to latest version (#2256876) 2024-01-07 03:20:46 -05:00
Elliott Sales de Andrade
0a8a83a0e9 Update to latest version (#2249215) 2023-11-20 01:39:42 -05:00
Elliott Sales de Andrade
553b0f64c7 Disable bootstrap
[skip changelog]
2023-09-16 19:35:53 -04:00
Elliott Sales de Andrade
53d4167f98 Update to latest version (#2239113) 2023-09-16 19:18:11 -04:00
Elliott Sales de Andrade
9163648b50 Bootstrap for Python 3.12b4 2023-07-19 20:55:04 -04:00
Elliott Sales de Andrade
91b6f37f3f Update to latest version (#2212271) 2023-06-11 03:47:49 -04:00
Elliott Sales de Andrade
6bfd0f69f3 Update to latest version (#2195910) 2023-05-07 05:05:42 -04:00
Fedora Release Engineering
8d4b2aa8cf Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 13:26:05 +00:00
Elliott Sales de Andrade
faa4ee9990 Update to latest version (#2152334) 2022-12-10 17:20:18 -05:00
Elliott Sales de Andrade
395a4e3b7e Update to latest version (#2137275) 2022-11-20 17:56:27 -05:00
Elliott Sales de Andrade
f78643fbd7 Update to latest version (#2099491) 2022-07-31 14:58:20 -04:00
Fedora Release Engineering
3a3805a604 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 18:43:20 +00:00
Python Maint
96ce582c50 Rebuilt for Python 3.11 2022-07-04 10:44:10 +02:00
Python Maint
b431b0577d Bootstrap for Python 3.11 2022-06-21 18:35:11 +02:00
Miro Hrončok
a46e3971a9 Introduce a tests bcond
The current loops are:

 • python-geopandas → python-mapclassify → python-libpysal → python-networkx → python-geopandas
 • python-geopandas → python-mapclassify → python-networkx → python-libpysal → python-geopandas
 • python-geopandas → python-mapclassify → python-networkx → python-geopandas
 • python-geopandas → python-networkx → python-libpysal → python-geopandas
 • python-geopandas → python-networkx → python-geopandas
 • python-geopandas → python-mapclassify → python-libpysal → python-geopandas
 • python-geopandas → python-mapclassify → python-geopandas
2022-06-15 10:54:50 +02:00
Benjamin A. Beasley
4c748c4cf8 Add a BR on python3dist(pandas[test])
This is necessary since the geopandas tests inherit from the Pandas
ones, and pandas.tests is now packaged in python3-pandas+test.
2022-05-22 10:41:56 -04:00
Benjamin A. Beasley
750a904925 Fix test failures with pandas 1.4
Backport upstream PR’s #2219, #2289, #2298, and #2320 in order to
resolve test failures with pandas 1.4.

It seems that PR#2320 may also be needed for pandas 1.3.5, which should
have been a compatible release.
2022-05-08 08:37:05 -04:00
Fedora Release Engineering
cbda4d5a88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 12:21:05 +00:00
Elliott Sales de Andrade
2449180b6d Update to latest version (#2014734) 2021-10-16 23:30:03 -04:00
Elliott Sales de Andrade
33d0b45c1e Update to latest version (#2012104) 2021-10-09 02:19:04 -04:00
Elliott Sales de Andrade
62175216d5 Update to latest version (#2010112) 2021-10-03 16:31:33 -04:00
Elliott Sales de Andrade
376ebe09d6 Switch to latest Python macros 2021-10-03 16:07:29 -04:00
Elliott Sales de Andrade
6f736ecb57 Convert to rpmautospec 2021-10-03 15:53:50 -04:00
Elliott Sales de Andrade
38e802ee4a Backport patches for GDAL 3.3 2021-09-13 03:21:59 -04:00
Fedora Release Engineering
ce9f1d222b - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 06:32:12 +00:00
Elliott Sales de Andrade
4aaaeaf18c Skip tests broken on GDAL 3.3.0. 2021-06-17 20:24:02 -04:00
Elliott Sales de Andrade
2468bf69ab Backport patch to fix tests with Proj 8.0.1. 2021-06-17 16:58:50 -04:00
Elliott Sales de Andrade
94c56c7f95 Update dependencies, dropping descartes. 2021-06-17 16:58:12 -04:00
Python Maint
7642020760 Rebuilt for Python 3.10 2021-06-04 20:35:28 +02:00
Elliott Sales de Andrade
a9dd7b678d Update to latest version. 2021-03-25 23:53:39 -04:00
Elliott Sales de Andrade
7f5e506eab Update to latest version. 2021-02-06 01:45:41 -05:00
Fedora Release Engineering
cf35c284c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 10:51:54 +00:00
Fedora Release Engineering
670c3d0d98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 01:15:52 +00:00
Elliott Sales de Andrade
eadba544e7 Fix alternate architecture patch. 2020-07-17 05:09:59 -04:00
Elliott Sales de Andrade
ae0905fd53 Update to latest version. 2020-07-16 04:29:34 -04:00
Elliott Sales de Andrade
532a70ced9 Update to latest version. 2020-07-02 03:35:02 -04:00
Miro Hrončok
d47db6dcde Rebuilt for Python 3.9 2020-05-26 09:05:56 +02:00
Elliott Sales de Andrade
885bb03eac Update to latest version. 2020-02-18 03:49:49 -05:00
Elliott Sales de Andrade
e6c8df90f6 Update to latest version. 2020-02-08 03:35:30 -05:00
Fedora Release Engineering
dabe90e409 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 12:25:33 +00:00
Elliott Sales de Andrade
ad63b26670 Update to latest version. 2019-09-29 21:24:47 -04:00
Elliott Sales de Andrade
ac21e49f82 Update to latest release candidate. 2019-08-24 04:04:59 -04:00
Elliott Sales de Andrade
081d149a59 Update to latest version. 2019-08-24 03:49:03 -04:00
Miro Hrončok
7a34e961dc Rebuilt for Python 3.8 2019-08-19 10:39:28 +02:00
Fedora Release Engineering
b1567685c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 13:41:47 +00:00
Elliott Sales de Andrade
d02bca0c02 Update to latest version. 2019-04-27 00:30:58 -04:00
Elliott Sales de Andrade
f9c2034df3 Drop explicit Requires added by generator. 2019-03-09 05:30:07 -05:00
Elliott Sales de Andrade
50c5c5f44a Remove old requirement. 2019-03-09 05:08:44 -05:00
Elliott Sales de Andrade
450b775844 Merge branch 'f29' 2019-03-09 05:08:35 -05:00
Elliott Sales de Andrade
98ec46f22b Remove checks for outdated Fedora. 2019-03-09 05:07:15 -05:00
Elliott Sales de Andrade
f4ed8a4a0a Update to latest version. 2019-03-09 05:06:51 -05:00
Fedora Release Engineering
bdcc82f163 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 06:59:37 +00:00
Miro Hrončok
842879413a Drop Python 2 subpackage 2018-09-21 13:33:16 +02:00
Elliott Sales de Andrade
5b5ce3be7b Skip test_overlay_nybb on broken platforms. 2018-07-29 20:08:42 -04:00
Elliott Sales de Andrade
ccbb9de04a Update to latest version. 2018-07-21 05:46:12 -04:00
Fedora Release Engineering
bd196b0268 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:24:50 +00:00
Elliott Sales de Andrade
e260b2af10 Add patch to build against Pandas 0.23.0. 2018-07-11 21:27:16 -04:00
Miro Hrončok
5fef6fed44 Rebuilt for Python 3.7 2018-06-19 11:03:39 +02:00
Elliott Sales de Andrade
8795403e24 Do proper rebuild. 2018-02-13 20:23:42 -05:00
Fedora Release Engineering
a2aa51a9d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 08:06:27 +00:00
9 changed files with 210 additions and 306 deletions

31
.gitignore vendored
View file

@ -1 +1,32 @@
/geopandas-0.3.0.tar.gz /geopandas-0.3.0.tar.gz
/geopandas-0.4.0.tar.gz
/geopandas-0.4.1.tar.gz
/geopandas-0.5.0.tar.gz
/geopandas-0.5.1.tar.gz
/geopandas-0.6.0rc1.tar.gz
/geopandas-0.6.0.tar.gz
/geopandas-0.6.3.tar.gz
/geopandas-0.7.0.tar.gz
/geopandas-0.8.0.tar.gz
/geopandas-0.8.1.tar.gz
/geopandas-0.8.2.tar.gz
/geopandas-0.9.0.tar.gz
/geopandas-0.10.0.tar.gz
/geopandas-0.10.1.tar.gz
/geopandas-0.10.2.tar.gz
/geopandas-0.11.1.tar.gz
/geopandas-0.12.1.tar.gz
/geopandas-0.12.2.tar.gz
/geopandas-0.13.0.tar.gz
/geopandas-0.13.2.tar.gz
/geopandas-0.14.0.tar.gz
/geopandas-0.14.1.tar.gz
/geopandas-0.14.2.tar.gz
/geopandas-0.14.3.tar.gz
/geopandas-0.14.4.tar.gz
/geopandas-1.0.1.tar.gz
/geopandas-1.1.0.tar.gz
/geopandas-1.1.1.tar.gz
/geopandas-1.1.2.tar.gz
/geopandas-1.1.3.tar.gz
/geopandas-1.1.4.tar.gz

18
.packit.yaml Normal file
View file

@ -0,0 +1,18 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
---
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-branched
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all

View file

@ -1,30 +0,0 @@
From ff44cd10b0e3bcdb583c034f8450507ed4a461c8 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 19 Sep 2017 00:48:06 -0400
Subject: [PATCH 1/3] Fix default cmap for Matplotlib 2.0.0.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
geopandas/plotting.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/geopandas/plotting.py b/geopandas/plotting.py
index 31b6284..a198e50 100644
--- a/geopandas/plotting.py
+++ b/geopandas/plotting.py
@@ -402,8 +402,11 @@ def plot_dataframe(df, column=None, cmap=None, color=None, ax=None,
# Define `values` as a Series
if categorical:
if cmap is None:
- if LooseVersion(matplotlib.__version__) >= '2.0':
+ if LooseVersion(matplotlib.__version__) >= '2.0.1':
cmap = 'tab10'
+ elif LooseVersion(matplotlib.__version__) >= '2.0.0':
+ # Erroneous name.
+ cmap = 'Vega10'
else:
cmap = 'Set1'
categories = list(set(df[column].values))
--
2.13.6

View file

@ -1,87 +0,0 @@
From f1ccfb43a0d0cc400474a60d984e653dfd292063 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 19 Sep 2017 01:02:43 -0400
Subject: [PATCH 2/3] TST: Fix determination of expected dash style.
In Matplotlib 2.0.0, there was a minimum dash length that was eventually
removed because it was problematic. The expected line style does not
apply this minimum.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
geopandas/tests/test_plotting.py | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/geopandas/tests/test_plotting.py b/geopandas/tests/test_plotting.py
index b3f98b7..03ab184 100644
--- a/geopandas/tests/test_plotting.py
+++ b/geopandas/tests/test_plotting.py
@@ -184,24 +184,26 @@ class TestLineStringPlotting:
_check_colors(self.N, ax.collections[0].get_colors(), ['green']*self.N)
def test_style_kwargs(self):
-
# linestyle (style patterns depend on linewidth, therefore pin to 1)
linestyle = 'dashed'
- ax = self.lines.plot(linestyle=linestyle, linewidth=1)
- exp_ls = _style_to_linestring_onoffseq(linestyle)
+ linewidth = 1
+
+ ax = self.lines.plot(linestyle=linestyle, linewidth=linewidth)
+ exp_ls = _style_to_linestring_onoffseq(linestyle, linewidth)
for ls in ax.collections[0].get_linestyles():
assert ls[0] == exp_ls[0]
- assert tuple(ls[1]) == exp_ls[1]
+ assert ls[1] == exp_ls[1]
- ax = self.df.plot(linestyle=linestyle, linewidth=1)
+ ax = self.df.plot(linestyle=linestyle, linewidth=linewidth)
for ls in ax.collections[0].get_linestyles():
assert ls[0] == exp_ls[0]
- assert tuple(ls[1]) == exp_ls[1]
+ assert ls[1] == exp_ls[1]
- ax = self.df.plot(column='values', linestyle=linestyle, linewidth=1)
+ ax = self.df.plot(column='values', linestyle=linestyle,
+ linewidth=linewidth)
for ls in ax.collections[0].get_linestyles():
assert ls[0] == exp_ls[0]
- assert tuple(ls[1]) == exp_ls[1]
+ assert ls[1] == exp_ls[1]
class TestPolygonPlotting:
@@ -469,10 +471,10 @@ class TestPlotCollections:
# pass through of kwargs
coll = plot_linestring_collection(ax, self.lines, linestyle='--',
linewidth=1)
- exp_ls = _style_to_linestring_onoffseq('dashed')
+ exp_ls = _style_to_linestring_onoffseq('--', 1)
res_ls = coll.get_linestyle()[0]
assert res_ls[0] == exp_ls[0]
- assert tuple(res_ls[1]) == exp_ls[1]
+ assert res_ls[1] == exp_ls[1]
ax.cla()
def test_linestrings_values(self):
@@ -619,14 +621,15 @@ def _check_colors(N, actual_colors, expected_colors, alpha=None):
'{} != {}'.format(actual, conv.to_rgba(expected, alpha=alpha))
-def _style_to_linestring_onoffseq(linestyle):
+def _style_to_linestring_onoffseq(linestyle, linewidth):
""" Converts a linestyle string representation, namely one of:
['dashed', 'dotted', 'dashdot', 'solid'],
documented in `Collections.set_linestyle`,
to the form `onoffseq`.
"""
if LooseVersion(matplotlib.__version__) >= '2.0':
- return matplotlib.lines._get_dash_pattern(linestyle)
+ offset, dashes = matplotlib.lines._get_dash_pattern(linestyle)
+ return matplotlib.lines._scale_dashes(offset, dashes, linewidth)
else:
from matplotlib.backend_bases import GraphicsContextBase
return GraphicsContextBase.dashd[linestyle]
--
2.13.6

View file

@ -1,73 +0,0 @@
From 0e9bc3047ad66778835ee5ad2d7d767ac1caec24 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 28 Nov 2017 02:24:32 -0500
Subject: [PATCH 3/3] Workaround test issues on non-x86 systems.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
geopandas/tests/test_overlay.py | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/geopandas/tests/test_overlay.py b/geopandas/tests/test_overlay.py
index d928224..fc7ae2e 100644
--- a/geopandas/tests/test_overlay.py
+++ b/geopandas/tests/test_overlay.py
@@ -34,41 +34,47 @@ class TestDataFrame:
# why is the sindex not generated automatically?
self.polydf2._generate_sindex()
- self.union_shape = (180, 7)
+ # Some errors on non-x86 cause different results here.
+ # https://github.com/geopandas/geopandas/issues/552
+ self.union_shape_0 = (180, 182)
+ self.union_shape_1 = (7, )
def test_union(self):
df = overlay(self.polydf, self.polydf2, how="union")
assert type(df) is GeoDataFrame
- assert df.shape == self.union_shape
+ assert df.shape[0] in self.union_shape_0
+ assert df.shape[1] in self.union_shape_1
assert 'value1' in df.columns and 'Shape_Area' in df.columns
def test_union_no_index(self):
# explicitly ignore indicies
dfB = overlay(self.polydf, self.polydf2, how="union", use_sindex=False)
- assert dfB.shape == self.union_shape
+ assert dfB.shape[0] in self.union_shape_0
+ assert dfB.shape[1] in self.union_shape_1
# remove indicies from df
self.polydf._sindex = None
self.polydf2._sindex = None
dfC = overlay(self.polydf, self.polydf2, how="union")
- assert dfC.shape == self.union_shape
+ assert dfC.shape[0] in self.union_shape_0
+ assert dfC.shape[1] in self.union_shape_1
def test_intersection(self):
df = overlay(self.polydf, self.polydf2, how="intersection")
assert df['BoroName'][0] is not None
- assert df.shape == (68, 7)
+ assert df.shape == (68, 7) or df.shape == (69, 7)
def test_identity(self):
df = overlay(self.polydf, self.polydf2, how="identity")
- assert df.shape == (154, 7)
+ assert df.shape == (154, 7) or df.shape == (156, 7)
def test_symmetric_difference(self):
df = overlay(self.polydf, self.polydf2, how="symmetric_difference")
- assert df.shape == (122, 7)
+ assert df.shape == (122, 7) or df.shape == (123, 7)
def test_difference(self):
df = overlay(self.polydf, self.polydf2, how="difference")
- assert df.shape == (86, 7)
+ assert df.shape == (86, 7) or df.shape == (87, 7)
def test_bad_how(self):
with pytest.raises(ValueError):
--
2.13.6

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.16.1.

113
changelog Normal file
View file

@ -0,0 +1,113 @@
* Mon Sep 13 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-4
- Backport patches for GDAL 3.3 (#1981675)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-2
- Update & correct dependencies
- Backport patch to fix tests with Proj 8.0.1
- Skip tests broken on GDAL 3.3.0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.0-2
- Rebuilt for Python 3.10
* Sun Feb 28 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-1
- Update to latest version (#1933514)
* Sat Feb 06 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.2-1
- Update to latest version (#1920235)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-2
- Fix alternate architecture patch.
* Thu Jul 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-1
- Update to latest version
* Thu Jul 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-1
- Update to latest version
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.9
* Tue Feb 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.0-1
- Update to latest version
* Sat Feb 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.3-1
- Update to latest version
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Sep 29 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-1
- Update to latest version
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-0.1.rc1
- Update to latest release candidate
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
- Update to latest version
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Apr 27 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.0-1
- Update to latest version
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.1-1
- Update to latest version
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Sep 21 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
- Drop Python 2 subpackage
* Wed Jul 18 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.0-1
- Update to latest version
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-6
- Add patch to build against Pandas 0.23.0
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-6
- Rebuilt for Python 3.7
* Wed Feb 14 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-5
- rebuilt
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Dec 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-3
- Add patch for non-x86 systems.
- Use python2-* BR.
* Fri Dec 01 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-2
- Add patch for non-x86 systems.
* Tue Sep 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-1
- Update to latest version.
- Use lowercase rtree dependency.
- Fix inconsistent capitalization.
* Sat Aug 12 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-3
- Simplify spec with more macros.
* Sun Jul 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-2
- Simplify spec a bit.
- Add patch for new Pandas compatibility.
* Sun Mar 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-1
- Initial package release.

View file

@ -1,9 +1,22 @@
%global srcname geopandas %global srcname geopandas
# There is a build dependency loop when built with tests.
# It involves libpysal, mapclassify, networkx.
# This bcond allows to bootstrap it.
%bcond bootstrap 0
Name: python-%{srcname} Name: python-%{srcname}
Version: 0.3.0 Version: 1.1.4
Release: 3%{?dist} Release: %autorelease
Summary: Geographic Pandas extensions Summary: Geographic Pandas extensions
License: BSD-3-Clause
URL: https://pypi.python.org/pypi/%{srcname}
# PyPI source does not have test data.
Source: https://github.com/%{srcname}/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \ %global _description \
GeoPandas is a project to add support for geographic data to Pandas objects. \ GeoPandas is a project to add support for geographic data to Pandas objects. \
\ \
@ -13,139 +26,55 @@ operations in Pandas and a high-level interface to multiple geometries to \
Shapely. GeoPandas enables you to easily do operations in Python that would \ Shapely. GeoPandas enables you to easily do operations in Python that would \
otherwise require a spatial database such as PostGIS. otherwise require a spatial database such as PostGIS.
License: BSD
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://github.com/%{srcname}/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
# https://github.com/geopandas/geopandas/pull/551 for both
Patch0001: 0001-Fix-default-cmap-for-Matplotlib-2.0.0.patch
Patch0002: 0002-TST-Fix-determination-of-expected-dash-style.patch
# https://github.com/geopandas/geopandas/issues/552
Patch0003: 0003-Workaround-test-issues-on-non-x86-systems.patch
BuildArch: noarch
%description %{_description} %description %{_description}
%package -n python2-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
BuildRequires: python2-six >= 1.3.0
BuildRequires: python2-descartes >= 1.0
BuildRequires: python2-fiona >= 1.0.1
BuildRequires: python2-pandas
BuildRequires: python2-pyproj >= 1.9.3
%if %{fedora} > 27
BuildRequires: python2-shapely >= 1.2.18
%else
BuildRequires: python-shapely >= 1.2.18
%endif
BuildRequires: python2-pytest
BuildRequires: python2-rtree >= 0.8
BuildRequires: python2-mock >= 1.0.1
BuildRequires: python2-matplotlib >= 1.2.1
# Still needed in this release of Matplotlib.
BuildRequires: python2-nose python3-nose
Requires: python2-six >= 1.3.0
Requires: python2-descartes >= 1.0
Requires: python2-fiona >= 1.0.1
Requires: python2-pandas
Requires: python2-pyproj >= 1.9.3
%if %{fedora} > 27
Requires: python2-shapely >= 1.2.18
%else
Requires: python-shapely >= 1.2.18
%endif
%description -n python2-%{srcname} %{_description}
%package -n python3-%{srcname} %package -n python3-%{srcname}
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-six >= 1.3.0
BuildRequires: python3-descartes
BuildRequires: python3-fiona >= 1.0.1
BuildRequires: python3-pandas
BuildRequires: python3-pyproj >= 1.9.3
BuildRequires: python3-shapely >= 1.2.18
BuildRequires: python3-pytest %if %{without bootstrap}
BuildRequires: python3-rtree >= 0.8 BuildRequires: python3dist(fsspec)
BuildRequires: python3-matplotlib >= 1.2.1 BuildRequires: python3dist(fiona) >= 1.8.21
# Still needed in this release of Matplotlib. BuildRequires: python3dist(geopy)
BuildRequires: python3-nose BuildRequires: python3dist(mapclassify) >= 2.5
BuildRequires: python3dist(matplotlib) >= 3.7
Requires: python3-six >= 1.3.0 BuildRequires: python3dist(psycopg) >= 3.1
Requires: python3-descartes BuildRequires: python3dist(pyarrow) >= 8
Requires: python3-fiona >= 1.0.1 BuildRequires: python3dist(pytest)
Requires: python3-pandas BuildRequires: python3dist(sqlalchemy) >= 2
Requires: python3-pyproj >= 1.9.3 BuildRequires: python3dist(xyzservices)
Requires: python3-shapely >= 1.2.18 # See:
# Depend on pandas[test] for testing
# https://github.com/geopandas/geopandas/pull/2438
BuildRequires: python3dist(pandas[test])
%endif
%description -n python3-%{srcname} %{_description} %description -n python3-%{srcname} %{_description}
%prep %prep
%autosetup -n %{srcname}-%{version} -p1 %autosetup -n %{srcname}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py2_build %pyproject_wheel
%py3_build
%install %install
%py2_install %pyproject_install
%py3_install %pyproject_save_files %{srcname}
%check %check
PYTHONPATH="%{buildroot}%{python3_sitelib}" \ %if %{without bootstrap}
py.test-%{python3_version} -ra geopandas %{pytest} -ra geopandas -m 'not web'
PYTHONPATH="%{buildroot}%{python2_sitelib}" \ %else
py.test-%{python2_version} -ra geopandas %pyproject_check_import -e 'geopandas.*test*'
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
%files -n python2-%{srcname}
%license LICENSE.txt %license LICENSE.txt
%doc README.md CHANGELOG.md %doc README.md CHANGELOG.md
%{python2_sitelib}/%{srcname}
%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info
%files -n python3-%{srcname}
%license LICENSE.txt
%doc README.md CHANGELOG.md
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
%changelog %changelog
* Sat Dec 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.0-3 %autochangelog
- Add patch for non-x86 systems.
- Use python2-* BR.
* Fri Dec 01 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.0-2
- Add patch for non-x86 systems.
* Tue Sep 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.0-1
- Update to latest version.
- Use lowercase rtree dependency.
- Fix inconsistent capitalization.
* Sat Aug 12 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.1-3
- Simplify spec with more macros.
* Sun Jul 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.1-2
- Simplify spec a bit.
- Add patch for new Pandas compatibility.
* Sun Mar 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.1-1
- Initial package release.

View file

@ -1 +1 @@
SHA512 (geopandas-0.3.0.tar.gz) = bb7c0fedfaa095e7ac7c93dfa3c4909e21c2679d1eb624c17557eb8d533275977d051f885e8a981e6e56b76b956a10e156667a6c99dc1485bbe8ba2dc7042d56 SHA512 (geopandas-1.1.4.tar.gz) = 70e30407e50acee8ff8d081d3db097ab188a078467bffe2e9765c5d64d9e1d88be76c4f37747a5c107cb96d75c9fa53a7f779e0b406b784386be7d5fef899878