|
|
2a2671b |
%global pypi_name opendata-transport
|
|
|
2a2671b |
|
|
|
2a2671b |
Name: python-%{pypi_name}
|
|
|
2db123c |
Version: 0.2.1
|
|
|
eda95e7 |
Release: 1%{?dist}
|
|
|
2a2671b |
Summary: A Python client for interacting with transport.opendata.ch
|
|
|
2a2671b |
|
|
|
2a2671b |
License: MIT
|
|
|
2a2671b |
URL: https://github.com/fabaff/python-opendata-transport
|
|
|
2a2671b |
Source0: https://github.com/fabaff/python-opendata-transport/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
2a2671b |
BuildArch: noarch
|
|
|
2a2671b |
|
|
|
2a2671b |
%description
|
|
|
2a2671b |
A Python client for interacting with transport.opendata.ch. This module is
|
|
|
2a2671b |
simply retrieving the details about a given connection between two stations.
|
|
|
2a2671b |
|
|
|
2a2671b |
%package -n python3-%{pypi_name}
|
|
|
2a2671b |
Summary: %{summary}
|
|
|
2a2671b |
|
|
|
2a2671b |
BuildRequires: python3-devel
|
|
|
2a2671b |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
2a2671b |
|
|
|
2a2671b |
%description -n python3-%{pypi_name}
|
|
|
2a2671b |
A Python client for interacting with transport.opendata.ch. This module is
|
|
|
2a2671b |
simply retrieving the details about a given connection between two stations.
|
|
|
2a2671b |
|
|
|
2a2671b |
%prep
|
|
|
2a2671b |
%autosetup -n %{name}-%{version}
|
|
|
2a2671b |
|
|
|
2a2671b |
%build
|
|
|
2a2671b |
%py3_build
|
|
|
2a2671b |
|
|
|
2a2671b |
%install
|
|
|
2a2671b |
%py3_install
|
|
|
2a2671b |
|
|
|
2a2671b |
%files -n python3-%{pypi_name}
|
|
|
2a2671b |
%doc CHANGES.rst README.rst example.py
|
|
|
2a2671b |
%license LICENSE
|
|
|
2a2671b |
%{python3_sitelib}/opendata_transport/
|
|
|
2a2671b |
%{python3_sitelib}/python_opendata_transport*.egg-info
|
|
|
2a2671b |
|
|
|
2a2671b |
%changelog
|
|
|
b781079 |
* Sat Jan 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.1-1
|
|
|
2db123c |
- Update to latest upstream release 0.2.1
|
|
|
2db123c |
|
|
|
05f7fda |
* Wed Dec 31 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.0-1
|
|
|
eda95e7 |
- Update to latest upstream release 0.2.0
|
|
|
eda95e7 |
|
|
|
c69cdb6 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.4-5
|
|
|
c69cdb6 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
c69cdb6 |
|
|
|
862f624 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.4-4
|
|
|
862f624 |
- Rebuilt for Python 3.8
|
|
|
862f624 |
|
|
|
cb8821f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
|
|
|
cb8821f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cb8821f |
|
|
|
2a2671b |
* Tue Jun 11 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.4-2
|
|
|
2a2671b |
- Change source (rhbz#1718903)
|
|
|
2a2671b |
|
|
|
2a2671b |
* Mon Jun 10 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.4-1
|
|
|
2a2671b |
- Initial package for Fedora
|