From f2d565781e2a19eff152e084dc31049171fd2d61 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Tue, 24 Mar 2026 21:19:55 +0100 Subject: python3-scrypt: upgrade 0.8.27 -> 0.9.4 License-Update: Copyright year bump Shortlog: https://github.com/holgern/py-scrypt/compare/v0.8.27...v0.9.4 Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- ...y-scrypt-remove-the-hard-coded-include-paths.patch | 14 +++++++------- .../recipes-devtools/python/python3-scrypt_0.8.27.bb | 19 ------------------- .../recipes-devtools/python/python3-scrypt_0.9.4.bb | 19 +++++++++++++++++++ 3 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb create mode 100644 meta-python/recipes-devtools/python/python3-scrypt_0.9.4.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch b/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch index 3678d46cf6..73950f4cd2 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch +++ b/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch @@ -14,11 +14,11 @@ diff --git a/setup.py b/setup.py index 419a982..3f1fe52 100644 --- a/setup.py +++ b/setup.py -@@ -26,7 +26,6 @@ if sys.platform.startswith('linux'): - ('_FILE_OFFSET_BITS', '64'), +@@ -25,7 +25,6 @@ + # ("DEBUG", "1"), ] - libraries = ['crypto', 'rt'] -- includes = ['/usr/local/include', '/usr/include'] - CFLAGS.append('-O2') - elif sys.platform.startswith('win32') and os.environ.get('MSYSTEM'): - msys2_env = os.getenv('MSYSTEM') + libraries = ["crypto", "rt"] +- includes = ["/usr/local/include", "/usr/include"] + CFLAGS.append("-O2") + CFLAGS.append("-g") + CFLAGS.append("-Wall") diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb deleted file mode 100644 index 4cbc4c06c4..0000000000 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Bindings for the scrypt key derivation function library" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=05b5ac2824a7ae7489193b0f6a6f2cd1" -HOMEPAGE = "https://github.com/holgern/py-scrypt" - -SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" - -SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7" - -inherit pypi ptest-python-pytest setuptools3 dos2unix - -RDEPENDS:${PN} += " \ - python3-ctypes \ -" - -do_install_ptest:append() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.9.4.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.9.4.bb new file mode 100644 index 0000000000..0a5a841a71 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.9.4.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Bindings for the scrypt key derivation function library" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=514fe4e05afed341c690c453fc87b10b" +HOMEPAGE = "https://github.com/holgern/py-scrypt" + +SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" + +SRC_URI[sha256sum] = "0d212010ba8c2e55475ba6258f30cee4da0432017514d8f6e855b7f1f8c55c77" + +inherit pypi ptest-python-pytest setuptools3 dos2unix + +RDEPENDS:${PN} += " \ + python3-ctypes \ +" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf