diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2021-03-24 14:09:30 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-26 10:32:32 -0700 |
commit | aa8402007c26d6d8d34e3a113018b19e0faa3406 (patch) | |
tree | 7bef8ff38138d7fbad4f8f1699adf1074899cfa9 | |
parent | ba2576ed79a09879f714ccf7f4fa32259c18ab8c (diff) | |
download | meta-openembedded-aa8402007c26d6d8d34e3a113018b19e0faa3406.tar.gz |
python3-scrypt: Upgrade 0.8.6 -> 0.8.17
Upgrade to release 0.8.17 and inherit dos2unix to resolve issues
due to different line endings:
- Add_dll_directory for python 3.8 on windows, as
importlib.util.find_spec does not search all paths anymore
- Add additional test vector from RFC
- Fix missing import
- Fix imp deprecation warning
- Improve build for conda forge
- Add SCRYPT_WINDOWS_LINK_LEGACY_OPENSSL environment variable,
when set, openssl 1.0.2 is linked
- Fix build for conda feedstock
- Fix typo
- Use the static libcrypto_static for windows and openssl 1.1.1
- Setup.py for windows improved, works with openssl 1.0.2 and 1.1.1
- Setup.py for windows fixed
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-scrypt_0.8.17.bb | 23 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb | 24 |
2 files changed, 23 insertions, 24 deletions
diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.17.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.17.bb new file mode 100644 index 000000000..bcd58914a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.17.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "Bindings for the scrypt key derivation function library" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2ddf47d0ff1849bce3257ccbc1fd275c" | ||
4 | HOMEPAGE="https://github.com/holgern/py-scrypt" | ||
5 | |||
6 | SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" | ||
7 | |||
8 | SRC_URI[sha256sum] = "25b5075f2238be93af1cd574540a5ea01b8547f9b678aa72d22fce22577475ec" | ||
9 | |||
10 | inherit pypi ptest setuptools3 dos2unix | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS_${PN}-ptest += " \ | ||
17 | ${PYTHON_PN}-pytest \ | ||
18 | " | ||
19 | |||
20 | do_install_ptest() { | ||
21 | install -d ${D}${PTEST_PATH}/tests | ||
22 | cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ | ||
23 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb deleted file mode 100644 index 7588fc54b..000000000 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | DESCRIPTION = "Bindings for the scrypt key derivation function library" | ||
2 | LICENSE = "BSD-2-Clause" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=168ff75417f75a83e63c8875292d44dc" | ||
4 | HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/overview" | ||
5 | |||
6 | SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" | ||
7 | |||
8 | SRC_URI[md5sum] = "ae8e3263aa31b040c1f9c7f1e1843a56" | ||
9 | SRC_URI[sha256sum] = "f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d" | ||
10 | |||
11 | inherit pypi ptest setuptools3 | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | file://run-ptest \ | ||
15 | " | ||
16 | |||
17 | RDEPENDS_${PN}-ptest += " \ | ||
18 | ${PYTHON_PN}-pytest \ | ||
19 | " | ||
20 | |||
21 | do_install_ptest() { | ||
22 | install -d ${D}${PTEST_PATH}/tests | ||
23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
24 | } | ||