|
|
c2fa2ce |
%global srcname ns1-python
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
Name: python-%{srcname}
|
|
|
26a6199 |
Version: 0.12.0
|
|
|
26a6199 |
Release: 1%{?dist}
|
|
|
c2fa2ce |
Summary: Python SDK for the NS1 DNS platform
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
License: MIT
|
|
|
c2fa2ce |
URL: https://github.com/ns1/ns1-python
|
|
|
c2fa2ce |
Source: %{pypi_source}
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
BuildArch: noarch
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%global _description %{expand:
|
|
|
c2fa2ce |
This package provides a python SDK for accessing the NS1 DNS platform
|
|
|
c2fa2ce |
and includes both a simple NS1 REST API wrapper as well as a higher level
|
|
|
c2fa2ce |
interface for managing zones, records, data feeds, and more.
|
|
|
c2fa2ce |
It supports synchronous and asynchronous transports.}
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%description %{_description}
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%package -n python3-%{srcname}
|
|
|
c2fa2ce |
Summary: %{summary}
|
|
|
c2fa2ce |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
c2fa2ce |
BuildRequires: python3-devel
|
|
|
c2fa2ce |
BuildRequires: python3-setuptools
|
|
|
c2fa2ce |
Recommends: python%{python3_version}dist(requests)
|
|
|
c2fa2ce |
Suggests: python%{python3_version}dist(twisted)
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%description -n python3-%{srcname} %{_description}
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
Python 3 version.
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%prep
|
|
|
e44be2a |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
c2fa2ce |
rm -vrf *.egg-info
|
|
|
c2fa2ce |
# Tests are not distributed on PyPI
|
|
|
c2fa2ce |
sed -i -e '/pytest-runner/d' setup.py
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%build
|
|
|
c2fa2ce |
%py3_build
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%install
|
|
|
c2fa2ce |
%py3_install
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%files -n python3-%{srcname}
|
|
|
1a7ed5b |
%license LICENSE
|
|
|
c2fa2ce |
%doc README.rst
|
|
|
c2fa2ce |
%{python3_sitelib}/ns1_python-*.egg-info/
|
|
|
c2fa2ce |
%{python3_sitelib}/ns1/
|
|
|
c2fa2ce |
|
|
|
c2fa2ce |
%changelog
|
|
|
26a6199 |
* Wed Oct 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-1
|
|
|
26a6199 |
- Update to 0.12.0
|
|
|
26a6199 |
|
|
|
4568d39 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-3
|
|
|
4568d39 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
4568d39 |
|
|
|
d0842e1 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-2
|
|
|
d0842e1 |
- Rebuilt for Python 3.8
|
|
|
d0842e1 |
|
|
|
ba8bd47 |
* Mon Aug 05 18:52:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-1
|
|
|
ba8bd47 |
- Update to 0.11.0
|
|
|
ba8bd47 |
|
|
|
e44be2a |
* Thu Aug 01 08:23:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-3
|
|
|
e44be2a |
- Backport fix for use_client_subnet option
|
|
|
e44be2a |
|
|
|
cd7c66a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
cd7c66a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cd7c66a |
|
|
|
1a7ed5b |
* Tue Jul 16 20:49:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-1
|
|
|
1a7ed5b |
- Update to 0.10.0
|
|
|
1a7ed5b |
|
|
|
c2fa2ce |
* Sat Jul 13 23:02:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.19-1
|
|
|
c2fa2ce |
- Initial package
|