From 999b89fd042e76e8c10c948d3f87f504c7ee82edf387e4c1eb93bff67aadfbcb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Oct 2024 22:19:09 +0000 Subject: [PATCH] - update to 0.8.27: * CI fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-scrypt?expand=0&rev=22 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-scrypt.changes | 86 +++++++++++++++++++++++++++++++++++++++++++ python-scrypt.spec | 63 +++++++++++++++++++++++++++++++ scrypt-0.8.24.tar.gz | 3 ++ scrypt-0.8.27.tar.gz | 3 ++ 6 files changed, 179 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-scrypt.changes create mode 100644 python-scrypt.spec create mode 100644 scrypt-0.8.24.tar.gz create mode 100644 scrypt-0.8.27.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-scrypt.changes b/python-scrypt.changes new file mode 100644 index 0000000..39b6a73 --- /dev/null +++ b/python-scrypt.changes @@ -0,0 +1,86 @@ +------------------------------------------------------------------- +Tue Oct 29 22:18:21 UTC 2024 - Dirk Müller + +- update to 0.8.27: + * CI fixes + +------------------------------------------------------------------- +Sat Mar 16 13:45:44 UTC 2024 - Dirk Müller + +- update to 0.8.24: + * Support building on MSYS2 + * Support building for MSYS2 environments + +------------------------------------------------------------------- +Fri Jun 9 11:49:50 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Jun 4 12:07:12 UTC 2022 - Dirk Müller + +- update to 0.8.20: + * Fix #8 by adding missing gettimeofday.c to MANIFEST.in + +------------------------------------------------------------------- +Mon Dec 6 20:29:45 UTC 2021 - Dirk Müller + +- update to 0.8.19: + * Use RtlGenRandom instead of CryptGenRandom on windows + * Add check for c:\Program Files\OpenSSL-Win64 and c:\Program Files\OpenSSL-Win32 + +------------------------------------------------------------------- +Thu Jun 17 21:19:29 UTC 2021 - Dirk Müller + +- update to 0.8.18: + * add wheel for python 3.9 + +------------------------------------------------------------------- +Sun Jan 17 21:50:47 UTC 2021 - Benjamin Greiner + +- Fix test call (the old non-macro pytest call did conflict with + _build directories from other python3 flavors) +- Fix line endings and remove interpreter lines in sitelib + +------------------------------------------------------------------- +Tue Dec 1 14:31:41 UTC 2020 - Dirk Mueller + +- update to 0.8.17: + * 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 + +------------------------------------------------------------------- +Tue Jun 2 17:10:15 UTC 2020 - Dirk Mueller + +- update to 0.8.15: + * Fix missing import + * fix imp deprecation warning + +------------------------------------------------------------------- +Mon Oct 14 14:42:24 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +------------------------------------------------------------------- +Thu Mar 28 12:15:20 UTC 2019 - pgajdos@suse.com + +- version update to 0.8.13 + * 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 + * use the static libcrypto_static for windows and openssl 1.1.1 +- enable testsuite +- package LICENSE + +------------------------------------------------------------------- +Mon Dec 10 12:06:44 UTC 2018 - Thomas Bechtold + +- update to 0.8.6: + No changelog provided + +------------------------------------------------------------------- +Sat Apr 22 17:06:52 UTC 2017 - aloisio@gmx.com + +- Initial package (0.8.0) + diff --git a/python-scrypt.spec b/python-scrypt.spec new file mode 100644 index 0000000..b0b446d --- /dev/null +++ b/python-scrypt.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-scrypt +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-scrypt +Version: 0.8.27 +Release: 0 +Summary: Bindings for scrypt +License: BSD-2-Clause +URL: https://github.com/holgern/py-scrypt +Source0: https://files.pythonhosted.org/packages/source/s/scrypt/scrypt-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: gcc +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(openssl) +%python_subpackages + +%description +Bindings for the scrypt key derivation function library. + +%prep +%setup -q -n scrypt-%{version} +dos2unix -R README.rst scrypt/*.py +sed -i '1{/^#!/ d}' scrypt/*.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pyunittest_arch discover -s scrypt/tests -v + +%files %{python_files} +%doc README.rst +%license LICENSE +%pycache_only %{python_sitearch}/scrypt/__pycache__ +%{python_sitearch}/_scrypt*.so +%{python_sitearch}/scrypt/ +%{python_sitearch}/scrypt-%{version}-py%{python_version}.egg-info + +%changelog diff --git a/scrypt-0.8.24.tar.gz b/scrypt-0.8.24.tar.gz new file mode 100644 index 0000000..d93a336 --- /dev/null +++ b/scrypt-0.8.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98ffde45e4a95461d73ded54ba7a26857679920d4f8ff320f6f7ade6e29531bd +size 55636 diff --git a/scrypt-0.8.27.tar.gz b/scrypt-0.8.27.tar.gz new file mode 100644 index 0000000..b7370af --- /dev/null +++ b/scrypt-0.8.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7 +size 55650