- SPDX-style license string (BSD-3-Clause)
- Package CHANGES, README, LICENSE - Run testsuite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=2
This commit is contained in:
parent
6ed3391b25
commit
5c824f87a4
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 09:26:22 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- SPDX-style license string (BSD-3-Clause)
|
||||
- Package CHANGES, README, LICENSE
|
||||
- Run testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 12:26:26 UTC 2011 - cthiel@suse.com
|
||||
|
||||
|
@ -19,12 +19,14 @@ Name: python-passlib
|
||||
Version: 1.5.3
|
||||
Release: 0
|
||||
Url: http://passlib.googlecode.com
|
||||
Summary: comprehensive password hashing framework supporting over 20 schemes
|
||||
License: BSD
|
||||
Summary: Comprehensive password hashing framework supporting over 20 schemes
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel python-setuptools
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-nose
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
@ -32,7 +34,6 @@ BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%description
|
||||
Passlib is a password hashing library for Python 2 & 3,
|
||||
@ -58,13 +59,17 @@ All releases are signed with the gpg key
|
||||
%setup -q -n passlib-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
nosetests
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user