Sync from SUSE:SLFO:Main python-bcrypt revision f9e7b39f360f62e4eaa9f7a5a5cb29a2

This commit is contained in:
Adrian Schröter 2024-12-13 11:11:58 +01:00
parent edd762f0d8
commit 1ca8140708
7 changed files with 76 additions and 24 deletions

View File

@ -1,16 +1,12 @@
<services>
<service mode="disabled" name="obs_scm">
<service mode="manual" name="tar_scm">
<param name="url">https://github.com/pyca/bcrypt/</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">4.0.1</param>
<param name="revision">4.2.0</param>
</service>
<service name="cargo_vendor" mode="disabled">
<service name="cargo_vendor" mode="manual">
<param name="srcdir">bcrypt/src/_bcrypt</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">bcrypt/src/_bcrypt</param>
</service>
</services>

BIN
bcrypt-4.0.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
bcrypt-4.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +1,65 @@
-------------------------------------------------------------------
Tue Jul 23 13:17:30 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.2.0
* Bump version for 4.2.0 release (#843)
* Import improvements from cryptography wheel building and release (#840)
* Remove setup.py (#842)
* Small cleanup (#841)
* Added 3.13 to CI (#839)
* Bump portable-atomic from 1.6.0 to 1.7.0 in /src/_bcrypt (#836)
* Bump syn from 2.0.71 to 2.0.72 in /src/_bcrypt (#837)
* Bump pyo3 from 0.22.1 to 0.22.2 in /src/_bcrypt (#834)
* Bump syn from 2.0.70 to 2.0.71 in /src/_bcrypt (#833)
* Bump actions/setup-python from 5.1.0 to 5.1.1 (#832)
* Bump syn from 2.0.69 to 2.0.70 in /src/_bcrypt (#831)
* Bump target-lexicon from 0.12.14 to 0.12.15 in /src/_bcrypt (#830)
* Don't import things from prelude (#829)
* Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#824)
* Bump actions/download-artifact from 4.1.7 to 4.1.8 (#825)
* Bump syn from 2.0.68 to 2.0.69 in /src/_bcrypt (#827)
* Bump pyo3 from 0.22.0 to 0.22.1 in /src/_bcrypt (#828)
* Update for new ruff syntax (#826)
* Switch to using the new pyo3 syntax for declarative modules (#823)
* Bump pyo3 to 0.22 (#822)
* Bump bitflags from 2.5.0 to 2.6.0 in /src/_bcrypt (#821)
* Bump syn from 2.0.67 to 2.0.68 in /src/_bcrypt (#818)
* Bump syn from 2.0.66 to 2.0.67 in /src/_bcrypt (#817)
* Bump proc-macro2 from 1.0.85 to 1.0.86 in /src/_bcrypt (#816)
* Bump subtle from 2.5.0 to 2.6.0 in /src/_bcrypt (#814)
* Bump redox_syscall from 0.5.1 to 0.5.2 in /src/_bcrypt (#813)
* Bump actions/checkout from 4.1.6 to 4.1.7 (#812)
* Bump proc-macro2 from 1.0.84 to 1.0.85 in /src/_bcrypt (#811)
* Bump proc-macro2 from 1.0.83 to 1.0.84 in /src/_bcrypt (#808)
* Bump zeroize from 1.7.0 to 1.8.1 in /src/_bcrypt (#809)
* Bump parking_lot from 0.12.2 to 0.12.3 in /src/_bcrypt (#810)
* Bump syn from 2.0.65 to 2.0.66 in /src/_bcrypt (#806)
* alpine is 3.12 now (#807)
* Bump proc-macro2 from 1.0.82 to 1.0.83 in /src/_bcrypt (#804)
* Bump syn from 2.0.64 to 2.0.65 in /src/_bcrypt (#803)
* Bump libc from 0.2.154 to 0.2.155 in /src/_bcrypt (#802)
* Bump actions/checkout from 4.1.5 to 4.1.6 (#800)
* Apply the wacky staticnode workaround to this repo (#801)
* Bump syn from 2.0.63 to 2.0.64 in /src/_bcrypt (#799)
* Bump syn from 2.0.61 to 2.0.63 in /src/_bcrypt (#798)
* Try upgrading ubuntu in CI (#797)
* Bump proc-macro2 from 1.0.81 to 1.0.82 in /src/_bcrypt (#796)
* Bump syn from 2.0.60 to 2.0.61 in /src/_bcrypt (#795)
* Bump getrandom from 0.2.14 to 0.2.15 in /src/_bcrypt (#794)
* Bump actions/checkout from 3.6.0 to 4.1.5 (#793)
-------------------------------------------------------------------
Tue May 7 16:22:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.1.3:
* Bump Rust dependency versions
* Fixed the type signature on the ``kdf`` method.
* Fixed packaging bug on Windows.
* Fixed incompatibility with passlib package detection assumptions.
* Dropped support for Python 3.6.
* Bumped MSRV to 1.64. (Note: Rust 1.63 can be used by setting the
``BCRYPT_ALLOW_RUST_163`` environment variable)
-------------------------------------------------------------------
Fri Apr 21 12:22:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-bcrypt
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@ -17,9 +17,10 @@
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%{?sle15_python_module_pythons}
Name: python-bcrypt
Version: 4.0.1
Version: 4.2.0
Release: 0
Summary: BSD type 2a and 2b password hashing
License: Apache-2.0
@ -27,10 +28,9 @@ Group: Development/Languages/Python
URL: https://github.com/pyca/bcrypt/
Source0: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: cargo_config
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 3.2.1}
BuildRequires: %{python_module setuptools-rust}
BuildRequires: %{python_module setuptools-rust >= 1.7.0}
BuildRequires: %{python_module wheel}
# setuptools 40.8.0 is required by upstream only for a pip issue that doesn't
# affect us, so we relax the requirement to build in SLE/Leap 15.2 with 40.5.0
@ -49,11 +49,10 @@ using the BSD-originating hashing methods known as "2a" and "2b".
%prep
%autosetup -p1 -a1 -n bcrypt-%{version}
mkdir .cargo
cp %{SOURCE2} .cargo/config
mv Cargo.lock src/_bcrypt
rm -v src/_bcrypt/Cargo.lock
%build
export RUSTFLAGS=%{rustflags}
export CFLAGS="%{optflags} -fno-strict-aliasing"
%pyproject_wheel

BIN
vendor.tar.gz (Stored with Git LFS)

Binary file not shown.