commit:     81d3ba13190db8fcda870b63738de0127bc77c5b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 14:46:34 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 20:47:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d3ba13

dev-python/pyproj: Bump to 3.7.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyproj/Manifest            |  1 +
 dev-python/pyproj/pyproj-3.7.1.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest
index 23d0da29c895..c5580da82891 100644
--- a/dev-python/pyproj/Manifest
+++ b/dev-python/pyproj/Manifest
@@ -1 +1,2 @@
 DIST pyproj-3.7.0.gh.tar.gz 240143 BLAKE2B 
e5508adbfe8f30ce6808bfeacfa8de0cd70ac2f7578aaffb3a3962aacd4cde0b7100645d562fe8822ab1d962b19c7c1d02bc336bc830058dac8a1995044adc9c
 SHA512 
6cc1df752a5ca58b3a90a725ca113f52648e2bf72b4ecdd516169571f71652cee5c6b34bd4932b9ddf0b94b084ea4a406d915aebfa9abf1d4065567f7b48d660
+DIST pyproj-3.7.1.gh.tar.gz 239121 BLAKE2B 
42502c9230d11988c0b14b94226b043bb83bab4885e7490b786b78883a8b73081604dd856bd64b0baf5e241774cc3d384fcc9c1bbecfce10e0fcb3f82fcfadaa
 SHA512 
43582a052e80d1d89120a79ec2ee1b4ae9cc24d65031275286791f2bad7efc0827831d2a7482d9a37988359a26c662d38144a372fc23a45a8edd814fd78fc1b7

diff --git a/dev-python/pyproj/pyproj-3.7.1.ebuild 
b/dev-python/pyproj/pyproj-3.7.1.ebuild
new file mode 100644
index 000000000000..c26e9320d427
--- /dev/null
+++ b/dev-python/pyproj/pyproj-3.7.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 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
+}

Reply via email to