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:
Tomáš Chvátal 2019-10-21 11:40:13 +00:00 committed by Git OBS Bridge
commit aceb204284
5 changed files with 148 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
hatch-0.22.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f82cabcf22eab3fc7ed7333e698de0adef6bc204bc4958364bf33396824f0286
size 73551

25
python-hatch.changes Normal file
View File

@ -0,0 +1,25 @@
-------------------------------------------------------------------
Mon Oct 21 09:42:14 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Update to v0.22.0, dropping merged patches
-------------------------------------------------------------------
Sat Oct 12 13:49:07 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Add patch 38ca5de2.patch and update-userpath.patch to support
using latest python-userpath instead of unmaintained python-adduserpath
- Add unmerged fixes in upstream pull requests:
* pr_59.patch: Add decorator to tests which require internet connection
* pr_60.patch: Avoid installing tests as a package
* pr_62.patch: Fixed bad encoding for Python 3.7
-------------------------------------------------------------------
Thu Aug 2 19:17:22 UTC 2018 - aboe76@gmail.com
- Update to v0.20.0
-------------------------------------------------------------------
Mon Sep 11 07:39:28 UTC 2017 - thomas.schraitle@suse.com
- First public version 0.9.1

96
python-hatch.spec Normal file
View 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