Accepting request 1189214 from home:rrahl0
- update to 3.1.1: * update dependencies OBS-URL: https://build.opensuse.org/request/show/1189214 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pure-protobuf?expand=0&rev=7
This commit is contained in:
commit
6ca69dcb63
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
17
get-tests.sh
Normal file
17
get-tests.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ -z $1 ]; then
|
||||||
|
echo "Please input a version for which we should download the tests for"
|
||||||
|
else
|
||||||
|
VERSION=$1
|
||||||
|
curl -LO https://github.com/eigenein/protobuf/archive/refs/tags/$VERSION.tar.gz
|
||||||
|
mkdir -p tmp
|
||||||
|
tar xf $VERSION.tar.gz -C tmp
|
||||||
|
cd tmp/protobuf-$VERSION
|
||||||
|
tar cf python-pure-protobuf-tests-$VERSION.tar.gz tests
|
||||||
|
mv python-pure-protobuf-tests-$VERSION.tar.gz ../..
|
||||||
|
cd ../..
|
||||||
|
rm -rf tmp $VERSION.tar.gz
|
||||||
|
fi
|
3
pure_protobuf-3.1.0.tar.gz
Normal file
3
pure_protobuf-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c0b60d630e529309b8ab3f94aec91acc478385ede02d115f7981b24c7151d89b
|
||||||
|
size 18198
|
3
pure_protobuf-3.1.1.tar.gz
Normal file
3
pure_protobuf-3.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:951c812f6e06a25c2b4c2d56e81f49793a8adbfae77da5db84d693aa57ae1d2b
|
||||||
|
size 18190
|
3
python-pure-protobuf-tests-3.1.0.tar.gz
Normal file
3
python-pure-protobuf-tests-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:48e1e2f8b427031df145c889efac8edc0b5e20c7fdbc58bf5ce1379036683318
|
||||||
|
size 71680
|
3
python-pure-protobuf-tests-3.1.1.tar.gz
Normal file
3
python-pure-protobuf-tests-3.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef3134031d22aacbe22c0969e5dd82bee5b6406813677e9a4c8ab17eeb322208
|
||||||
|
size 71680
|
29
python-pure-protobuf.changes
Normal file
29
python-pure-protobuf.changes
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 23 09:22:54 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||||
|
|
||||||
|
- update to 3.1.1:
|
||||||
|
* update dependencies
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 02:04:36 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||||
|
|
||||||
|
- update to 3.1.0:
|
||||||
|
* dependency updates
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 00:46:53 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||||
|
|
||||||
|
- add script get-tests.sh to fetch tests
|
||||||
|
- update to 3.0.1:
|
||||||
|
* technical update (deps)
|
||||||
|
|
||||||
|
- update to 3.0.0:
|
||||||
|
* = field field declarations replaced with Annotated hinting
|
||||||
|
* Removed @message decorator in favour of BaseMessage
|
||||||
|
* Re-written the core
|
||||||
|
* Typing changes (see also: https://eigenein.github.io/protobuf/migration/)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 16 07:45:47 UTC 2023 - Richard Rahl <rrahl0@proton.me>
|
||||||
|
|
||||||
|
- initial packaging
|
70
python-pure-protobuf.spec
Normal file
70
python-pure-protobuf.spec
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pure-protobuf
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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-pure-protobuf
|
||||||
|
Version: 3.1.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Protocol Buffers using Python type annotations
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
URL: https://github.com/eigenein/protobuf
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pure-protobuf/pure_protobuf-%{version}.tar.gz
|
||||||
|
Source1: %{name}-tests-%{version}.tar.gz
|
||||||
|
Source99: get-tests.sh
|
||||||
|
BuildRequires: %{python_module get-annotations}
|
||||||
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: %{python_module poetry-dynamic-versioning}
|
||||||
|
BuildRequires: %{python_module pydantic}
|
||||||
|
BuildRequires: %{python_module typing-extensions}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
## needed for tests
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module pytest-benchmark}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: python-get-annotations
|
||||||
|
Requires: python-typing-extensions
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1 -p1 -n pure_protobuf-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%{python_sitelib}/pure_protobuf
|
||||||
|
%{python_sitelib}/pure_protobuf-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user