Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-bcrypt revision 3930ca145c1a78ea2a3c762fec4f13ae

This commit is contained in:
Adrian Schröter 2024-07-12 12:16:18 +02:00
commit 6e8185f978
4 changed files with 238 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

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

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

Binary file not shown.

138
saltbundlepy-bcrypt.changes Normal file
View File

@ -0,0 +1,138 @@
-------------------------------------------------------------------
Wed Apr 24 10:44:11 UTC 2024 - Victor Zhestkov <vzhestkov@suse.com>
- Use saltbundle-libffi-devel from the bundle for building
instead of libffi from the client.
-------------------------------------------------------------------
Mon Apr 4 12:27:36 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
- Strictly require Python 3.10 with saltbundlepy requrement
-------------------------------------------------------------------
Thu Oct 8 10:13:31 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Don't use deprecated 'python setup.py test', use pytest directly.
-------------------------------------------------------------------
Thu Aug 27 22:04:24 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Disable Python2 support to fix the build on older distributions
-------------------------------------------------------------------
Thu Aug 20 12:46:59 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 3.2.0
* add type hints to top level functions
* drop support for python 3.5 and older
* drop legacy code
-------------------------------------------------------------------
Wed May 13 11:20:23 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Relax the setuptools dependency on 40.8.0 to 40.5.0 since that
version is only required by upstream because of a pip issue
(see https://github.com/pyca/bcrypt/commit/bc8a55e70e179a59fa89fb109353182f8f438e00).
This way we can build in SLE 15 SP2 / Leap 15.2 .
-------------------------------------------------------------------
Sun Jul 28 16:11:38 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* changed setuptools min version
- update to version 3.1.7:
* Set a setuptools lower bound for PEP517 wheel building.
* We no longer distribute 32-bit manylinux1 wheels. Continuing to
produce them was a maintenance burden.
- changes from version 3.1.6:
* Added support for compilation on Haiku.
-------------------------------------------------------------------
Fri Mar 1 11:19:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.5:
* Added support for compilation on Haiku.
* Added support for compilation on AIX.
* Dropped Python 2.6 and 3.3 support.
* Switched to using ``abi3`` wheels for Python 3. If you are not getting a
wheel on a compatible platform please upgrade your ``pip`` version.
-------------------------------------------------------------------
Wed Aug 29 10:30:02 UTC 2018 - tchvatal@suse.com
- Raise pytest requirement based on setup.py
-------------------------------------------------------------------
Wed Oct 25 19:52:50 UTC 2017 - arun@gmx.de
- specfile:
* update copyright year
- update to version 3.1.4:
* Fixed compilation with mingw and on illumos.
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Don't provide python2-py-bcrypt, singlespec packages should use
correct name.
-------------------------------------------------------------------
Sun Apr 30 09:33:56 UTC 2017 - jengelh@inai.de
- Say which crypt methods this module actually supports.
-------------------------------------------------------------------
Sun Apr 30 03:02:13 UTC 2017 - toddrme2178@gmail.com
- Update to version 3.1.3
* Fixed a compilation issue on Solaris.
* Added a warning when using too few rounds with kdf.
- Update to version 3.1.2
* Fixed a compile issue affecting big endian platforms.
* Fixed invalid escape sequence warnings on Python 3.6.
* Fixed building in non-UTF8 environments on Python 2.
- Provides/Obsoletes "python-py-bcrypt" exactly.
- Change Summary/Description. Apparently "bcrypt is not "modern",
not anymore."
-------------------------------------------------------------------
Thu Apr 27 18:20:04 UTC 2017 - toddrme2178@gmail.com
- Fix license.
-------------------------------------------------------------------
Tue Apr 25 21:59:02 UTC 2017 - toddrme2178@gmail.com
- Add Provides/Obsoletes py-bcrypt.
This package is intended as a drop-in replacement for py-bcrypt
-------------------------------------------------------------------
Mon Apr 17 08:41:04 UTC 2017 - axel.braun@gmx.de
- changes for singlespec
-------------------------------------------------------------------
Wed Oct 5 11:57:45 UTC 2016 - dmueller@suse.com
- require the cffi version it was built against
-------------------------------------------------------------------
Thu Sep 29 20:53:41 UTC 2016 - mardnh@gmx.de
- Update to version 3.1.1
* Resolved a UserWarning when used with cffi 1.8.3.
-------------------------------------------------------------------
Thu Sep 15 15:18:25 UTC 2016 - mardnh@gmx.de
- build with "-fno-strict-aliasing"
-------------------------------------------------------------------
Sun Sep 11 13:34:58 UTC 2016 - mardnh@gmx.de
- initial package, version 3.1.0

74
saltbundlepy-bcrypt.spec Normal file
View File

@ -0,0 +1,74 @@
#
# spec file for package saltbundlepy-bcrypt
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
%define pythons saltbundlepy
# Disable python bytecompile for all distros
# It's called explicitly in the spec
%global __brp_python_bytecompile %{nil}
Name: saltbundlepy-bcrypt
Version: 3.2.0
Release: 0
Summary: BSD type 2a and 2b password hashing
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/pyca/bcrypt/
Source: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz
BuildRequires: %{saltbundlepy_module cffi >= 1.1}
BuildRequires: %{saltbundlepy_module devel >= 3.11}
BuildRequires: %{saltbundlepy_module pytest >= 3.2.1}
# 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
BuildRequires: %{saltbundlepy_module setuptools >= 40.5.0}
BuildRequires: %{saltbundlepy_module six >= 1.4.1}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: saltbundlepy-rpm-macros
BuildRequires: saltbundle-libffi-devel
Requires: saltbundlepy-cffi
Requires: saltbundlepy-six >= 1.4.1
%python_subpackages
%description
This Python module supports creating (and verifying) password hashes
using the BSD-originating hashing methods known as "2a" and "2b".
%prep
%setup -q -n bcrypt-%{version}
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}/%{$python_sitearch}
%check
%pytest_arch tests/
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitearch}/bcrypt
%{python_sitearch}/bcrypt-%{version}-py*.egg-info
%changelog