summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-08 10:03:05 -0700
committerKhem Raj <raj.khem@gmail.com>2023-04-08 10:05:00 -0700
commit95a76614a6c80c954afc3a61b7ac83ed9f943db6 (patch)
tree1f5f687a8980d2b1bfbc0c291153e0e07dce9267 /meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
parent621a2a377991feb6042bd685037dffe3397b4c36 (diff)
downloadmeta-openembedded-95a76614a6c80c954afc3a61b7ac83ed9f943db6.tar.gz
python3-pyruvate: Upgrade to 1.2.1
Add fixes to build with musl and riscv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb46
1 files changed, 0 insertions, 46 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
deleted file mode 100644
index db9a4cd511..0000000000
--- a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
+++ /dev/null
@@ -1,46 +0,0 @@
1SUMMARY = "WSGI server implemented in Rust."
2DESCRIPTION = "Pyruvate is a reasonably fast, multithreaded, non-blocking \
3WSGI server implemented in Rust."
4HOMEPAGE = "https://gitlab.com/tschorr/pyruvate"
5BUGTRACKER = "https://gitlab.com/tschorr/pyruvate/-/issues"
6
7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=051b48e640a6e2d795eac75542d9417c \
9 file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10
11SRC_URI += "\
12 git://gitlab.com/tschorr/pyruvate.git;protocol=https;branch=main \
13 file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=../cargo_home/bitbake/nix-0.23.1/ \
14"
15SRC_URI[sha256sum] = "10befedd97e73fc18b902d02aa3b24e8978aa162242c1b664849c886c0675899"
16SRCREV = "fcbe49cc1a06290e28a211022df759605bce980d"
17
18SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.4.1/"
19
20S = "${WORKDIR}/git"
21
22inherit python_setuptools3_rust cargo-update-recipe-crates
23
24PIP_INSTALL_DIST_PATH = "${S}/dist"
25
26# crossbeam-* -> std::sync::atomic AtomicI64, AtomicU64
27# not supported on mips/powerpc with 32-bit pointers
28# https://doc.rust-lang.org/std/sync/atomic/#portability
29RUSTFLAGS:append:mips = " --cfg crossbeam_no_atomic_64"
30RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64"
31RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64"
32RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64"
33
34require ${BPN}-crates.inc
35
36# The following configs & dependencies are from setuptools extras_require.
37# These dependencies are optional, hence can be controlled via PACKAGECONFIG.
38# The upstream names may not correspond exactly to bitbake package names.
39#
40# Uncomment this line to enable all the optional features.
41#PACKAGECONFIG ?= "test"
42PACKAGECONFIG[test] = ",,,python3-pytest python3-requests"
43
44# WARNING: the following rdepends are determined through basic analysis of the
45# python sources, and might not be 100% accurate.
46RDEPENDS:${PN} += "python3-core"