- Switch to github archive in order to get tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geomet?expand=0&rev=2
This commit is contained in:
parent
1bae8f32ff
commit
5b470d4562
3
0.2.1.tar.gz
Normal file
3
0.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:210ee7c945319c7c3a29ebc0faba240aec644f09570130020d4268f115254856
|
||||
size 34466
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91d754f7c298cbfcabd3befdb69c641c27fe75e808b27aa55028605761d17e95
|
||||
size 19728
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 08:14:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to github archive in order to get tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 18 18:50:57 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@ -18,13 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-geomet
|
||||
Version: 0.2.1.post1
|
||||
Version: 0.2.1
|
||||
Release: 0
|
||||
Summary: GeoJSON <-> WKT/WKB conversion utilities
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/geomet/geomet
|
||||
Source: https://files.pythonhosted.org/packages/source/g/geomet/geomet-%{version}.tar.gz
|
||||
Source: https://github.com/geomet/geomet/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -33,6 +33,7 @@ Requires: python-six
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@ -48,8 +49,13 @@ GeoJSON <-> WKT/WKB conversion utilities
|
||||
|
||||
%install
|
||||
%python_install
|
||||
rm %{buildroot}%{_prefix}/LICENSE
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PATH=$PATH:%{buildroot}%{_bindir}
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.txt README.md
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user