Blame hatch.spec

742110b
Name:           hatch
742110b
Version:        0.11.0
742110b
Release:        1%{?dist}
742110b
Summary:        A modern project, package, and virtual env manager
742110b
742110b
License:        MIT or ASL 2.0
742110b
URL:            https://github.com/ofek/hatch
742110b
Source0:        https://files.pythonhosted.org/packages/source/h/%{name}/%{name}-%{version}.tar.gz
742110b
BuildArch:      noarch
742110b
742110b
BuildRequires:  git-core
742110b
BuildRequires:  python3-devel
742110b
BuildRequires:  python3-appdirs
742110b
BuildRequires:  python3-atomicwrites
742110b
BuildRequires:  python3-click
742110b
BuildRequires:  python3-coverage
742110b
BuildRequires:  python3-pip
742110b
BuildRequires:  python3-parse
742110b
BuildRequires:  python3-pexpect
742110b
BuildRequires:  python3-pytest
742110b
BuildRequires:  python3-requests
742110b
BuildRequires:  python3-semver
742110b
BuildRequires:  python3-setuptools
742110b
BuildRequires:  python3-six
742110b
BuildRequires:  python3-twine
742110b
BuildRequires:  python3-tqdm
742110b
BuildRequires:  python3-virtualenv
742110b
BuildRequires:  python3-wheel
742110b
742110b
Requires:  git-core
742110b
Requires:  python3-appdirs
742110b
Requires:  python3-atomicwrites
742110b
Requires:  python3-click
742110b
Requires:  python3-coverage
742110b
Requires:  python3-colorama
742110b
Requires:  python3-pip
742110b
Requires:  python3-parse
742110b
Requires:  python3-pexpect
742110b
Requires:  python3-pytest
742110b
Requires:  python3-requests
742110b
Requires:  python3-semver
742110b
Requires:  python3-setuptools
742110b
Requires:  python3-six
742110b
Requires:  python3-twine
742110b
Requires:  python3-tqdm
742110b
Requires:  python3-virtualenv
742110b
Requires:  python3-wheel
742110b
742110b
%{?python_provide:%python_provide python3-%{name}}
742110b
742110b
%description
742110b
Hatch is a productivity tool designed to make your workflow easier and more \
742110b
efficient, while also reducing the number of other tools you need to know. \
742110b
It aims to make the 90% use cases as pleasant as possible.
742110b
742110b
742110b
%prep
742110b
%autosetup -n %{name}-%{version}
742110b
# Remove bundled egg-info
742110b
rm -rf %{name}.egg-info
742110b
742110b
%build
742110b
%py3_build
742110b
742110b
%install
742110b
%py3_install
742110b
742110b
%check
742110b
%{__python3} -m pytest
742110b
# Remove tests from sitelib
742110b
rm -r %{buildroot}%{python3_sitelib}/tests
742110b
742110b
%files
742110b
%license LICENSE-APACHE LICENSE-MIT
742110b
%doc README.rst
742110b
%{_bindir}/%{name}
742110b
%{python3_sitelib}/%{name}
742110b
%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info
742110b
742110b
%changelog
742110b
* Wed Sep 13 2017 Lumir Balhar <lbalhar@redhat.com> - 0.11.0-1
742110b
- Initial package.