commit aceb204284071c2d56bd17ca7c41f19ca9d68af99a08f6ffe4d49f0a11eded64 Author: Tomáš Chvátal Date: Mon Oct 21 11:40:13 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/hatch-0.22.0.tar.gz b/hatch-0.22.0.tar.gz new file mode 100644 index 0000000..bba3cc0 --- /dev/null +++ b/hatch-0.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f82cabcf22eab3fc7ed7333e698de0adef6bc204bc4958364bf33396824f0286 +size 73551 diff --git a/python-hatch.changes b/python-hatch.changes new file mode 100644 index 0000000..00503ee --- /dev/null +++ b/python-hatch.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Mon Oct 21 09:42:14 UTC 2019 - John Vandenberg + +- Update to v0.22.0, dropping merged patches + +------------------------------------------------------------------- +Sat Oct 12 13:49:07 UTC 2019 - John Vandenberg + +- 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 diff --git a/python-hatch.spec b/python-hatch.spec new file mode 100644 index 0000000..e0185df --- /dev/null +++ b/python-hatch.spec @@ -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