package/python-bcrypt: bump to version 4.0.1
Replace cffi based backend with pyo3 setuptools-rust based backend. Propagate rust reverse dependency comment. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c9b862b297
commit
3c2a626015
@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_PYTHON_BCRYPT
|
config BR2_PACKAGE_PYTHON_BCRYPT
|
||||||
bool "python-bcrypt"
|
bool "python-bcrypt"
|
||||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||||
help
|
help
|
||||||
Modern password hashing for your software and your servers.
|
Modern password hashing for your software and your servers.
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# md5, sha256 from https://pypi.org/pypi/bcrypt/json
|
# Locally calculated after vendoring
|
||||||
md5 fe31390dab603728f756cd3d6830c80a bcrypt-3.2.0.tar.gz
|
sha256 d64daee0af1afe137718674e67a49b8bb791842aab265b588a6d68d44a449c70 bcrypt-4.0.1.tar.gz
|
||||||
sha256 5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29 bcrypt-3.2.0.tar.gz
|
|
||||||
# Locally computed sha256 checksums
|
# Locally computed sha256 checksums
|
||||||
sha256 8173d5c29b4f956d532781d2b86e4e30f83e6b7878dce18c919451d6ba707c90 LICENSE
|
sha256 8173d5c29b4f956d532781d2b86e4e30f83e6b7878dce18c919451d6ba707c90 LICENSE
|
||||||
|
@ -4,12 +4,23 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PYTHON_BCRYPT_VERSION = 3.2.0
|
PYTHON_BCRYPT_VERSION = 4.0.1
|
||||||
PYTHON_BCRYPT_SOURCE = bcrypt-$(PYTHON_BCRYPT_VERSION).tar.gz
|
PYTHON_BCRYPT_SOURCE = bcrypt-$(PYTHON_BCRYPT_VERSION).tar.gz
|
||||||
PYTHON_BCRYPT_SITE = https://files.pythonhosted.org/packages/d8/ba/21c475ead997ee21502d30f76fd93ad8d5858d19a3fad7cd153de698c4dd
|
PYTHON_BCRYPT_SITE = https://files.pythonhosted.org/packages/8c/ae/3af7d006aacf513975fd1948a6b4d6f8b4a307f8a244e1a3d3774b297aad
|
||||||
PYTHON_BCRYPT_SETUP_TYPE = setuptools
|
PYTHON_BCRYPT_SETUP_TYPE = setuptools
|
||||||
PYTHON_BCRYPT_LICENSE = Apache-2.0
|
PYTHON_BCRYPT_LICENSE = Apache-2.0
|
||||||
PYTHON_BCRYPT_LICENSE_FILES = LICENSE
|
PYTHON_BCRYPT_LICENSE_FILES = LICENSE
|
||||||
PYTHON_BCRYPT_DEPENDENCIES = host-python-cffi
|
PYTHON_BCRYPT_DEPENDENCIES = \
|
||||||
|
host-python-setuptools-rust \
|
||||||
|
host-rustc
|
||||||
|
PYTHON_BCRYPT_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_BCRYPT_DOWNLOAD_POST_PROCESS = cargo
|
||||||
|
PYTHON_BCRYPT_DOWNLOAD_DEPENDENCIES = host-rustc
|
||||||
|
PYTHON_BCRYPT_DL_ENV = \
|
||||||
|
$(PKG_CARGO_ENV) \
|
||||||
|
BR_CARGO_MANIFEST_PATH=src/_bcrypt/Cargo.toml
|
||||||
|
|
||||||
$(eval $(python-package))
|
$(eval $(python-package))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_PYTHON_PARAMIKO
|
config BR2_PACKAGE_PYTHON_PARAMIKO
|
||||||
bool "python-paramiko"
|
bool "python-paramiko"
|
||||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
|
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography, python-bcrypt
|
||||||
select BR2_PACKAGE_PYTHON_BCRYPT # runtime
|
select BR2_PACKAGE_PYTHON_BCRYPT # runtime
|
||||||
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
||||||
select BR2_PACKAGE_PYTHON_PYNACL # runtime
|
select BR2_PACKAGE_PYTHON_PYNACL # runtime
|
||||||
|
@ -31,7 +31,7 @@ config BR2_PACKAGE_PYTHON_TWISTED_TLS
|
|||||||
|
|
||||||
config BR2_PACKAGE_PYTHON_TWISTED_CONCH
|
config BR2_PACKAGE_PYTHON_TWISTED_CONCH
|
||||||
bool "Conch support"
|
bool "Conch support"
|
||||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
|
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography, python-bcrypt
|
||||||
select BR2_PACKAGE_PYTHON_APPDIRS # runtime
|
select BR2_PACKAGE_PYTHON_APPDIRS # runtime
|
||||||
select BR2_PACKAGE_PYTHON_BCRYPT # runtime
|
select BR2_PACKAGE_PYTHON_BCRYPT # runtime
|
||||||
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user