- update to 3.1.3:
* drop support for python 3.8 * add support for python 3.13 * prepare for python 3.14 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pure-protobuf?expand=0&rev=11
This commit is contained in:
commit
0d96672ea9
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
pure_protobuf-3.1.2.tar.gz
Normal file
3
pure_protobuf-3.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:700f70671b892d52b5c2f1d7330bce3e57eb5fac3d8831a8d8a631457eaac236
|
||||
size 18293
|
3
pure_protobuf-3.1.3.tar.gz
Normal file
3
pure_protobuf-3.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae439e1920e9c0e6bf65bf892948085e021cb4a7dc3f2ec399b0ee735422f30d
|
||||
size 18341
|
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
|
3
python-pure-protobuf-tests-3.1.2.tar.gz
Normal file
3
python-pure-protobuf-tests-3.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:918a6299cd266e2e00d31b3aec143ee822a25bf6dec9be7ed361353e961a8c93
|
||||
size 81920
|
3
python-pure-protobuf-tests-3.1.3.tar.gz
Normal file
3
python-pure-protobuf-tests-3.1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f11919b94565f72b99ddfa8f798b8b453c6b38367aaa13e19df35b970299ebb8
|
||||
size 71680
|
45
python-pure-protobuf.changes
Normal file
45
python-pure-protobuf.changes
Normal file
@ -0,0 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 21:47:22 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- update to 3.1.3:
|
||||
* drop support for python 3.8
|
||||
* add support for python 3.13
|
||||
* prepare for python 3.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 16:50:05 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- update to 3.1.2:
|
||||
* Do not reset a one-of group with a None value
|
||||
* Update and apply Ruff
|
||||
* Update all non-major dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
68
python-pure-protobuf.spec
Normal file
68
python-pure-protobuf.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# 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.3
|
||||
Release: 0
|
||||
Summary: Protocol Buffers using Python type annotations
|
||||
License: MIT
|
||||
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-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