forked from pool/python-Routes
Accepting request 507133 from home:tbechtold:branches:devel:languages:python
- update to 2.4.1: * Release as a universal wheel. PR #75. * Convert readthedocs links for their .org -> .io migration for hosted projects. - convert to singlespec - Fix Source url OBS-URL: https://build.opensuse.org/request/show/507133 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=20
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98c380b5dc1190b873463be07383728ada18f66d2615531963004b9d6fb90351
|
||||
size 181694
|
||||
3
Routes-2.4.1.tar.gz
Normal file
3
Routes-2.4.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:26ee43340fca5a32769ffe0c58edcb396ccce6bc1dfa689ddf844d50877355fd
|
||||
size 182403
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 16:20:01 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 2.4.1:
|
||||
* Release as a universal wheel. PR #75.
|
||||
* Convert readthedocs links for their .org -> .io migration for hosted projects.
|
||||
- convert to singlespec
|
||||
- Fix Source url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 3 15:51:22 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Routes
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,32 +16,31 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Routes
|
||||
Version: 2.3.1
|
||||
Version: 2.4.1
|
||||
Release: 0
|
||||
Url: http://routes.groovie.org/
|
||||
Summary: Routing Recognition and Generation Tools
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/R/Routes/Routes-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/R/Routes/Routes-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
# for testing
|
||||
BuildRequires: python-WebOb
|
||||
BuildRequires: python-WebTest
|
||||
BuildRequires: python-coverage
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-repoze.lru >= 0.3
|
||||
|
||||
BuildRequires: %{python_module WebOb}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module repoze.lru}
|
||||
Requires: python-repoze.lru >= 0.3
|
||||
Provides: python-routes = %{version}
|
||||
Obsoletes: python-routes < %{version}
|
||||
%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
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Routing package for Python that matches URL's to dicts and vice versa.
|
||||
@@ -50,15 +49,15 @@ A Routing package for Python that matches URL's to dicts and vice versa.
|
||||
%setup -q -n Routes-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%check
|
||||
nosetests
|
||||
%python_exec %{_bindir}/nosetests
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.rst LICENSE.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user