forked from pool/python-hatch
Accepting request 741474 from home:jayvdb:py-new
Old tool, so low current download stats, revitalised with new release today Available on Fedora https://repology.org/project/hatch/versions OBS-URL: https://build.opensuse.org/request/show/741474 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=1
This commit is contained in:
96
python-hatch.spec
Normal file
96
python-hatch.spec
Normal file
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# spec file for package python-hatch
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-hatch
|
||||
Version: 0.22.0
|
||||
Release: 0
|
||||
Summary: A modern project, package, and virtual env manager
|
||||
License: MIT OR Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ofek/hatch
|
||||
Source: https://files.pythonhosted.org/packages/source/h/hatch/hatch-%{version}.tar.gz
|
||||
BuildRequires: %{python_module appdirs}
|
||||
BuildRequires: %{python_module atomicwrites}
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module devel > 3.5}
|
||||
BuildRequires: %{python_module parse}
|
||||
BuildRequires: %{python_module pexpect}
|
||||
BuildRequires: %{python_module pip >= 9.0.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module semver >= 2.7.8}
|
||||
BuildRequires: %{python_module setuptools >= 36.0.0}
|
||||
BuildRequires: %{python_module sortedcontainers >= 1.5.7}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module twine >= 1.9.1}
|
||||
BuildRequires: %{python_module userpath >= 1.1.0}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
BuildRequires: %{python_module wheel >= 0.27.0}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: git-core
|
||||
Requires: python-appdirs
|
||||
Requires: python-atomicwrites
|
||||
Requires: python-click
|
||||
Requires: python-colorama
|
||||
Requires: python-coverage
|
||||
Requires: python-pexpect
|
||||
Requires: python-pip >= 9.0.1
|
||||
Requires: python-pytest
|
||||
Requires: python-semver >= 2.7.8
|
||||
Requires: python-setuptools >= 36.0.0
|
||||
Requires: python-sortedcontainers
|
||||
Requires: python-twine >= 1.9.1
|
||||
Requires: python-userpath >= 1.1.0
|
||||
Requires: python-virtualenv
|
||||
Requires: python-wheel >= 0.27.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Hatch is a productivity tool designed to make your workflow easier and more
|
||||
efficient, while also reducing the number of other tools you need to know.
|
||||
It aims to make the 90% use cases as pleasant as possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n hatch-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
export PATH=$PATH:%{buildroot}%{_bindir}
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE-APACHE LICENSE-MIT
|
||||
%python3_only %{_bindir}/hatch
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user