15
0
forked from pool/python-Beaker

Accepting request 135402 from home:poorboywilly:branches:devel:languages:python

Update to 1.6.4, fix sed script for exec. file, update URL in spec file.

OBS-URL: https://build.opensuse.org/request/show/135402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=14
This commit is contained in:
Sascha Peilicke
2012-10-01 08:25:51 +00:00
committed by Git OBS Bridge
parent 2031e3042b
commit b5d8e96af8
6 changed files with 56 additions and 11 deletions

View File

@@ -15,19 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-Beaker
Version: 1.6.3
Version: 1.6.4
Release: 0
Url: http://beaker.groovie.org
Url: http://beaker.rtfd.org/
Summary: A Session and Caching library with WSGI Middleware
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/B/Beaker/Beaker-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-2to3
%if 0%{?suse_version} && 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
@@ -35,7 +36,7 @@ BuildRequires: python3-2to3
BuildRequires: python3-base
%endif
Requires: python(abi) = %{py3_ver}
BuildArch: noarch
BuildArch: noarch
%description
Beaker is a web session and general caching library that includes WSGI
@@ -70,7 +71,7 @@ Features:
%prep
%setup -q -n Beaker-%{version}
sed -i "id" beaker/crypto/pbkdf2.py # Fix non-executable script
sed -i "1d" beaker/crypto/pbkdf2.py # Fix non-executable script
%build
python3 setup.py build