public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2022-01-18 16:37 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2022-01-18 16:37 UTC (permalink / raw
  To: gentoo-commits

commit:     24a43c1dc1667952ac9e740da73c4b8c676f20a0
Author:     Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
AuthorDate: Sun Jan 16 11:00:08 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 18 16:37:49 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=24a43c1d

dev-python/fiona: new 1.8.20

dep for dev-python/{geopandas,rasterstats}

status: test pass, works for me
Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/fiona/fiona-1.8.20.ebuild | 74 ++++++++++++++++++++++++++++++++++++
 dev-python/fiona/metadata.xml        | 18 +++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/fiona/fiona-1.8.20.ebuild b/dev-python/fiona/fiona-1.8.20.ebuild
new file mode 100644
index 000000000..1127afa70
--- /dev/null
+++ b/dev-python/fiona/fiona-1.8.20.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517="setuptools"
+inherit distutils-r1
+
+DESCRIPTION="API for reading/writing vector geospatial data"
+HOMEPAGE="https://github.com/Toblerity/fiona"
+SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sci-libs/gdal[geos,sqlite,python,${PYTHON_USEDEP}]
+	dev-python/attrs[${PYTHON_USEDEP}]
+	dev-python/click-plugins[${PYTHON_USEDEP}]
+	dev-python/cligj[${PYTHON_USEDEP}]
+	dev-python/munch[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/certifi[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	test? (
+		dev-python/boto3[${PYTHON_USEDEP}]
+		sci-libs/gdal[geos,sqlite,python,${PYTHON_USEDEP}]
+	)
+"
+
+S="${WORKDIR}/Fiona-${PV}"
+
+distutils_enable_tests pytest
+
+python_test() {
+	local deselect=(
+		# disable tests due to networking blocked
+		tests/test_vfs.py::test_open_http
+		tests/test_vfs.py::test_open_zip_https
+		tests/test_collection.py::test_collection_http
+		tests/test_collection.py::test_collection_zip_http
+
+		# disable tests failing due to deprecated GDAL features
+		tests/test_data_paths.py::test_gdal_data_wheel
+		tests/test_data_paths.py::test_proj_data_wheel
+		tests/test_data_paths.py::test_env_gdal_data_wheel
+		tests/test_data_paths.py::test_env_proj_data_wheel
+		tests/test_datetime.py::test_datefield[GPSTrackMaker-datetime]
+		tests/test_datetime.py::test_datefield_null[GPSTrackMaker-datetime]
+		tests/test_drvsupport.py::test_write_or_driver_error[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[PCIDSK]
+		tests/test_drvsupport.py::test_write_or_driver_error[DGN]
+
+		# geos
+		#tests/test_collection.py::test_mask_polygon_triangle
+		#tests/test_collection.py::test_mask_polygon_triangle
+		#tests/test_collection.py::test_mask_polygon_triangle
+
+		# sqlite
+		#tests/test_schema.py::test_geometry_only_schema_write[GPKG]
+		#tests/test_schema.py::test_geometry_only_schema_update[GPKG]
+		#tests/test_schema.py::test_property_only_schema_write[GPKG]
+		#tests/test_schema.py::test_property_only_schema_update[GPKG]
+	)
+
+	mv fiona{,.bak} || die # Avoid non-working local import
+	epytest ${deselect[@]/#/--deselect }
+	mv fiona{.bak,} || die
+}

diff --git a/dev-python/fiona/metadata.xml b/dev-python/fiona/metadata.xml
new file mode 100644
index 000000000..e1e191ee0
--- /dev/null
+++ b/dev-python/fiona/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription lang="en">
+  Fiona reads and writes geographic data files and thereby helps Python 
+  programmers integrate geographic information systems with other 
+  computer systems. Fiona contains extension modules that link the 
+  Geospatial Data Abstraction Library (GDAL).
+</longdescription>
+  <upstream>
+    <remote-id type="github">Toblerity/fiona</remote-id>
+    <remote-id type="pypi">Fiona</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2022-06-13 19:04 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2022-06-13 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     f606eda48bce2014559eb4651ef23b7c9b2f7d66
Author:     Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
AuthorDate: Mon Jun 13 18:21:22 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 18:59:33 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f606eda4

dev-python/fiona: bump 1.8.21

Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1149
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/fiona/{fiona-1.8.20.ebuild => fiona-1.8.21.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/fiona/fiona-1.8.20.ebuild b/dev-python/fiona/fiona-1.8.21.ebuild
similarity index 93%
rename from dev-python/fiona/fiona-1.8.20.ebuild
rename to dev-python/fiona/fiona-1.8.21.ebuild
index 1127afa70..51ded0d37 100644
--- a/dev-python/fiona/fiona-1.8.20.ebuild
+++ b/dev-python/fiona/fiona-1.8.21.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
-	sci-libs/gdal[geos,sqlite,python,${PYTHON_USEDEP}]
+	sci-libs/gdal[geos,sqlite]
 	dev-python/attrs[${PYTHON_USEDEP}]
 	dev-python/click-plugins[${PYTHON_USEDEP}]
 	dev-python/cligj[${PYTHON_USEDEP}]
@@ -24,11 +24,12 @@ RDEPEND="
 	dev-python/six[${PYTHON_USEDEP}]
 	dev-python/certifi[${PYTHON_USEDEP}]
 "
+
 BDEPEND="
 	dev-python/cython[${PYTHON_USEDEP}]
 	test? (
 		dev-python/boto3[${PYTHON_USEDEP}]
-		sci-libs/gdal[geos,sqlite,python,${PYTHON_USEDEP}]
+		sci-libs/gdal[geos,sqlite]
 	)
 "
 
@@ -56,6 +57,9 @@ python_test() {
 		tests/test_drvsupport.py::test_no_append_driver_cannot_append[PCIDSK]
 		tests/test_drvsupport.py::test_write_or_driver_error[DGN]
 
+		# failure in flatgeobuf impl
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[FlatGeobuf]
+
 		# geos
 		#tests/test_collection.py::test_mask_polygon_triangle
 		#tests/test_collection.py::test_mask_polygon_triangle


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2023-01-12 10:29 Horea Christian
  0 siblings, 0 replies; 9+ messages in thread
From: Horea Christian @ 2023-01-12 10:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f90fedf5c476612a8ce9b7e88c4d7b3d8be179c5
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Jan 12 10:29:37 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Jan 12 10:29:37 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f90fedf5

dev-python/fiona: disable py3.8, py3.9

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/fiona/fiona-1.8.21.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/fiona/fiona-1.8.21.ebuild b/dev-python/fiona/fiona-1.8.21.ebuild
index 51ded0d37..231038559 100644
--- a/dev-python/fiona/fiona-1.8.21.ebuild
+++ b/dev-python/fiona/fiona-1.8.21.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_10 )
 DISTUTILS_USE_PEP517="setuptools"
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2023-02-10 10:39 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2023-02-10 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     37a456c6bfd6135ff16065c820df513c0d07f908
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 10:38:27 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 10:38:27 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=37a456c6

dev-python/fiona: enable py3.11

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/fiona/fiona-1.9.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/fiona/fiona-1.9.0.ebuild b/dev-python/fiona/fiona-1.9.0.ebuild
index e856d6abb..7bc415b14 100644
--- a/dev-python/fiona/fiona-1.9.0.ebuild
+++ b/dev-python/fiona/fiona-1.9.0.ebuild
@@ -3,13 +3,14 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517="setuptools"
 inherit distutils-r1
 
 DESCRIPTION="API for reading/writing vector geospatial data"
 HOMEPAGE="https://github.com/Toblerity/fiona"
 SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/Fiona-${PV}"
 
 LICENSE="BSD"
 SLOT="0"
@@ -32,8 +33,6 @@ BDEPEND="
 	)
 "
 
-S="${WORKDIR}/Fiona-${PV}"
-
 distutils_enable_tests pytest
 
 python_test() {


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2023-02-10 10:39 Andrew Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2023-02-10 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     778ba6f9f88b16699670a64dec6b7581477b4c46
Author:     Dennis Gonçalves <camaradadennis <AT> gmail <DOT> com>
AuthorDate: Tue Feb  7 19:38:03 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 10:14:43 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=778ba6f9

dev-python/fiona: add 1.9.0, drop 1.8.21

Closes: https://github.com/gentoo/sci/pull/1191
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/fiona/{fiona-1.8.21.ebuild => fiona-1.9.0.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/fiona/fiona-1.8.21.ebuild b/dev-python/fiona/fiona-1.9.0.ebuild
similarity index 97%
rename from dev-python/fiona/fiona-1.8.21.ebuild
rename to dev-python/fiona/fiona-1.9.0.ebuild
index 231038559..e856d6abb 100644
--- a/dev-python/fiona/fiona-1.8.21.ebuild
+++ b/dev-python/fiona/fiona-1.9.0.ebuild
@@ -9,7 +9,7 @@ inherit distutils-r1
 
 DESCRIPTION="API for reading/writing vector geospatial data"
 HOMEPAGE="https://github.com/Toblerity/fiona"
-SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -21,7 +21,6 @@ RDEPEND="
 	dev-python/click-plugins[${PYTHON_USEDEP}]
 	dev-python/cligj[${PYTHON_USEDEP}]
 	dev-python/munch[${PYTHON_USEDEP}]
-	dev-python/six[${PYTHON_USEDEP}]
 	dev-python/certifi[${PYTHON_USEDEP}]
 "
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2024-11-19 14:05 Nowa Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Nowa Ammerlaan @ 2024-11-19 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4d760cb67f29928561290af5b4095b92f3fcda8e
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Fri Nov 15 14:15:04 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 14:05:23 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4d760cb6

dev-python/fiona: drop 1.9.0

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/fiona/fiona-1.9.0.ebuild | 76 -------------------------------------
 1 file changed, 76 deletions(-)

diff --git a/dev-python/fiona/fiona-1.9.0.ebuild b/dev-python/fiona/fiona-1.9.0.ebuild
deleted file mode 100644
index 7bc415b14..000000000
--- a/dev-python/fiona/fiona-1.9.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517="setuptools"
-inherit distutils-r1
-
-DESCRIPTION="API for reading/writing vector geospatial data"
-HOMEPAGE="https://github.com/Toblerity/fiona"
-SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}/Fiona-${PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	sci-libs/gdal[geos,sqlite]
-	dev-python/attrs[${PYTHON_USEDEP}]
-	dev-python/click-plugins[${PYTHON_USEDEP}]
-	dev-python/cligj[${PYTHON_USEDEP}]
-	dev-python/munch[${PYTHON_USEDEP}]
-	dev-python/certifi[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-	dev-python/cython[${PYTHON_USEDEP}]
-	test? (
-		dev-python/boto3[${PYTHON_USEDEP}]
-		sci-libs/gdal[geos,sqlite]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local deselect=(
-		# disable tests due to networking blocked
-		tests/test_vfs.py::test_open_http
-		tests/test_vfs.py::test_open_zip_https
-		tests/test_collection.py::test_collection_http
-		tests/test_collection.py::test_collection_zip_http
-
-		# disable tests failing due to deprecated GDAL features
-		tests/test_data_paths.py::test_gdal_data_wheel
-		tests/test_data_paths.py::test_proj_data_wheel
-		tests/test_data_paths.py::test_env_gdal_data_wheel
-		tests/test_data_paths.py::test_env_proj_data_wheel
-		tests/test_datetime.py::test_datefield[GPSTrackMaker-datetime]
-		tests/test_datetime.py::test_datefield_null[GPSTrackMaker-datetime]
-		tests/test_drvsupport.py::test_write_or_driver_error[GPSTrackMaker]
-		tests/test_drvsupport.py::test_no_append_driver_cannot_append[GPSTrackMaker]
-		tests/test_drvsupport.py::test_no_append_driver_cannot_append[PCIDSK]
-		tests/test_drvsupport.py::test_write_or_driver_error[DGN]
-
-		# failure in flatgeobuf impl
-		tests/test_drvsupport.py::test_no_append_driver_cannot_append[FlatGeobuf]
-
-		# geos
-		#tests/test_collection.py::test_mask_polygon_triangle
-		#tests/test_collection.py::test_mask_polygon_triangle
-		#tests/test_collection.py::test_mask_polygon_triangle
-
-		# sqlite
-		#tests/test_schema.py::test_geometry_only_schema_write[GPKG]
-		#tests/test_schema.py::test_geometry_only_schema_update[GPKG]
-		#tests/test_schema.py::test_property_only_schema_write[GPKG]
-		#tests/test_schema.py::test_property_only_schema_update[GPKG]
-	)
-
-	mv fiona{,.bak} || die # Avoid non-working local import
-	epytest ${deselect[@]/#/--deselect }
-	mv fiona{.bak,} || die
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2024-11-19 14:05 Nowa Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Nowa Ammerlaan @ 2024-11-19 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     25c9de7cc682f0a63beb4c2ac2f04e5c6ec5511b
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Fri Nov 15 14:01:41 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 14:05:21 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=25c9de7c

dev-python/fiona: add 1.10.1 with improvements

- introduce DISTUTILS_EXT
- use EPYTEST_DESELECT
- tests
  - add test? BDEPENDs
  - reintroduce one test
  - mask one test
  - remove commented out code
  - improve wording of first deselected tests comment

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/fiona/fiona-1.10.1.ebuild | 68 ++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/dev-python/fiona/fiona-1.10.1.ebuild b/dev-python/fiona/fiona-1.10.1.ebuild
new file mode 100644
index 000000000..f6fde60a3
--- /dev/null
+++ b/dev-python/fiona/fiona-1.10.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517="setuptools"
+inherit distutils-r1
+
+DESCRIPTION="API for reading/writing vector geospatial data"
+HOMEPAGE="https://github.com/Toblerity/fiona"
+SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/Fiona-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sci-libs/gdal[geos,sqlite]
+	dev-python/attrs[${PYTHON_USEDEP}]
+	dev-python/click-plugins[${PYTHON_USEDEP}]
+	dev-python/cligj[${PYTHON_USEDEP}]
+	dev-python/munch[${PYTHON_USEDEP}]
+	dev-python/certifi[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+	test? (
+		dev-python/aiohttp[${PYTHON_USEDEP}]
+		dev-python/boto3[${PYTHON_USEDEP}]
+		dev-python/fsspec[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		sci-libs/gdal[geos,sqlite]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# disable tests violating network sandbox
+		tests/test_vfs.py::test_open_http
+		tests/test_vfs.py::test_open_zip_https
+		tests/test_collection.py::test_collection_http
+		tests/test_collection.py::test_collection_zip_http
+
+		# disable tests failing due to deprecated GDAL features
+		tests/test_data_paths.py::test_gdal_data_wheel
+		tests/test_data_paths.py::test_proj_data_wheel
+		tests/test_data_paths.py::test_env_gdal_data_wheel
+		tests/test_data_paths.py::test_env_proj_data_wheel
+		tests/test_datetime.py::test_datefield[GPSTrackMaker-datetime]
+		tests/test_datetime.py::test_datefield_null[GPSTrackMaker-datetime]
+		tests/test_drvsupport.py::test_write_or_driver_error[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[PCIDSK]
+		tests/test_drvsupport.py::test_write_or_driver_error[DGN]
+
+		# OGR silently fails to convert strings
+		tests/test_unicode.py::TestUnicodeStringField::test_write_mismatch
+	)
+
+	mv fiona{,.bak} || die # Avoid non-working local import
+	epytest
+	mv fiona{.bak,} || die
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2024-11-19 14:05 Nowa Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Nowa Ammerlaan @ 2024-11-19 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     233312769e425819e4b26c73cac2efe2147cba7a
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Fri Nov 15 13:22:36 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 14:05:20 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=23331276

dev-python/fiona: simple version bump tp 1.9.6

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/fiona/fiona-1.9.6.ebuild | 76 +++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/dev-python/fiona/fiona-1.9.6.ebuild b/dev-python/fiona/fiona-1.9.6.ebuild
new file mode 100644
index 000000000..ad73fbbd0
--- /dev/null
+++ b/dev-python/fiona/fiona-1.9.6.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517="setuptools"
+inherit distutils-r1
+
+DESCRIPTION="API for reading/writing vector geospatial data"
+HOMEPAGE="https://github.com/Toblerity/fiona"
+SRC_URI="https://github.com/Toblerity/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/Fiona-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	sci-libs/gdal[geos,sqlite]
+	dev-python/attrs[${PYTHON_USEDEP}]
+	dev-python/click-plugins[${PYTHON_USEDEP}]
+	dev-python/cligj[${PYTHON_USEDEP}]
+	dev-python/munch[${PYTHON_USEDEP}]
+	dev-python/certifi[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	test? (
+		dev-python/boto3[${PYTHON_USEDEP}]
+		sci-libs/gdal[geos,sqlite]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	local deselect=(
+		# disable tests due to networking blocked
+		tests/test_vfs.py::test_open_http
+		tests/test_vfs.py::test_open_zip_https
+		tests/test_collection.py::test_collection_http
+		tests/test_collection.py::test_collection_zip_http
+
+		# disable tests failing due to deprecated GDAL features
+		tests/test_data_paths.py::test_gdal_data_wheel
+		tests/test_data_paths.py::test_proj_data_wheel
+		tests/test_data_paths.py::test_env_gdal_data_wheel
+		tests/test_data_paths.py::test_env_proj_data_wheel
+		tests/test_datetime.py::test_datefield[GPSTrackMaker-datetime]
+		tests/test_datetime.py::test_datefield_null[GPSTrackMaker-datetime]
+		tests/test_drvsupport.py::test_write_or_driver_error[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[GPSTrackMaker]
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[PCIDSK]
+		tests/test_drvsupport.py::test_write_or_driver_error[DGN]
+
+		# failure in flatgeobuf impl
+		tests/test_drvsupport.py::test_no_append_driver_cannot_append[FlatGeobuf]
+
+		# geos
+		#tests/test_collection.py::test_mask_polygon_triangle
+		#tests/test_collection.py::test_mask_polygon_triangle
+		#tests/test_collection.py::test_mask_polygon_triangle
+
+		# sqlite
+		#tests/test_schema.py::test_geometry_only_schema_write[GPKG]
+		#tests/test_schema.py::test_geometry_only_schema_update[GPKG]
+		#tests/test_schema.py::test_property_only_schema_write[GPKG]
+		#tests/test_schema.py::test_property_only_schema_update[GPKG]
+	)
+
+	mv fiona{,.bak} || die # Avoid non-working local import
+	epytest ${deselect[@]/#/--deselect }
+	mv fiona{.bak,} || die
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/fiona/
@ 2024-11-19 14:05 Nowa Ammerlaan
  0 siblings, 0 replies; 9+ messages in thread
From: Nowa Ammerlaan @ 2024-11-19 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     ce2e027eb34f3e4023a17e92ca99e9a497dc5903
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Fri Nov 15 14:14:13 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Nov 19 14:05:22 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ce2e027e

dev-python/fiona: fix pypi redirection

Signed-off-by: Filip Kobierski <fkobi <AT> pm.me>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/fiona/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/fiona/metadata.xml b/dev-python/fiona/metadata.xml
index b6fff953e..413c4e05f 100644
--- a/dev-python/fiona/metadata.xml
+++ b/dev-python/fiona/metadata.xml
@@ -16,6 +16,6 @@
     <changelog>https://raw.githubusercontent.com/Toblerity/Fiona/refs/heads/main/CHANGES.txt</changelog>
     <doc>https://fiona.readthedocs.io/</doc>
     <remote-id type="github">Toblerity/fiona</remote-id>
-    <remote-id type="pypi">Fiona</remote-id>
+    <remote-id type="pypi">fiona</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-19 14:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 14:05 [gentoo-commits] proj/sci:master commit in: dev-python/fiona/ Nowa Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 14:05 Nowa Ammerlaan
2024-11-19 14:05 Nowa Ammerlaan
2024-11-19 14:05 Nowa Ammerlaan
2023-02-10 10:39 Andrew Ammerlaan
2023-02-10 10:39 Andrew Ammerlaan
2023-01-12 10:29 Horea Christian
2022-06-13 19:04 Andrew Ammerlaan
2022-01-18 16:37 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox