forked from pool/python-transip
- Add missing dependencies
- Use github tarball in order to allow tests and get license file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transip?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
26e4bed5ad
commit
ad5cc56a56
3
0.3.0.tar.gz
Normal file
3
0.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c61c7116684216047265300c09da1df52264567a5834bc194526ff3631a2050
|
||||
size 16081
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 15 15:15:47 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Add missing dependencies
|
||||
- Use github tarball in order to allow tests and get license file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 22 17:26:31 UTC 2017 - daniel.molkentin@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-transip
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -13,30 +13,37 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-transip
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: TransIP API Connector
|
||||
Url: https://github.com/benkonrath/transip-api
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/t/transip/transip-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
URL: https://github.com/benkonrath/transip-api
|
||||
Source: https://github.com/benkonrath/transip-api/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module rsa}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module suds-jurko}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests
|
||||
Requires: python-rsa
|
||||
Requires: python-suds-jurko
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This library aims to implement the TransIP API in Python.
|
||||
|
||||
%prep
|
||||
%setup -q -n transip-%{version}
|
||||
%setup -q -n transip-api-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -45,8 +52,13 @@ This library aims to implement the TransIP API in Python.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# testConstructor needs network connection
|
||||
%python_expand nosetests-%{$python_bin_suffix} -e "testConstructor"
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_bindir}/transip-api
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d9929afe978c1780b9ed075e63b131791e70ccfa90bb067b256e6651bed29ae4
|
||||
size 8357
|
||||
Reference in New Issue
Block a user