commit ec83965f4484c73557aaaeaa5f81e0cf81da48ebbd1b129bec96b22550d9168b Author: Matej Cepl Date: Tue Jul 19 14:14:32 2022 +0000 Accepting request 990136 from home:ojkastl_buildservice:Systemsmanagement_Ansible new package python-hatch_vcs that is needed for jsonschema >= 4.6.0 OBS-URL: https://build.opensuse.org/request/show/990136 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch_vcs?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_vcs-0.2.0.tar.gz b/hatch_vcs-0.2.0.tar.gz new file mode 100644 index 0000000..aaa156a --- /dev/null +++ b/hatch_vcs-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff +size 9321 diff --git a/python-hatch_vcs.changes b/python-hatch_vcs.changes new file mode 100644 index 0000000..b497f16 --- /dev/null +++ b/python-hatch_vcs.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jul 19 09:27:06 UTC 2022 - Johannes Kastl + +- new package python-hatch_vcs diff --git a/python-hatch_vcs.spec b/python-hatch_vcs.spec new file mode 100644 index 0000000..32f2dc2 --- /dev/null +++ b/python-hatch_vcs.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-hatch_vcs +# +# Copyright (c) 2022 SUSE LLC +# +# 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/ +# + + +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 +Name: python-hatch_vcs +Version: 0.2.0 +Release: 0 +Summary: Hatch plugin for versioning with your preferred VCS +License: MIT +URL: https://github.com/ofek/hatch-vcs +Source: https://files.pythonhosted.org/packages/source/h/hatch-vcs/hatch_vcs-%{version}.tar.gz +# SECTION build +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +# /SECTION +# SECTION test +BuildRequires: %{python_module pytest} +BuildRequires: git +# /SECTION +BuildRequires: fdupes +BuildRequires: python-rpm-macros >= 20210929 +BuildArch: noarch +%python_subpackages + +%description +This provides a plugin for Hatch that uses your preferred version control system (like Git) to determine project versions. + +%prep +%setup -q -n hatch_vcs-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest tests + +%files %{python_files} +%license LICENSE.txt +%doc README.md +%{python_sitelib}/hatch_vcs +%{python_sitelib}/hatch_vcs-%{version}*-info + +%changelog