14
0

Accepting request 1139126 from home:rrahl0

I want to maintain python-get-annotations in devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1139126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-get-annotations?expand=0&rev=1
This commit is contained in:
2024-01-17 07:27:16 +00:00
committed by Git OBS Bridge
commit 60d2cda470
5 changed files with 92 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

View File

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

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Dec 16 09:01:46 UTC 2023 - Richard Rahl <rrahl0@proton.me>
- initial packaging

View File

@@ -0,0 +1,61 @@
#
# spec file for package python-get-annotations
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-get-annotations
Version: 0.1.2
Release: 0
Summary: A backport of Python 3.10's inspectget_annotation() function
License: MIT
Group: Development/Libraries/Python
URL: https://github.com/shawwn/get-annotations
Source: https://github.com/shawwn/get-annotations/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Source: https://files.pythonhosted.org/packages/source/g/get-annotations/get-annotations-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
## needed for tests
BuildRequires: %{python_module pytest}
BuildArch: noarch
%python_subpackages
%description
%summary.
%prep
%autosetup -p1 -n get-annotations-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/get_annotations
%{python_sitelib}/get_annotations-%{version}.dist-info
%changelog