Compare commits

10 Commits

Author SHA256 Message Date
1cc96cc2c4 Accepting request 1284413 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1284413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbkdf2?expand=0&rev=4
2025-06-11 14:21:54 +00:00
b7b21ba060 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=10
2025-06-03 09:18:26 +00:00
c94cc01c5b Accepting request 812709 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/812709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbkdf2?expand=0&rev=3
2020-06-09 22:48:03 +00:00
853ff7ef79 Accepting request 812656 from home:mcalabkova:branches:devel:languages:python
- replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/812656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=8
2020-06-08 17:40:03 +00:00
Stephan Kulow
57b9e13c47 Accepting request 682423 from devel:languages:python
- Fix macro expansion

OBS-URL: https://build.opensuse.org/request/show/682423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbkdf2?expand=0&rev=2
2019-03-10 08:33:59 +00:00
Tomáš Chvátal
0e671d021a - Fix macro expansion
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=6
2019-03-07 11:19:22 +00:00
038475aab4 Accepting request 545437 from devel:languages:python
Pure python aes implementation

OBS-URL: https://build.opensuse.org/request/show/545437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbkdf2?expand=0&rev=1
2018-01-10 22:30:10 +00:00
05ed637905 Accepting request 545311 from home:marec2000:branches:devel:languages:python
_service* files deleted

OBS-URL: https://build.opensuse.org/request/show/545311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=4
2017-11-25 06:20:37 +00:00
2347746ba9 Accepting request 542707 from home:mimi_vx:branches:devel:languages:python
- remove useless _service
- fix rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/542707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=3
2017-11-17 19:16:18 +00:00
a8b636b3f4 Accepting request 539381 from home:marec2000:branches:devel:languages:python
- change into singlespec scheme

OBS-URL: https://build.opensuse.org/request/show/539381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=2
2017-11-06 21:21:30 +00:00
3 changed files with 50 additions and 43 deletions

View File

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

View File

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

View File

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