mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/shapely: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST shapely-1.8.5.post1.gh.tar.gz 323178 BLAKE2B 05ff22f972446da340714548f5a2ad233f8bac8bb0710a8c5444dc44e7d5ad0d2c2d37bc3ddb987f57accd065c75c9627752a6c6cb3590621e39812674c678e9 SHA512 99a406833ebd13cb3f88fb710ed66f545a0b128d201e82ff381de0214cde38c685a622f78e964d6d41fc9ba096bc62e63bf9da04d216dedf2f96bb1e3496d48f
|
||||
DIST shapely-2.0.0.gh.tar.gz 324420 BLAKE2B efe8aea8d9507bf2d2c31ca7dfaa6a531f71530243dd8c23046f4803d36e36b1636a07255c634fc5d6e30391aac260dcdaeb1f4c2aa73297a90f71134c1bbc15 SHA512 15e261901ada47ef2a9d2f213a2634152bc43799fd27421726b5e6525f91aef60c0bbc5f38e5185bf89ec795b5fa703688d2b08d4d3d14c9274515c5935157cb
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
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="
|
||||
>=sci-libs/geos-3.9
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${DEPEND}
|
||||
>=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs dev-python/matplotlib
|
||||
|
||||
src_prepare() {
|
||||
rm -r _vendor || die
|
||||
sed -i -e 's:_vendor\.::' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
rm -rf shapely || die
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user