From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1322545-garchives=archives.gentoo.org@lists.gentoo.org> 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 2CABB158092 for <garchives@archives.gentoo.org>; Mon, 20 Sep 2021 06:55:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BF59E090F; Mon, 20 Sep 2021 06:55:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D445E090F for <gentoo-commits@lists.gentoo.org>; Mon, 20 Sep 2021 06:55:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07AD5342E1D for <gentoo-commits@lists.gentoo.org>; Mon, 20 Sep 2021 06:55:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 945BFA7 for <gentoo-commits@lists.gentoo.org>; Mon, 20 Sep 2021 06:55:54 +0000 (UTC) From: "Arthur Zamarin" <arthurzam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org> Message-ID: <1632120938.4e4e6abf7e75aac984341cacf3426862ff6ec689.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/shapely/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/shapely/shapely-1.7.1-r1.ebuild X-VCS-Directories: sci-libs/shapely/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 4e4e6abf7e75aac984341cacf3426862ff6ec689 X-VCS-Branch: master Date: Mon, 20 Sep 2021 06:55:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eccd7c1f-12f2-4341-a735-d6f949779fd2 X-Archives-Hash: ec67d877ee4c9d63f098e600bda1b9a8 commit: 4e4e6abf7e75aac984341cacf3426862ff6ec689 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Mon Sep 20 06:55:38 2021 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Mon Sep 20 06:55:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4e6abf sci-libs/shapely: enable py3.10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> sci-libs/shapely/shapely-1.7.1-r1.ebuild | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/sci-libs/shapely/shapely-1.7.1-r1.ebuild b/sci-libs/shapely/shapely-1.7.1-r1.ebuild index 7c75f9f5be2..749e53b1ac3 100644 --- a/sci-libs/shapely/shapely-1.7.1-r1.ebuild +++ b/sci-libs/shapely/shapely-1.7.1-r1.ebuild @@ -3,39 +3,29 @@ EAPI=7 -MY_PN="Shapely" -MY_P="${MY_PN}-${PV}" - -PYTHON_COMPAT=( python3_{7..9} ) - +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Geometric objects, predicates, and operations" HOMEPAGE="https://pypi.org/project/Shapely/ https://github.com/Toblerity/Shapely" SRC_URI="https://github.com/Toblerity/Shapely/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^}" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -RDEPEND=" +DEPEND=">=sci-libs/geos-3.9" +RDEPEND="${DEPEND} dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/geos-3.9 " - -BDEPEND="${RDEPEND} +BDEPEND="${DEPEND} dev-python/cython[${PYTHON_USEDEP}] " -S="${WORKDIR}/${MY_P}" - -PATCHES=( "${FILESDIR}/${P}-tests-support-geos-3.9.patch" ) - -distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}/${P}-tests-support-geos-3.9.patch" +) +distutils_enable_tests --install pytest distutils_enable_sphinx docs dev-python/matplotlib - -python_test() { - distutils_install_for_testing - ${EPYTHON} -m pytest tests || die "tests failed under ${EPYTHON}" -}