mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Required for Python 3.14 compatibility; rpds-py 0.10.6 predates Python 3.14 support in PyO3 and causes a segfault at runtime. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2023 Jeffery To
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-rpds-py
|
|
PKG_VERSION:=0.30.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=rpds-py
|
|
PYPI_SOURCE_NAME:=rpds_py
|
|
PKG_HASH:=dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:=python-maturin/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-rpds-py
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Bindings to Rust's persistent data structures
|
|
URL:=https://github.com/crate-py/rpds
|
|
DEPENDS:=+python3-light $(RUST_ARCH_DEPENDS)
|
|
endef
|
|
|
|
define Package/python3-rpds-py/description
|
|
Python bindings to the Rust rpds crate for persistent data structures.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-rpds-py))
|
|
$(eval $(call BuildPackage,python3-rpds-py))
|
|
$(eval $(call BuildPackage,python3-rpds-py-src))
|