Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
1cc96cc2c4 | |||
b7b21ba060 | |||
c94cc01c5b | |||
853ff7ef79 | |||
|
57b9e13c47 | ||
|
0e671d021a | ||
038475aab4 | |||
05ed637905 | |||
2347746ba9 | |||
a8b636b3f4 |
@@ -1,19 +0,0 @@
|
||||
Index: b/setup.py
|
||||
===================================================================
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -14,7 +14,7 @@ setup(
|
||||
name='pbkdf2',
|
||||
py_modules=['pbkdf2'],
|
||||
version=__version__,
|
||||
- test_suite='test',
|
||||
+ test_suite='test.test_pbkdf2',
|
||||
description='PKCS#5 v2.0 PBKDF2 Module',
|
||||
author='Dwayne C. Litzenberger',
|
||||
author_email='dlitz@dlitz.net',
|
||||
Index: b/test/__init__.py
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ b/test/__init__.py
|
||||
@@ -0,0 +1 @@
|
||||
+# test pgk
|
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 09:15:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 14:47:51 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- replace nose with pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 11:19:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix macro expansion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 16:58:49 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
- remove useless _service
|
||||
- fix rpmlint warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 19:30:27 UTC 2017 - marec@detebe.org
|
||||
|
||||
- change into singlespec scheme
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 4 21:39:46 UTC 2013 - hpj@urpla.net
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pbkdf2
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -22,40 +22,40 @@ Release: 0
|
||||
Summary: PKCS#5 v2.0 PBKDF2 Module
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://www.dlitz.net/software/python-pbkdf2/
|
||||
Source: https://pypi.python.org/packages/source/p/pbkdf2/pbkdf2-%{version}.tar.gz
|
||||
Patch: pbkdf2-fix-test_suite.diff
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Recommends: python-pycrypto
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
URL: http://www.dlitz.net/software/%{name}/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pbkdf2/pbkdf2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pycrypto}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pycrypto
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This module implements the password-based key derivation function, PBKDF2,
|
||||
specified in RSA PKCS#5 v2.0.
|
||||
This module implements the password-based key derivation function, PBKDF2, specified in RSA PKCS#5 v2.0.
|
||||
|
||||
%prep
|
||||
%setup -q -n pbkdf2-%{version}
|
||||
%patch -p1
|
||||
chmod a-x pbkdf2.py
|
||||
sed -i '1d' pbkdf2.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%pyproject_install
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
%pytest
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc PKG-INFO README.txt
|
||||
%{python_sitelib}/*
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/pbkdf2.py
|
||||
%{python_sitelib}/pbkdf2-%{version}*-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/pbkdf2*
|
||||
%doc README.txt
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user