From 2f64fcb75fe604479a7506268fc485e210638b84d25bacafe5ba3c37cd3da93d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 26 Mar 2023 18:10:25 +0000 Subject: [PATCH] Accepting request 1074449 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-referencing required by python-jsonschema-specifications OBS-URL: https://build.opensuse.org/request/show/1074449 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-referencing?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 18 +++++++++ _servicedata | 4 ++ python-referencing.changes | 5 +++ python-referencing.spec | 75 ++++++++++++++++++++++++++++++++++++++ referencing-0.25.3.tar.gz | 3 ++ 7 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 python-referencing.changes create mode 100644 python-referencing.spec create mode 100644 referencing-0.25.3.tar.gz 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/_service b/_service new file mode 100644 index 0000000..9d19398 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + https://github.com/python-jsonschema/referencing + git + v0.25.3 + @PARENT_TAG@ + enable + v(.*) + yes + + + referencing + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..c1508aa --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/python-jsonschema/referencing + 6318c8fb180b8353b3f1884be06dfe49dcc8f4e8 \ No newline at end of file diff --git a/python-referencing.changes b/python-referencing.changes new file mode 100644 index 0000000..a0e707a --- /dev/null +++ b/python-referencing.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Mar 24 12:43:40 UTC 2023 - Johannes Kastl + +- new package python-referencing required by + python-jsonschema-specifications diff --git a/python-referencing.spec b/python-referencing.spec new file mode 100644 index 0000000..c4cedfe --- /dev/null +++ b/python-referencing.spec @@ -0,0 +1,75 @@ +# +# spec file for package python-referencing +# +# Copyright (c) 2023 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/ +# + + +Name: python-referencing +Version: 0.25.3 +Release: 0 +Summary: JSON Referencing + Python +License: MIT +URL: https://github.com/python-jsonschema/referencing +# only use tarball created by tar_scm service, +# as PyPi does not include the suite git submodule +# and github tarballs do not include the .git directory +# required by hatch_vcs and setuptools_scm +# +# using obs_scm does **not** work... +Source: referencing-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: git-core +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module jsonschema} +BuildRequires: %{python_module jsonschema-specifications} +BuildRequires: %{python_module attrs >= 22.2.0} +BuildRequires: %{python_module rpds-py >= 0.7.0} +# /SECTION +BuildRequires: fdupes +Requires: python-attrs >= 22.2.0 +Requires: python-rpds-py >= 0.7.0 +BuildArch: noarch +%python_subpackages + +%description +JSON Referencing + Python + +%prep +%setup -q -n referencing-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license COPYING +%{python_sitelib}/referencing/ +%{python_sitelib}/referencing-%{version}.dist-info/ + +%changelog diff --git a/referencing-0.25.3.tar.gz b/referencing-0.25.3.tar.gz new file mode 100644 index 0000000..bf3f9c8 --- /dev/null +++ b/referencing-0.25.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97d9c5145f5e1b81ff1258580c3726ccb3fd57c083d5dd98732b32ac16b70ed1 +size 258777