|
|
@ -1,5 +1,8 @@
|
|
|
|
# These require packages that are built using this package itself.
|
|
|
|
# These require packages that are built using this package itself.
|
|
|
|
%global with_loop 0
|
|
|
|
%global with_loop 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# cannot enable tests at the moment.
|
|
|
|
|
|
|
|
# Need to package requestes_download
|
|
|
|
%global with_test 0
|
|
|
|
%global with_test 0
|
|
|
|
|
|
|
|
|
|
|
|
%global python3_wheelname %{srcname}-%{version}-py3-none-any.whl
|
|
|
|
%global python3_wheelname %{srcname}-%{version}-py3-none-any.whl
|
|
|
@ -7,8 +10,8 @@
|
|
|
|
%global srcname flit
|
|
|
|
%global srcname flit
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Version: 1.3
|
|
|
|
Version: 2.1.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Simplified packaging of Python modules
|
|
|
|
Summary: Simplified packaging of Python modules
|
|
|
|
|
|
|
|
|
|
|
|
# ./flit/logo.py under ASL 2.0 license
|
|
|
|
# ./flit/logo.py under ASL 2.0 license
|
|
|
@ -30,6 +33,7 @@ BuildRequires: python3-pytoml
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-responses
|
|
|
|
BuildRequires: python3-responses
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Requires flit to build:
|
|
|
|
# Requires flit to build:
|
|
|
|
BuildRequires: python3-testpath
|
|
|
|
BuildRequires: python3-testpath
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -85,11 +89,11 @@ so long as they can be imported on Python 3.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export FLIT_NO_NETWORK=1
|
|
|
|
export FLIT_NO_NETWORK=1
|
|
|
|
XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit build --format wheel
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install_wheel %{python3_wheelname}
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_test}
|
|
|
|
%if 0%{?with_test}
|
|
|
@ -101,12 +105,14 @@ py.test-3
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python3_sitelib}/%{srcname}-*.dist-info/
|
|
|
|
%{python3_sitelib}/%{srcname}*egg-info
|
|
|
|
%{python3_sitelib}/%{srcname}/
|
|
|
|
%{python3_sitelib}/%{srcname}/
|
|
|
|
%{_bindir}/flit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 03 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.1.0-1
|
|
|
|
|
|
|
|
- Update to 2.1.0
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-4
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3-4
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
|
|