dev-python/shapely - 2.2.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-python/shapely-2.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/shapely-2.2.0

Or alternatively:

emerge --autounmask-write -a =dev-python/shapely-2.2.0

Package Information

Description:
Geometric objects, predicates, and operations
Homepage:
https://pypi.org/project/shapely/ https://github.com/shapely/shapely/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.2.0 8 ~amd64 ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
# TODO: freethreading
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1

MY_P=${P/_p/.post}
DESCRIPTION="Geometric objects, predicates, and operations"
HOMEPAGE="
	https://pypi.org/project/shapely/
	https://github.com/shapely/shapely/
"
SRC_URI="
	https://github.com/shapely/shapely/archive/${PV/_p/.post}.tar.gz
		-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

DEPEND="
	dev-python/numpy:=[${PYTHON_USEDEP}]
	>=sci-libs/geos-3.11.4
"
RDEPEND="
	${DEPEND}
"
BDEPEND="
	${DEPEND}
	>=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	rm -rf shapely || die
	epytest --pyargs shapely
}

Inherited Eclasses

Dependencies

DEPEND

	dev-python/numpy:=[]
	>=sci-libs/geos-3.11.4

RDEPEND

	
	dev-python/numpy:=[]
	>=sci-libs/geos-3.11.4

BDEPEND

	
	dev-python/numpy:=[]
	>=sci-libs/geos-3.11.4

	>=dev-python/cython-0.29.32[]
	dev-python/packaging[]

Manifest for 2.2.0

Type File Size Source URLs
DIST shapely-2.2.0.gh.tar.gz 373682 bytes https://github.com/shapely/shapely/archive/2.2.0.tar.gz