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/shapely/
Date: Fri, 02 Sep 2022 17:37:53
Message-Id: 1662140263.bbd83c466ca377a596b0233a3be47382294af66e.mgorny@gentoo
1 commit: bbd83c466ca377a596b0233a3be47382294af66e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 16:53:08 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 17:37:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd83c46
7
8 dev-python/shapely: Bump to 1.8.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/shapely/Manifest | 1 +
13 dev-python/shapely/shapely-1.8.4.ebuild | 50 +++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
17 index e0d2a0642263..6f075ebea7f1 100644
18 --- a/dev-python/shapely/Manifest
19 +++ b/dev-python/shapely/Manifest
20 @@ -1 +1,2 @@
21 DIST shapely-1.8.2.gh.tar.gz 322064 BLAKE2B f21f91eb58818aa30464c719b1079d382c5a00f13eda70c532e4a12f1612284240e5c8c110a867c74eaa4aac5f3a21fd10b23c7ce781808d4adc871d038b8b2b SHA512 c85323f180622235257aed28c85640c63bb43cbcb2bd7ed9b354a0f23a92e0ca8becf7a94e85edea3a90cfd01017ddfc6f268f4bb2945639c2cae29a73292bd6
22 +DIST shapely-1.8.4.gh.tar.gz 322701 BLAKE2B 79cca2290b8e32ac146316feff4ccb332d47dd11ec4753f83618305c169e085629858c5e9d66fe281adda36be46eaebe996e2fe67dace1e6cbe9a7ca322c1c18 SHA512 8b57a2e83f8eb10a041f6a8d9170b84ed708a5835a16874761e5ccec0453ff34a282aeefb0367ab79c85216a68f5bb8b4b75503e81eaa3f7277f4036b8b0b242
23
24 diff --git a/dev-python/shapely/shapely-1.8.4.ebuild b/dev-python/shapely/shapely-1.8.4.ebuild
25 new file mode 100644
26 index 000000000000..e123057db79a
27 --- /dev/null
28 +++ b/dev-python/shapely/shapely-1.8.4.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Geometric objects, predicates, and operations"
41 +HOMEPAGE="
42 + https://pypi.org/project/Shapely/
43 + https://github.com/shapely/shapely/
44 +"
45 +SRC_URI="
46 + https://github.com/shapely/shapely/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm64 ~x86"
53 +
54 +DEPEND="
55 + >=sci-libs/geos-3.9
56 +"
57 +RDEPEND="
58 + ${DEPEND}
59 + dev-python/numpy[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + ${DEPEND}
63 + dev-python/cython[${PYTHON_USEDEP}]
64 + dev-python/packaging[${PYTHON_USEDEP}]
65 +"
66 +
67 +distutils_enable_tests pytest
68 +distutils_enable_sphinx docs dev-python/matplotlib
69 +
70 +src_prepare() {
71 + rm -r _vendor || die
72 + sed -i -e 's:_vendor\.::' setup.py || die
73 + distutils-r1_src_prepare
74 +}
75 +
76 +python_test() {
77 + rm -rf shapely || die
78 + epytest
79 +}