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: Tue, 31 Jan 2023 11:22:33
Message-Id: 1675164140.07c6f487a5824bfe13737299965a80bcc9d4dc73.mgorny@gentoo
1 commit: 07c6f487a5824bfe13737299965a80bcc9d4dc73
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 10:59:04 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 11:22:20 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c6f487
7
8 dev-python/shapely: Bump to 2.0.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/shapely/Manifest | 1 +
13 dev-python/shapely/shapely-2.0.1.ebuild | 44 +++++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/shapely/Manifest b/dev-python/shapely/Manifest
17 index 4010cd22815c..a59a9303a3e5 100644
18 --- a/dev-python/shapely/Manifest
19 +++ b/dev-python/shapely/Manifest
20 @@ -1 +1,2 @@
21 DIST shapely-2.0.0.gh.tar.gz 324420 BLAKE2B efe8aea8d9507bf2d2c31ca7dfaa6a531f71530243dd8c23046f4803d36e36b1636a07255c634fc5d6e30391aac260dcdaeb1f4c2aa73297a90f71134c1bbc15 SHA512 15e261901ada47ef2a9d2f213a2634152bc43799fd27421726b5e6525f91aef60c0bbc5f38e5185bf89ec795b5fa703688d2b08d4d3d14c9274515c5935157cb
22 +DIST shapely-2.0.1.gh.tar.gz 325843 BLAKE2B f6ae72c8544c236f6761be5bbc358161232319377a76d297eda317e61b97185ae62126b27963cb83798593ec2ce3f29d99bd74113e356b69b54da7586927d43b SHA512 878a4857f5408e2f779566f4885b3336eecd2ecfd685e9be3e306af2720ca4da3f7a1159ae65ad1eba441e0f9b347176d6c144563a9562ed8213e6f964d183c7
23
24 diff --git a/dev-python/shapely/shapely-2.0.1.ebuild b/dev-python/shapely/shapely-2.0.1.ebuild
25 new file mode 100644
26 index 000000000000..6c31a645aa99
27 --- /dev/null
28 +++ b/dev-python/shapely/shapely-2.0.1.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2023 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_{9..11} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=${P/_p/.post}
41 +DESCRIPTION="Geometric objects, predicates, and operations"
42 +HOMEPAGE="
43 + https://pypi.org/project/shapely/
44 + https://github.com/shapely/shapely/
45 +"
46 +SRC_URI="
47 + https://github.com/shapely/shapely/archive/${PV/_p/.post}.tar.gz
48 + -> ${MY_P}.gh.tar.gz
49 +"
50 +S=${WORKDIR}/${MY_P}
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm64 ~x86"
55 +
56 +DEPEND="
57 + >=sci-libs/geos-3.9
58 +"
59 +RDEPEND="
60 + ${DEPEND}
61 + dev-python/numpy[${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + ${DEPEND}
65 + >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
66 + dev-python/packaging[${PYTHON_USEDEP}]
67 +"
68 +
69 +distutils_enable_tests pytest
70 +
71 +python_compile_all() {
72 + rm -r shapely || die
73 +}