summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin44245 -> 44246 bytes
-rw-r--r--sci-libs/cartopy/Manifest4
-rw-r--r--sci-libs/cartopy/cartopy-0.21.1.ebuild (renamed from sci-libs/cartopy/cartopy-0.20.3-r3.ebuild)23
-rw-r--r--sci-libs/pyshp/Manifest4
-rw-r--r--sci-libs/pyshp/metadata.xml1
-rw-r--r--sci-libs/pyshp/pyshp-2.3.1.ebuild27
6 files changed, 46 insertions, 13 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 380196c7dabd..cc5ce4af8c01 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/cartopy/Manifest b/sci-libs/cartopy/Manifest
index 6cadf29cf475..7deac5be738c 100644
--- a/sci-libs/cartopy/Manifest
+++ b/sci-libs/cartopy/Manifest
@@ -1,5 +1,5 @@
-DIST cartopy-0.20.3.tar.gz 10703747 BLAKE2B 794b0e837893c99bec54423731993a0321f3bd93a01bcc9c1ccfd056d4739d7f4b687c0c05e5e529edd8b350478dc76ccf9f3163061466ee6711949f360f7e7b SHA512 0ac4722ed541d77ac871438b2f4e5252c8ae0ab0551bd62a8ba654e10183bba2f702d70cc7331f1cce488c0a59fe4d24e7009de25d74a563f3b2763a12c504dd
DIST cartopy-0.21.0.gh.tar.gz 10815721 BLAKE2B 8a249d6e6b19d5a784a25d44fe062b5417811078f9b5362beed4e60f6a7e3d89996773a0b9530c96a27d3aa3a5a62ce05010ee17cc9ea71d33b9d7f6d1a5c602 SHA512 bb227e3f9ff591a33e7b4c053010321b04f2a03c68e84b1ea17cab125fc1d04f587b7f54125fe5bd3faae1379a0df8a217fd0ad5f85a7c461f9595f5b38f72f9
-EBUILD cartopy-0.20.3-r3.ebuild 1990 BLAKE2B 5eabfa2137053979e15c8978f60d8d5b5b9b9d5e1b63993b67a2d74e723af129927d24a8b73373adf428d44fc34897b82051d44f55d2cbcfbb789fd4ab1f3a79 SHA512 ff6facbc0f06e46e8fc9daad73b04a0b1e25e2e3e31e6235f4ed1e833debad32c0ec72918e8ae3dc627e1f2d116cc50a9805fc8f366ebe9d1eb8aa61437f853b
+DIST cartopy-0.21.1.gh.tar.gz 10815884 BLAKE2B 4137f593b6ce35270f9df5016529250a07c57ec5a95843db8740eb494f55109b5129cf72153b0216e4f786771bf5cedde3caaecd40175fe9ad5c6fb65ad84788 SHA512 de1d09ee3bf6af13bcc7cc4bb1f7c13335ba67e05d2ad64efa0fb00bdb74c7e13c6fc44822d5ac1d70ee7d39b2322280c1395dc66119b9ecd94ca26014e413a1
EBUILD cartopy-0.21.0-r1.ebuild 2057 BLAKE2B 252f6483f17d77209c2868fbf38b37ef4c8e9ec208e6db07d031e9ce9a8f0220ab060ef4bc95da5925fca0485003c545ea4e9ef4e9fcf1d23feb4274441f0ff0 SHA512 06517bb7adf4a0ff81b5175c7c4ffa87d4d4c1257b5d44f398313aa4845a479a9c9c6b879abbb7a0467ff66a10b5d21e58996e245ea5d2750dfccf2df1e27b17
+EBUILD cartopy-0.21.1.ebuild 2057 BLAKE2B 252f6483f17d77209c2868fbf38b37ef4c8e9ec208e6db07d031e9ce9a8f0220ab060ef4bc95da5925fca0485003c545ea4e9ef4e9fcf1d23feb4274441f0ff0 SHA512 06517bb7adf4a0ff81b5175c7c4ffa87d4d4c1257b5d44f398313aa4845a479a9c9c6b879abbb7a0467ff66a10b5d21e58996e245ea5d2750dfccf2df1e27b17
MISC metadata.xml 729 BLAKE2B 38605f8140ccae8c9edf2b5eb7bf394e9c99fd089fa998c98422967cc12d3b808d3b7901d3746da25558c9211e47deec01a3d5856176cda8a868c0151a03fed8 SHA512 f3fb714f50475c2e0f4150d20423195fffb39243aefd313e9a9d0fa834364a928a712006d6e1e1def77b902f8c349a4045d3081fe38697054e744441e622a591
diff --git a/sci-libs/cartopy/cartopy-0.20.3-r3.ebuild b/sci-libs/cartopy/cartopy-0.21.1.ebuild
index 926f138d6ada..37196a73aff3 100644
--- a/sci-libs/cartopy/cartopy-0.20.3-r3.ebuild
+++ b/sci-libs/cartopy/cartopy-0.21.1.ebuild
@@ -6,14 +6,14 @@ EAPI=8
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 virtualx
+inherit distutils-r1 multiprocessing virtualx
MY_PV=${PV/_beta/b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Python package for geospatial data processing and analysis"
HOMEPAGE="https://scitools.org.uk/cartopy"
-SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/SciTools/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="LGPL-3"
@@ -27,12 +27,11 @@ RDEPEND="
${PYTHON_DEPS}
sci-libs/gdal[python,${PYTHON_SINGLE_USEDEP}]
sci-libs/geos
- >=sci-libs/proj-8
$(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.19[${PYTHON_USEDEP}]
dev-python/shapely[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
- <dev-python/matplotlib-3.6[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/pillow[jpeg,${PYTHON_USEDEP}]
dev-python/pyproj[${PYTHON_USEDEP}]
@@ -50,19 +49,23 @@ BDEPEND="
dev-python/filelock[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/flufl-lock[${PYTHON_USEDEP}]
+ dev-python/pytest-mpl[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
')
)
"
+EPYTEST_IGNORE=(
+ # Require network access, not covered by markers
+ lib/cartopy/tests/mpl/test_crs.py
+ lib/cartopy/tests/mpl/test_gridliner.py
+)
+
distutils_enable_tests pytest
python_prepare_all() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
- # Drop test file requiring network access, which got not covered by markers
- rm "${S}"/lib/cartopy/tests/mpl/test_crs.py || die
- rm "${S}"/lib/cartopy/tests/mpl/test_gridliner.py || die
-
# Prepare matplotlib backend for test suite
export MPLCONFIGDIR="${T}"
echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
@@ -74,5 +77,5 @@ python_test() {
cd "${BUILD_DIR}" || die
# Drop all tests needing network access
- virtx pytest -vv -m "not network and not natural_earth" || die "test failed"
+ virtx epytest -n "$(makeopts_jobs)" -m "not network and not natural_earth" || die "test failed"
}
diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest
index 6733c596b8df..518a8f3248ed 100644
--- a/sci-libs/pyshp/Manifest
+++ b/sci-libs/pyshp/Manifest
@@ -1,3 +1,5 @@
DIST pyshp-2.1.3.tar.gz 219626 BLAKE2B 2da94cb4b1514a504b9f961b58add973a73dea641ad5867b670860000decd29af72092079b5d16f516b99a59be83028f4698faa2cb013200e533bbe772746d48 SHA512 249302e784bb38860037242b70899faaf504ef626c37decca44dc0d7c4f9482737e3234c0002393d1ef9800778715fc2b9946f3e3f3ecf507921e9db218d0d33
+DIST pyshp-2.3.1..gh.tar.gz 2213685 BLAKE2B ca5b87dec442508bc4a0612982984ba0fb91aa8acffddb6a448c43ccf42285305600a5e28e1fb781a3d94e8ce0624d027642fddcc5f2176dca3df095e59df170 SHA512 08844492b8d1d824c639844f7f314909d946bd4d3703a4f8d4cb64d400729671b42ff5b0f80aa68d9469f3939a3c7619ba13c9efdcba3b244ec01d7be3a371c5
EBUILD pyshp-2.1.3.ebuild 549 BLAKE2B a48d9defa84bed8d33e05da68c64daa98d2f4af0265e35d7ddecb7458d8104536b9c7f16070fb009d0aa72d244440ca13e1effec239efbcd9efce276df07abc5 SHA512 ff101b2859f9d70b3f4b06356820709f55d6451d3b7116a3ed17f3e0331d364a2c76f9e405ec078a39b09a829e50848b8ca4b602b5c1d54ef8a9ddc8a3f439b3
-MISC metadata.xml 328 BLAKE2B 9ffef2bc5ef9a6697205359bcb8b2ceb1eebc67e96bb2de6e12e868daf663bf0c4bd4bd1c836f3eee452bace673dba3bf87a24322b5c0fbf497a6a6433b978b1 SHA512 33a6ce34c49c7d5e39e17c9f396c98e42209c8282a61b3a6db4f0391ab7e5399f42fa819a86bf2c5a3bcbf5cd5ec3e544cc3138ca44ebd2ed74b81951b25d1ff
+EBUILD pyshp-2.3.1.ebuild 697 BLAKE2B 8ac219194cbb868665340e4f087e9d88a4939ce3ff10fb22b38679bc6014704f2ed47a369a8e8090fb287dde821927863cb00498b39e6ff2c508719272ce89a9 SHA512 716e6f063da3d13bff5e75ac5017d3e2ff34ae39f437abe17955472e84eb1ccf07cf2eebe794cf796e1506c40b40213facc025be02ff0888f3d99151c05e474a
+MISC metadata.xml 392 BLAKE2B d0502636f7a083b4eca21dd9c9cb2604d96ec91616c88566f42687e53be965090683984d3289ae332c94309e89b25f39a12b601467abec718365d53f423fe21d SHA512 b3914985e7b8857a7f0841d4e987746f64a571a83ed3a237621c048e073c1f5a77512c40011ee1808c3ffadff08c03adc53ffe767e8a5f35c628882df779b771
diff --git a/sci-libs/pyshp/metadata.xml b/sci-libs/pyshp/metadata.xml
index 6635cddf96ed..698e51f02c5c 100644
--- a/sci-libs/pyshp/metadata.xml
+++ b/sci-libs/pyshp/metadata.xml
@@ -6,6 +6,7 @@
<name>Thomas Beierlein</name>
</maintainer>
<upstream>
+ <remote-id type="github">GeospatialPython/pyshp</remote-id>
<remote-id type="pypi">pyshp</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sci-libs/pyshp/pyshp-2.3.1.ebuild b/sci-libs/pyshp/pyshp-2.3.1.ebuild
new file mode 100644
index 000000000000..af715dcb9263
--- /dev/null
+++ b/sci-libs/pyshp/pyshp-2.3.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{7..11} )
+inherit distutils-r1
+
+DESCRIPTION="Pure Python read/write support for ESRI Shapefile format"
+HOMEPAGE="https://pypi.org/project/pyshp/"
+# pypi tarballs are missing test data
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/GeospatialPython/${PN}/archive/${PV}.tar.gz -> ${P}..gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ epytest test_shapefile.py -m "not network" || die
+}