b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2023 Jeffery To |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-rpds-py |
| 11 | PKG_VERSION:=0.10.6 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=rpds-py |
| 15 | PYPI_SOURCE_NAME:=rpds_py |
| 16 | PKG_HASH:=4ce5a708d65a8dbf3748d2474b580d606b1b9f91b5c6ab2a316e0b0cf7a4ba50 |
| 17 | |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 21 | |
| 22 | PKG_BUILD_DEPENDS:=python-maturin/host |
| 23 | |
| 24 | include ../pypi.mk |
| 25 | include $(INCLUDE_DIR)/package.mk |
| 26 | include ../python3-package.mk |
| 27 | |
| 28 | define Package/python3-rpds-py |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | SUBMENU:=Python |
| 32 | TITLE:=Bindings to Rust's persistent data structures |
| 33 | URL:=https://github.com/crate-py/rpds |
| 34 | DEPENDS:=+python3-light $(RUST_ARCH_DEPENDS) |
| 35 | endef |
| 36 | |
| 37 | define Package/python3-rpds-py/description |
| 38 | Python bindings to the Rust rpds crate for persistent data structures. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-rpds-py)) |
| 42 | $(eval $(call BuildPackage,python3-rpds-py)) |
| 43 | $(eval $(call BuildPackage,python3-rpds-py-src)) |