From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A286413835B for ; Tue, 25 May 2021 05:14:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6056E07F9; Tue, 25 May 2021 05:13:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CCE0E07F9 for ; Tue, 25 May 2021 05:13:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3D47340A03 for ; Tue, 25 May 2021 05:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74D91797 for ; Tue, 25 May 2021 05:13:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1621918613.3fbfbfc647673d0f443564035c66a943a0cb4ac3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyproj/Manifest dev-python/pyproj/pyproj-3.1.0.ebuild X-VCS-Directories: dev-python/pyproj/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3fbfbfc647673d0f443564035c66a943a0cb4ac3 X-VCS-Branch: master Date: Tue, 25 May 2021 05:13:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53fb9987-80c8-45f5-ae5a-13f4e34d38c5 X-Archives-Hash: aceb8a777fb6fe9de1cd7914cd0d927b commit: 3fbfbfc647673d0f443564035c66a943a0cb4ac3 Author: Michał Górny gentoo org> AuthorDate: Tue May 25 04:18:20 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 25 04:56:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fbfbfc6 dev-python/pyproj: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyproj/Manifest | 1 + dev-python/pyproj/pyproj-3.1.0.ebuild | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 37f1b315049..e39eabb0e2d 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1 +1,2 @@ DIST pyproj-3.0.1.tar.gz 168962 BLAKE2B 3271d604148c122f4dfdd68c4237e1911f30da7cc858128d644b6b6807c3e49450e0b42c385d37bbe1cfa5ab80d635e7f620d41bf5089af6b49a542eb9b3fcd0 SHA512 f5ae0ede1deaa93757cb98cc680d6e47a19b9f5c0ce5e357c2ecfe96f764ff59ec7285c606162da38573123d21f12f1df82354f1d2205149970af2d7d63c2689 +DIST pyproj-3.1.0.tar.gz 182603 BLAKE2B d4e95f62b10b282e7bbfcb7a2059a11a489e53402cbb1760b7da73248dfc05de6be8ca820e55d34c9270eea38178f1fb934bd5ffc389833b3734b87b79991187 SHA512 21a5d08207676d8d9722cb5e3b13ed68f03b1a2aa034c20c61bb8dab5d204dd968ba9a3df1b0c43ed174e082725c7624efb75a0c9c3df920808cbcb44f4d170a diff --git a/dev-python/pyproj/pyproj-3.1.0.ebuild b/dev-python/pyproj/pyproj-3.1.0.ebuild new file mode 100644 index 00000000000..6061e44b117 --- /dev/null +++ b/dev-python/pyproj/pyproj-3.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE="https://github.com/pyproj4/pyproj" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_p/.post}.tar.gz" +S="${WORKDIR}/${P/_p/.post}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +RDEPEND=">=sci-libs/proj-7.2.0:=" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests --install pytest + +python_test() { + local deselect=( + # TODO + test/test_datum.py + test/test_transformer.py::test_transform_wgs84_to_alaska + test/test_transformer.py::test_repr__conditional + test/test_transformer.py::test_transformer_group__unavailable + test/test_transformer.py::test_transformer_group__network_disabled + test/test_transformer.py::test_transformer_group__download_grids__directory + test/crs/test_crs.py::test_coordinate_operation_grids__alternative_grid_name + ) + + distutils_install_for_testing + cp -r test "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + epytest --import-mode=append -m "not network" \ + ${deselect[@]/#/--deselect } test +}