15
0
forked from pool/python-bcrypt

- 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bcrypt?expand=0&rev=37
This commit is contained in:
2024-05-07 16:23:32 +00:00
committed by Git OBS Bridge
parent 38be6e61b2
commit 4c0826751c
7 changed files with 25 additions and 23 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.1.3</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>

Binary file not shown.

3
bcrypt-4.1.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ee15dd749f5952fe3f0430d0ff6b74082e159c50332a1413d51b5689cf06623
size 26456

View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
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.1.3
Release: 0
Summary: BSD type 2a and 2b password hashing
License: Apache-2.0
@@ -27,7 +28,6 @@ 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}
@@ -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 LFS

Binary file not shown.