- Switch to github tarball for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-purl?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-06-07 11:52:00 +00:00
committed by Git OBS Bridge
parent 27aa11b011
commit 5774a5613f
4 changed files with 18 additions and 11 deletions

3
1.5.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 7 11:51:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to github tarball for tests
-------------------------------------------------------------------
Fri Apr 12 01:13:06 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -12,27 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-purl
Version: 1.5
Release: 0
License: MIT
Summary: An immutable URL class for easy URL-building and manipulation
Url: https://github.com/codeinthehole/purl
License: MIT
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/purl/purl-%{version}.tar.gz
BuildRequires: python-rpm-macros
URL: https://github.com/codeinthehole/purl
Source: https://github.com/codeinthehole/purl/archive/%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module six}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
@@ -48,6 +47,9 @@ An immutable URL class for easy URL-building and manipulation
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
%files %{python_files}
%doc README.rst
%license LICENSE