- 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
|
Mon Oct 24 12:26:26 UTC 2011 - cthiel@suse.com
|
||||||
|
|
||||||
|
@ -19,12 +19,14 @@ Name: python-passlib
|
|||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://passlib.googlecode.com
|
Url: http://passlib.googlecode.com
|
||||||
Summary: comprehensive password hashing framework supporting over 20 schemes
|
Summary: Comprehensive password hashing framework supporting over 20 schemes
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/p/passlib/passlib-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel python-setuptools
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-distribute
|
||||||
|
BuildRequires: python-nose
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%py_requires
|
%py_requires
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
@ -32,7 +34,6 @@ BuildArch: noarch
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?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
|
%description
|
||||||
Passlib is a password hashing library for Python 2 & 3,
|
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}
|
%setup -q -n passlib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
nosetests
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc CHANGES LICENSE README
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user