Blame python-yarg.spec

297f33f
%{?python_enable_dependency_generator}
fa3b554
%global srcname yarg
fa3b554
fa3b554
%global _description\
fa3b554
Yarg is an easy to use PyPI client built on top of Python's requests library.
fa3b554
fa3b554
Name:           python-%{srcname}
fa3b554
Version:        0.1.9
f666dd4
Release:        13%{?dist}
fa3b554
Summary:        An easy to use PyPI client
fa3b554
fa3b554
License:        MIT
fa3b554
URL:            https://yarg.readthedocs.org/
fa3b554
Source0:        https://github.com/kura/yarg/archive/%{version}/%{srcname}/%{srcname}-%{version}.tar.gz
fa3b554
BuildArch:      noarch
47afa5e
fa3b554
BuildRequires:  python3-devel
f666dd4
BuildRequires:  pyproject-rpm-macros
fa3b554
fa3b554
%description %_description
fa3b554
fa3b554
%package -n     python3-%{srcname}
fa3b554
Summary:        %{summary}
fa3b554
%{?python_provide:%python_provide python3-%{srcname}}
47afa5e
fa3b554
%description -n python3-%{srcname} %_description
fa3b554
fa3b554
%prep
fa3b554
%autosetup -n %{srcname}-%{version}
f666dd4
f666dd4
%generate_buildrequires
f666dd4
%pyproject_buildrequires -r -t
fa3b554
fa3b554
%build
f666dd4
%pyproject_wheel
fa3b554
fa3b554
%install
f666dd4
%pyproject_install
f666dd4
%pyproject_save_files %{srcname}
fa3b554
fa3b554
%check
f666dd4
%tox
fa3b554
f666dd4
%files -n python3-%{srcname} -f %pyproject_files
fa3b554
%license LICENSE-REQUESTS LICENSE
fa3b554
%doc README.rst
47afa5e
%exclude %{python3_sitelib}/tests
fa3b554
fa3b554
%changelog
f666dd4
* Wed Sep 09 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.9-13
f666dd4
- Switch to pyproject rpm macros
f666dd4
fb28a48
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-12
fb28a48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fb28a48
7983278
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-11
7983278
- Rebuilt for Python 3.9
7983278
8b0cd9c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-10
8b0cd9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8b0cd9c
3f595bb
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-9
3f595bb
- Rebuilt for Python 3.8.0rc1 (#1748018)
3f595bb
adea8a0
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.9-8
adea8a0
- Rebuilt for Python 3.8
adea8a0
b1e608e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-7
b1e608e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b1e608e
85cd947
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-6
85cd947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
85cd947
297f33f
* Tue Jan 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.9-5
297f33f
- Enable python dependency generator
297f33f
47afa5e
* Sun Jan 13 2019 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 0.1.9-4
47afa5e
- Fix Bug #1655700 - Exclude 'tests' folder
47afa5e
afd7602
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-3
afd7602
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
afd7602
fa3b554
* Sun Jul 01 2018 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 0.1.9-2
fa3b554
- Add additional build dependency for tests
fa3b554
fa3b554
* Sun Jun 24 2018 Dhanesh B. Sabane <dhanesh95@disroot.org> - 0.1.9-1
fa3b554
- Initial package.