diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-03 04:43:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-03 04:43:49 +0100 |
commit | 9b22dab88308071d43d47cd078b37903900f47d3 (patch) | |
tree | 67e9a0a10dcdbe72770cc89ba63028a4a8efd711 /dev-python/pyproj | |
parent | f354cd2612137255e64a82b6578696697b0415b4 (diff) |
gentoo auto-resync : 03:10:2024 - 04:43:49
Diffstat (limited to 'dev-python/pyproj')
-rw-r--r-- | dev-python/pyproj/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyproj/pyproj-3.7.0.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 024303b0495a..b88113e23a7b 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1,3 +1,5 @@ DIST pyproj-3.6.1.gh.tar.gz 239568 BLAKE2B e396e7c13dfc90f8a8eaf93b7bc0e62921779930d9c42b21ce8afa95597b13e527c179096600f40140d6d00d0f425580fccc34ae55a4e8c985d1b618554c9db4 SHA512 19c55e7ab99aae70bc318246146dc98ba75cc4884de798392f590df48c6a83e1b80504fd9c555ffd9d19262eb93cdf2c46e4805a3ae6dc07b3eaa4669f025ff0 +DIST pyproj-3.7.0.gh.tar.gz 240143 BLAKE2B e5508adbfe8f30ce6808bfeacfa8de0cd70ac2f7578aaffb3a3962aacd4cde0b7100645d562fe8822ab1d962b19c7c1d02bc336bc830058dac8a1995044adc9c SHA512 6cc1df752a5ca58b3a90a725ca113f52648e2bf72b4ecdd516169571f71652cee5c6b34bd4932b9ddf0b94b084ea4a406d915aebfa9abf1d4065567f7b48d660 EBUILD pyproj-3.6.1.ebuild 1144 BLAKE2B c694fb7047f7171a4fbf85a2604887d0fb67ec38d5adba32b57f0762f1133289b62acea52ca5ec307cb305927cdad361a58e8690bc0769aa379a6b6090305197 SHA512 f897343d3f0cfe2ec0be8760776bf353fd48e6489a2e47f9d141950c0a08732f6cf4ed2823a8a35a5313845609d3743be57b69d470fc57f33e4e2b8aba740179 +EBUILD pyproj-3.7.0.ebuild 1146 BLAKE2B b1bbe0ede741d2fa182be9b2aff4d5006555aa1b670727be0bb8a2a208852f31a0d67534725471ef4fbc6b32eb6b6c173d1fb956e65fb9be3b4a7c8390972c5c SHA512 6b713d1a526f842837c3716048df87ce367d6e8d90c5e6b720cf56b80ddbd7d1d6a54dab86523888dc61c7b545665152a22f0dd39b84a131cf0308d8a064360a MISC metadata.xml 415 BLAKE2B 4f3ab70bc72ca97a428c357257d3a59591b410f12276a42e141cd0a43072b79107529c95c6a313906129e8893c75b63a6ef11ddc2f3842a7f5e5e7f7349ec38e SHA512 7ca8a01534471dff67c42a96c524d166278e26da309b2c4d766045e38086cc0e52ccc990881ebed7ca81219d705d9e4a9c16e86b052a50867bb032457e354903 diff --git a/dev-python/pyproj/pyproj-3.7.0.ebuild b/dev-python/pyproj/pyproj-3.7.0.ebuild new file mode 100644 index 000000000000..9d26a37735d1 --- /dev/null +++ b/dev-python/pyproj/pyproj-3.7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE=" + https://github.com/pyproj4/pyproj/ + https://pypi.org/project/pyproj/ +" +SRC_URI=" + https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" + +DEPEND=" + >=sci-libs/proj-9.0.0:= +" +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/shapely[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + # Avoid greedily trying -L/usr/lib, etc + # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 + export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export PROJ_INCDIR="${ESYSROOT}/usr/include" +} + +python_test() { + rm -rf pyproj || die + epytest -m "not network" test +} |