|
|
@ -8,45 +8,44 @@
|
|
|
|
# RHEL does not have all the test dependencies
|
|
|
|
# RHEL does not have all the test dependencies
|
|
|
|
%bcond tests %[%{without bootstrap} && ! %[%{defined rhel} && %{undefined epel}]]
|
|
|
|
%bcond tests %[%{without bootstrap} && ! %[%{defined rhel} && %{undefined epel}]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-flit
|
|
|
|
Name: python-flit
|
|
|
|
Version: 3.8.0
|
|
|
|
Version: 3.8.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Simplified packaging of Python modules
|
|
|
|
Summary: Simplified packaging of Python modules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ./flit/log.py under ASL 2.0 license
|
|
|
|
# ./flit/log.py under ASL 2.0 license
|
|
|
|
# ./flit/upload.py under PSF license
|
|
|
|
# ./flit/upload.py under PSF license
|
|
|
|
License: BSD and ASL 2.0 and Python
|
|
|
|
License: BSD and ASL 2.0 and Python
|
|
|
|
|
|
|
|
|
|
|
|
URL: https://flit.readthedocs.io/en/latest/
|
|
|
|
URL: https://flit.readthedocs.io/en/latest/
|
|
|
|
Source0: https://github.com/takluyver/flit/archive/%{version}/flit-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/takluyver/flit/archive/%{version}/flit-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# For the tests
|
|
|
|
# For the tests
|
|
|
|
Source1: https://pypi.org/pypi?%3Aaction=list_classifiers#/classifiers.lst
|
|
|
|
Source1: https://pypi.org/pypi?%3Aaction=list_classifiers#/classifiers.lst
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
%if %{without bootstrap}
|
|
|
|
%if %{without bootstrap}
|
|
|
|
BuildRequires: pyproject-rpm-macros >= 0-40
|
|
|
|
BuildRequires: pyproject-rpm-macros >= 0-40
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
BuildRequires: python3-pip
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
# Runtime deps, others
|
|
|
|
# Runtime deps, others
|
|
|
|
BuildRequires: python3-requests
|
|
|
|
BuildRequires: python3-requests
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
BuildRequires: python3-tomli-w
|
|
|
|
BuildRequires: python3-tomli-w
|
|
|
|
|
|
|
|
|
|
|
|
# Test deps
|
|
|
|
# Test deps
|
|
|
|
BuildRequires: /usr/bin/python
|
|
|
|
BuildRequires: /usr/bin/python
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-responses
|
|
|
|
BuildRequires: python3-responses
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
|
|
|
|
# Test deps that require flit to build:
|
|
|
|
# Test deps that require flit to build:
|
|
|
|
BuildRequires: python3-testpath
|
|
|
|
BuildRequires: python3-testpath
|
|
|
|
BuildRequires: python3-requests-download
|
|
|
|
BuildRequires: python3-requests-download
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
@ -67,23 +66,23 @@ so long as they can be imported on Python 3.}
|
|
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
%if %{without bootstrap}
|
|
|
|
%package -n python3-flit
|
|
|
|
%package -n python3-flit
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
Requires: python3-flit-core = %{version}-%{release}
|
|
|
|
Requires: python3-flit-core = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
# https://pypi.python.org/pypi/tornado
|
|
|
|
# https://pypi.python.org/pypi/tornado
|
|
|
|
# ./flit/log.py unknown version
|
|
|
|
# ./flit/log.py unknown version
|
|
|
|
Provides: bundled(python3dist(tornado))
|
|
|
|
Provides: bundled(python3dist(tornado))
|
|
|
|
|
|
|
|
|
|
|
|
# soft dependency: (WARNING) Cannot analyze code. Pygments package not found.
|
|
|
|
# soft dependency: (WARNING) Cannot analyze code. Pygments package not found.
|
|
|
|
Recommends: python3-pygments
|
|
|
|
Recommends: python3-pygments
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-flit %_description
|
|
|
|
%description -n python3-flit %_description
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-flit-core
|
|
|
|
%package -n python3-flit-core
|
|
|
|
Summary: PEP 517 build backend for packages using Flit
|
|
|
|
Summary: PEP 517 build backend for packages using Flit
|
|
|
|
Conflicts: python3-flit < 2.1.0-2
|
|
|
|
Conflicts: python3-flit < 2.1.0-2
|
|
|
|
|
|
|
|
|
|
|
|
# RPM generators are not yet available when we bootstrap
|
|
|
|
# RPM generators are not yet available when we bootstrap
|
|
|
|
%if %{with bootstrap}
|
|
|
|
%if %{with bootstrap}
|
|
|
|