* [gentoo-commits] proj/sci:master commit in: dev-python/rasterio/
@ 2022-06-13 18:58 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-06-13 18:58 UTC (permalink / raw
To: gentoo-commits
commit: 5bbc6f6af8e926f92b8937224d0289e219eec1a8
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 18:58:04 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 18:58:04 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5bbc6f6a
dev-python/rasterio: add missing test dep
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/rasterio/rasterio-1.2.10-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-python/rasterio/rasterio-1.2.10-r1.ebuild b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
index daa3244da..a865be882 100644
--- a/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
+++ b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
@@ -33,6 +33,7 @@ BDEPEND="
test? (
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
+ sci-libs/shapely[${PYTHON_USEDEP}]
sci-libs/gdal:=[aux-xml(+),jpeg,png,threads(+)]
)
"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/rasterio/
@ 2022-07-03 8:26 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-07-03 8:26 UTC (permalink / raw
To: gentoo-commits
commit: ca4c5ad05a83cb2df77d614d14e3a6c403b5a203
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 08:26:09 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 08:26:09 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ca4c5ad0
dev-python/rasterio: shapely moved to dev-python/
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/rasterio/rasterio-1.2.10-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/rasterio/rasterio-1.2.10-r1.ebuild b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
index a865be882..7ae9776c7 100644
--- a/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
+++ b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
test? (
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
- sci-libs/shapely[${PYTHON_USEDEP}]
+ dev-python/shapely[${PYTHON_USEDEP}]
sci-libs/gdal:=[aux-xml(+),jpeg,png,threads(+)]
)
"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/rasterio/
@ 2022-06-13 18:58 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-06-13 18:58 UTC (permalink / raw
To: gentoo-commits
commit: 0494ac3c2b8f760494a889af4ca040b4314a6718
Author: Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
AuthorDate: Mon Jun 13 18:30:09 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 18:42:03 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0494ac3c
dev-python/rasterio: new rev for gdal>=3.5.0
Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1148
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../{rasterio-1.2.10.ebuild => rasterio-1.2.10-r1.ebuild} | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-python/rasterio/rasterio-1.2.10.ebuild b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
similarity index 94%
rename from dev-python/rasterio/rasterio-1.2.10.ebuild
rename to dev-python/rasterio/rasterio-1.2.10-r1.ebuild
index 625e4a7da..daa3244da 100644
--- a/dev-python/rasterio/rasterio-1.2.10.ebuild
+++ b/dev-python/rasterio/rasterio-1.2.10-r1.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
- sci-libs/gdal[aux-xml,jpeg,png,threads,python,${PYTHON_USEDEP}]
+ sci-libs/gdal:=[aux-xml(+),jpeg,png,threads(+)]
dev-python/affine[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
@@ -26,13 +26,14 @@ RDEPEND="
dev-python/click-plugins[${PYTHON_USEDEP}]
dev-python/snuggs[${PYTHON_USEDEP}]
"
+
#DEPEND="${RDEPEND}"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
test? (
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
- sci-libs/gdal[aux-xml,jpeg,png,threads,python,${PYTHON_USEDEP}]
+ sci-libs/gdal:=[aux-xml(+),jpeg,png,threads(+)]
)
"
@@ -43,6 +44,9 @@ python_test() {
# disable tests failing for unknown reason
tests/test_env.py::test_rio_env_no_credentials
tests/test_rio_info.py::test_info_azure_unsigned
+
+ tests/test__env.py::test_search_debian_gdal_data
+ tests/test__env.py::test_search_gdal_data_debian
tests/test_warp.py::test_reproject_resampling[Resampling.cubic]
tests/test_warp.py::test_reproject_resampling[Resampling.lanczos]
tests/test_warp.py::test_reproject_resampling_alpha[Resampling.cubic]
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/rasterio/
@ 2022-01-18 16:37 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-01-18 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 018275b2350fa0b9e2fa1e51e4baf21df5ee8c45
Author: Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
AuthorDate: Sun Jan 16 10:58:10 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 18 16:37:48 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=018275b2
dev-python/rasterio: new 1.2.10
dep for dev-python/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/rasterio/metadata.xml | 18 +++++
dev-python/rasterio/rasterio-1.2.10.ebuild | 104 +++++++++++++++++++++++++++++
2 files changed, 122 insertions(+)
diff --git a/dev-python/rasterio/metadata.xml b/dev-python/rasterio/metadata.xml
new file mode 100644
index 000000000..88f92bb1c
--- /dev/null
+++ b/dev-python/rasterio/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">
+ Rasterio reads and writes geospatial raster data. Geographic information
+ systems use GeoTIFF and other formats to organize and store gridded,
+ or raster, datasets. Rasterio reads and writes these formats and
+ provides a Python API based on N-D arrays.
+</longdescription>
+ <upstream>
+ <remote-id type="github">rasterio/rasterio</remote-id>
+ <remote-id type="pypi">rasterio</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/rasterio/rasterio-1.2.10.ebuild b/dev-python/rasterio/rasterio-1.2.10.ebuild
new file mode 100644
index 000000000..625e4a7da
--- /dev/null
+++ b/dev-python/rasterio/rasterio-1.2.10.ebuild
@@ -0,0 +1,104 @@
+# 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="Command line tool and API for geospatial raster data"
+HOMEPAGE="https://github.com/rasterio/rasterio"
+SRC_URI="https://github.com/rasterio/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ sci-libs/gdal[aux-xml,jpeg,png,threads,python,${PYTHON_USEDEP}]
+ dev-python/affine[${PYTHON_USEDEP}]
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/cligj[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/click-plugins[${PYTHON_USEDEP}]
+ dev-python/snuggs[${PYTHON_USEDEP}]
+"
+#DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+ test? (
+ dev-python/boto3[${PYTHON_USEDEP}]
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ sci-libs/gdal[aux-xml,jpeg,png,threads,python,${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # disable tests failing for unknown reason
+ tests/test_env.py::test_rio_env_no_credentials
+ tests/test_rio_info.py::test_info_azure_unsigned
+ tests/test_warp.py::test_reproject_resampling[Resampling.cubic]
+ tests/test_warp.py::test_reproject_resampling[Resampling.lanczos]
+ tests/test_warp.py::test_reproject_resampling_alpha[Resampling.cubic]
+ tests/test_warp.py::test_reproject_resampling_alpha[Resampling.lanczos]
+
+ #tests/test_warp.py::test_warp_from_to_file_multi
+
+ # aux-xml
+ #tests/test_dataset.py::test_files
+ #tests/test_gcps.py::test_write_read_gcps_buffereddatasetwriter
+ #tests/test_rio_edit_info.py::test_delete_nodata
+ #tests/test_update.py::test_update_nodatavals_none
+
+ # curl
+ #tests/test_warp.py::test_reproject_error_propagation
+
+ # geos
+ #tests/test_warp.py::test_transform_geom_polygon_offset
+ #tests/test_warp.py::test_transform_geom_polygon_cutting
+
+ # png
+ #tests/test_colormap.py::test_write_colormap
+ #tests/test_no_georef.py::test_write
+ #tests/test_png.py::test_write_ubyte
+ #tests/test_rio_convert.py::test_autodetect_format
+ #tests/test_rio_merge.py::test_merge_output_dataset
+ #tests/test_shutil.py::test_delete[None-png]
+ #tests/test_shutil.py::test_delete[PNG-png]
+ #tests/test_write.py::test_write__autodetect_driver[png-PNG]
+ #tests/test_write.py::test_issue2088[PNG]
+
+ # jpeg
+ #tests/test_blocks.py::test_block_size_exception
+ #tests/test_crs.py::test_read_no_crs
+ #tests/test_memoryfile.py::test_zip_file_object_read
+ #tests/test_memoryfile.py::test_vrt_memfile
+ #tests/test_memoryfile.py::test_write_plus_model_jpeg
+ #tests/test_rio_convert.py::test_format
+ #tests/test_rio_convert.py::test_format_short
+ #tests/test_rio_convert.py::test_output_opt
+ #tests/test_rio_convert.py::test_convert_overwrite_without_option
+ #tests/test_rio_convert.py::test_convert_overwrite_with_option
+ #tests/test_rio_stack.py::test_format_jpeg
+ #tests/test_rio_warp.py::test_warp_vrt_gcps
+ #tests/test_shutil.py::test_copy_strict_failure
+ #tests/test_shutil.py::test_copy_strict_silent_failure
+ #tests/test_write.py::test_write__autodetect_driver[jpg-JPEG]
+ #tests/test_write.py::test_write__autodetect_driver[jpeg-JPEG]
+ #tests/test_write.py::test_issue2088[JPEG]
+
+ # threads
+ #tests/test_thread_pool_executor.py::test_threads_main_env
+ #tests/test_threading.py::test_child_thread_inherits_env
+ )
+
+ mv rasterio{,.bak} || die # Avoid non-working local import
+ epytest ${deselect[@]/#/--deselect }
+ mv rasterio{.bak,} || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-03 8:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 18:58 [gentoo-commits] proj/sci:master commit in: dev-python/rasterio/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2022-07-03 8:26 Andrew Ammerlaan
2022-06-13 18:58 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