Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/
Date: Sat, 18 Sep 2021 07:00:39
Message-Id: 1631948023.96396a35cd33e0f07147af13ff4f47e490e80340.mgorny@gentoo
1 commit: 96396a35cd33e0f07147af13ff4f47e490e80340
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 18 06:48:15 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 18 06:53:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96396a35
7
8 dev-python/pyproj: Bump to 3.2.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyproj/Manifest | 1 +
13 dev-python/pyproj/pyproj-3.2.1.ebuild | 47 +++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest
17 index 37dc0209afb..7dbbc6ffc5b 100644
18 --- a/dev-python/pyproj/Manifest
19 +++ b/dev-python/pyproj/Manifest
20 @@ -1,3 +1,4 @@
21 DIST pyproj-3.0.1.tar.gz 168962 BLAKE2B 3271d604148c122f4dfdd68c4237e1911f30da7cc858128d644b6b6807c3e49450e0b42c385d37bbe1cfa5ab80d635e7f620d41bf5089af6b49a542eb9b3fcd0 SHA512 f5ae0ede1deaa93757cb98cc680d6e47a19b9f5c0ce5e357c2ecfe96f764ff59ec7285c606162da38573123d21f12f1df82354f1d2205149970af2d7d63c2689
22 DIST pyproj-3.1.0.tar.gz 182603 BLAKE2B d4e95f62b10b282e7bbfcb7a2059a11a489e53402cbb1760b7da73248dfc05de6be8ca820e55d34c9270eea38178f1fb934bd5ffc389833b3734b87b79991187 SHA512 21a5d08207676d8d9722cb5e3b13ed68f03b1a2aa034c20c61bb8dab5d204dd968ba9a3df1b0c43ed174e082725c7624efb75a0c9c3df920808cbcb44f4d170a
23 DIST pyproj-3.2.0.tar.gz 212708 BLAKE2B f880b8aade716e6137bcd4cc4c2d96946e2c7c735077f8707e37b3f174b2613f0281a48140a0154a21615423cd2e1ed70cea79916a04f4b9d84e958b6fe31795 SHA512 67eedd839d625f57accbabadee719030184a79f74185765da2b5610d73b8341435edc56d70d42d5a5d0ece0e22421742a327fe746761ec4f782a72d977306a74
24 +DIST pyproj-3.2.1.tar.gz 213342 BLAKE2B 141f64f33f399e1089009f8047b2541516dc84f2b2133f5e0de5cbaf5d5bef30197f556f630076725a4d78c4244011bf1a7c9a54114d6e166cbb9c10c468da05 SHA512 4ba5bd2d2356c06b711e53581665bdcad3faeb420258c7d4bbb5639784948842a3a6ee0f1f0f50363878c183c38a27063071f25594576eccca146ceb33107761
25
26 diff --git a/dev-python/pyproj/pyproj-3.2.1.ebuild b/dev-python/pyproj/pyproj-3.2.1.ebuild
27 new file mode 100644
28 index 00000000000..264aa18088e
29 --- /dev/null
30 +++ b/dev-python/pyproj/pyproj-3.2.1.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python interface to the PROJ library"
41 +HOMEPAGE="https://github.com/pyproj4/pyproj"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux"
47 +
48 +RDEPEND=">=sci-libs/proj-7.2.0:="
49 +BDEPEND="
50 + dev-python/cython[${PYTHON_USEDEP}]
51 + test? (
52 + dev-python/mock[${PYTHON_USEDEP}]
53 + dev-python/numpy[${PYTHON_USEDEP}]
54 + dev-python/pandas[${PYTHON_USEDEP}]
55 + dev-python/xarray[${PYTHON_USEDEP}]
56 + sci-libs/shapely[${PYTHON_USEDEP}]
57 + )"
58 +
59 +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
60 +distutils_enable_tests --install pytest
61 +
62 +python_test() {
63 + local EPYTEST_DESELECT=(
64 + # TODO
65 + test/test_datum.py
66 + test/test_transformer.py::test_transform_wgs84_to_alaska
67 + test/test_transformer.py::test_repr__conditional
68 + test/test_transformer.py::test_transformer_group__unavailable
69 + test/test_transformer.py::test_transformer_group__network_disabled
70 + test/test_transformer.py::test_transformer_group__download_grids__directory
71 + test/crs/test_crs.py::test_coordinate_operation_grids__alternative_grid_name
72 + )
73 +
74 + distutils_install_for_testing
75 + cp -r test "${BUILD_DIR}" || die
76 + cd "${BUILD_DIR}" || die
77 + epytest --import-mode=append -m "not network" test
78 +}