package/python-rpds-py: bump to version 0.12.0

Migrate from generic pep517 infrastructure to maturin infrastructure.

Verified license is still MIT after hash changed.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2023-11-05 02:24:58 -07:00 committed by Yann E. MORIN
parent 3d0ac3976b
commit f59da331af
2 changed files with 5 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# Locally calculated after vendoring
sha256 3b1087c3c7d55b8730dfaa539147646292074819295812267832ce5b64a0034c rpds_py-0.9.2.tar.gz
sha256 87361601241744fff6235e35050addfe34d00508172d2bd4f178193a28727287 rpds_py-0.12.0.tar.gz
# Locally computed sha256 checksums
sha256 8bcb72c82ea8ae74802293c41d93ad7d51434001b0ae45a603a5af0f507aee0a LICENSE
sha256 314e4e91be3baa93c0fb4bccc9e4e97cd643eb839b065af921782c2175fe9909 LICENSE

View File

@ -4,19 +4,11 @@
#
################################################################################
PYTHON_RPDS_PY_VERSION = 0.9.2
PYTHON_RPDS_PY_VERSION = 0.12.0
PYTHON_RPDS_PY_SOURCE = rpds_py-$(PYTHON_RPDS_PY_VERSION).tar.gz
PYTHON_RPDS_PY_SITE = https://files.pythonhosted.org/packages/da/3c/fa2701bfc5d67f4a23f1f0f4347284c51801e9dbc24f916231c2446647df
PYTHON_RPDS_PY_SETUP_TYPE = pep517
PYTHON_RPDS_PY_SITE = https://files.pythonhosted.org/packages/75/be/e3f366aa4cd1e3a814f136773e506fc5423eff903ef0372a251df34e6e45
PYTHON_RPDS_PY_SETUP_TYPE = maturin
PYTHON_RPDS_PY_LICENSE = MIT
PYTHON_RPDS_PY_LICENSE_FILES = LICENSE
PYTHON_RPDS_PY_DEPENDENCIES = host-python-maturin
PYTHON_RPDS_PY_ENV = \
$(PKG_CARGO_ENV) \
PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
# We need to vendor the Cargo crates at download time
PYTHON_RPDS_PY_DOWNLOAD_POST_PROCESS = cargo
PYTHON_RPDS_PY_DOWNLOAD_DEPENDENCIES = host-rustc
PYTHON_RPDS_PY_DL_ENV = $(PKG_CARGO_ENV)
$(eval $(python-package))