1
0

- Switch to github tarball to run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal 2019-03-05 19:16:40 +00:00 committed by Git OBS Bridge
parent 607d8835f1
commit 755ef139da
4 changed files with 20 additions and 14 deletions

3
2.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c2a938f3f69e88ab6751200222fa6501e6af296c980fdb86fdbdedc6bbdf234
size 32215

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d423fb9d51fdcf853aa4ff43ac7ec469b643ea19590f67488122d6d0d772350a
size 13756

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 5 19:08:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to github tarball to run tests
-------------------------------------------------------------------
Tue Dec 18 14:43:26 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-PasteDeploy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -21,27 +21,25 @@
Name: python-PasteDeploy
Version: 2.0.1
Release: 0
Url: http://pythonpaste.org/deploy/
Summary: Tool to load, configure, and compose WSGI applications and servers
License: MIT
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://github.com/Pylons/pastedeploy
Source: https://github.com/Pylons/pastedeploy/archive/%{version}.tar.gz
BuildRequires: %{python_module Paste}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Paste
Requires: python-setuptools
Provides: python-pastedeploy = %{version}
Obsoletes: python-pastedeploy < %{version}
BuildArch: noarch
%ifpython2
Obsoletes: %{oldpython}-pastedeploy < %{version}
Provides: %{oldpython}-pastedeploy = %{version}
%endif
%ifpython3
Provides: python3-pastedeploy = %{version}
Obsoletes: python3-pastedeploy < %{version}
%endif
BuildArch: noarch
%python_subpackages
%description
@ -50,7 +48,7 @@ URIs can refer to Python Eggs for INI-style configuration files. Paste Script
provides commands to serve applications based on this configuration file.
%prep
%setup -q -n PasteDeploy-%{version}
%setup -q -n pastedeploy-%{version}
%build
%python_build
@ -59,9 +57,12 @@ provides commands to serve applications based on this configuration file.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license license.txt
%{python_sitelib}/*
%changelog