mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
orjson-bin: drop, nothing needs this anymore
This commit is contained in:
parent
408f5943e6
commit
65fcb18855
3 changed files with 0 additions and 51 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST orjson-bin-3.5.4_aarch64.zip 211534 BLAKE2B d16a767d66f0dd23ce18c02decfc163e0370c5ff99df292f295d7fa599b6dad359b30c582312f5f21e30a1eefcdf371489ff8f4813050f59d02baa6735f0d217 SHA512 30f992302ffcec64460f7b3f0001d39f321a70417a2cb71370777486c56ce5d4aa86de6c59ffd830f267536e609f7fd941f703f0281530feb4c3e64b3a35f757
|
||||
DIST orjson-bin-3.5.4_x86_64.zip 229738 BLAKE2B 2e7be6ae80b434f60fb95a2f748b0e5788db41d452d191557c8b160f0a8788749ad7a5eccaf72a71b97fcc1b87c1e462550159a58126303b5c7ca75ca6f67de8 SHA512 68f9fce3b56a41294efd4f9b2da3841719ca5df222c656a32f5d9bd80a660774eb2e5f28a63324a9fffe15184745fef68a67c6482398b3443252b46324cb7e6f
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit python-r1 python-utils-r1
|
||||
|
||||
MY_PN=${PN//-bin/}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
|
||||
HOMEPAGE="https://github.com/ijl/orjson"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${MY_PN}/${MY_P}-cp310-cp310-manylinux_2_24_x86_64.whl -> ${P}_x86_64.zip
|
||||
)
|
||||
arm64? (
|
||||
https://files.pythonhosted.org/packages/cp310/${P:0:1}/${MY_PN}/${MY_P}-cp310-cp310-manylinux_2_24_aarch64.whl -> ${P}_aarch64.zip
|
||||
)
|
||||
|
||||
"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
S="${WORKDIR}/"
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto "$(python_get_sitedir)"
|
||||
if use amd64; then
|
||||
doins orjson.cpython-310-x86_64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-39-x86_64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-38-x86_64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-x86_64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-37-x86_64-linux-gnu.so
|
||||
elif use arm64; then
|
||||
doins orjson.cpython-310-aarch64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-39-aarch64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-38-aarch64-linux-gnu.so
|
||||
dosym $(python_get_sitedir)/orjson.cpython-310-aarch64-linux-gnu.so $(python_get_sitedir)/orjson.cpython-37-aarch64-linux-gnu.so
|
||||
fi
|
||||
}
|
||||
|
|
@ -179,7 +179,6 @@ dev-python/aiosqlite
|
|||
#testing
|
||||
dev-python/fastapi
|
||||
dev-python/limits
|
||||
dev-python/orjson-bin
|
||||
=dev-python/aiofiles-23*
|
||||
dev-python/slowapi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue