mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 18:33:44 +00:00
46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
|
# SPDX-FileContributor: yyjeqhc <jialin.oerv@isrc.iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
%global srcname passlib
|
|
|
|
Name: python-%{srcname}
|
|
Version: 1.7.4
|
|
Release: %autorelease
|
|
Summary: Comprehensive password hashing framework supporting over 20 schemes
|
|
License: BSD-3-Clause AND Beerware AND UnixCrypt AND ISC
|
|
URL: https://foss.heptapod.net/python-libs/passlib
|
|
#!RemoteAsset
|
|
Source: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildSystem: pyproject
|
|
|
|
BuildOption(install): -l %{srcname} -L
|
|
BuildOption(check): -e passlib.ext.django.models
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
BuildRequires: pkgconfig(python3)
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(pip)
|
|
BuildRequires: python3dist(wheel)
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
Provides: python3-%{srcname}
|
|
%python_provide python3-%{srcname}
|
|
|
|
%description
|
|
Passlib is a password hashing library for Python 2 & 3, which provides
|
|
cross-platform implementations of over 20 password hashing algorithms.
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
%files -f %{pyproject_files}
|
|
%doc README
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
%{?autochangelog}
|