diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-21 17:14:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-21 17:14:54 +0100 |
commit | d7c0aa05b3a48c9b2bad24e3d805820f861165c6 (patch) | |
tree | bf664ec4da7846863657a931f0abfcaa0d9dfd9b /dev-python/pyproj | |
parent | 03633f33c2184a87f7a4cebae72542343cf0490c (diff) |
gentoo auto-resync : 21:09:2023 - 17:14:53
Diffstat (limited to 'dev-python/pyproj')
-rw-r--r-- | dev-python/pyproj/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyproj/pyproj-3.6.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 0e659225062a..edd287ea3c11 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1,3 +1,5 @@ DIST pyproj-3.6.0.gh.tar.gz 238966 BLAKE2B 441904a343b7abab19e9d17a1bcb053d4f5606886b1325cfadcdd8456b61871bee4d13c49802008aea5c5864c40ef15a4a7681969890368a1991ba696b76ab78 SHA512 e713de94331022112049e76f7f56d24439a0dee339e8419acf8b023b3234a7c2ba468bed880749036fca2a93b289575ebb74854ba178f3b6debae8aa53befcf7 +DIST pyproj-3.6.1.gh.tar.gz 239568 BLAKE2B e396e7c13dfc90f8a8eaf93b7bc0e62921779930d9c42b21ce8afa95597b13e527c179096600f40140d6d00d0f425580fccc34ae55a4e8c985d1b618554c9db4 SHA512 19c55e7ab99aae70bc318246146dc98ba75cc4884de798392f590df48c6a83e1b80504fd9c555ffd9d19262eb93cdf2c46e4805a3ae6dc07b3eaa4669f025ff0 EBUILD pyproj-3.6.0.ebuild 1188 BLAKE2B 49663478c0660990e671e75b38f128f718bc5dbfabb056416ae8f422683bb19300b5e9db84793ad3e50ed3ac987be36e6a021bb267f33fb6262cdf7ad4f35c1b SHA512 f00bfd2d9c30b5491a52cd7f71debb6d904cb9f28cf341806eb7ecfc976061cfec15de14bb0d9c45ba455d761f710819f3c3618e2bf6aafd90a714e167ee3f10 +EBUILD pyproj-3.6.1.ebuild 1146 BLAKE2B e3fa4b5edc618c96c96951eb79be3ade172f0be96a75b7ddb9b6cea7e64677f25ebbe9dccc731c8d906bab7efee77327ca9f98ccb39c3a259a129ae830262d1a SHA512 78900af7577a576a76c3e9db15d0c281694a49789d2853fe1923d331859ac9af593ca80e6ea871921864dfd4da2c7cd85b1da09f26076fefa815322da5051531 MISC metadata.xml 415 BLAKE2B 4f3ab70bc72ca97a428c357257d3a59591b410f12276a42e141cd0a43072b79107529c95c6a313906129e8893c75b63a6ef11ddc2f3842a7f5e5e7f7349ec38e SHA512 7ca8a01534471dff67c42a96c524d166278e26da309b2c4d766045e38086cc0e52ccc990881ebed7ca81219d705d9e4a9c16e86b052a50867bb032457e354903 diff --git a/dev-python/pyproj/pyproj-3.6.1.ebuild b/dev-python/pyproj/pyproj-3.6.1.ebuild new file mode 100644 index 000000000000..5157fb21ee1d --- /dev/null +++ b/dev-python/pyproj/pyproj-3.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 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..11} ) + +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 +} |