Updated flatcam and dependency galore / minor updates to other ebuilds
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST rasterio-1.2.10.tar.gz 12888995 BLAKE2B e6e4e55ae2fc7c10839625331f52a3366815672412dee7ee2332d32ce842c35ebbbb81e446d03a92a1cb6f877ecc377de1509d2d8c857ab7034dd246996b0318 SHA512 97559778163a36982b733137f6b5a879649c9591583cf80ccb38739f6565bf65c6b198d499242811ebb7342a3a4ef3756451bc3c7d1b431f8d1e568c6bae41d5
|
||||
EBUILD rasterio-1.2.10-r1.ebuild 3731 BLAKE2B 336c3be9da0038c07e1fb64414753d872925a27c827e330c9a54aaccbdf5b0b82f8ddbe378b8f6e7c69bf9b3d307a868fac63304f3c7d7e262eb05c22b017107 SHA512 bd7d87a55ee0c184cc155ebc0c7401da8a422e058032a7430c3ca8ad5c9460186b9d3d5263f75ebee5e32e64647147252f003b0f09e9a2f7aa19e7b27cae592f
|
||||
MISC metadata.xml 704 BLAKE2B dbbe8c83942cbaba85998b1223b41574f8436e2bf682e862f5bb423285d1cc0f6f0ae5a52a2cc157c111279cf434261e25d8c7d89c024df1785200f991dec723 SHA512 2937e52e2e7998f690557be4233a232a98b11c049b000c0491671b4cb1f000b5c8b3e289847a277a371b505f29117fee8ffb18562f34e449fd4404ff7e630865
|
||||
@@ -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>
|
||||
@@ -0,0 +1,109 @@
|
||||
# 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(+)]
|
||||
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}]
|
||||
dev-python/shapely[${PYTHON_USEDEP}]
|
||||
sci-libs/gdal:=[aux-xml(+),jpeg,png,threads(+)]
|
||||
)
|
||||
"
|
||||
|
||||
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__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]
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user