forked from pool/python-py-ubjson
- Switch to pyproject macros.
- No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-ubjson?expand=0&rev=13
This commit is contained in:
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
|
3
py-ubjson-0.16.1.tar.gz
Normal file
3
py-ubjson-0.16.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9bfb8695a1c7e3632e800fb83c943bf67ed45ddd87cd0344851610c69a5a482
|
||||
size 50316
|
48
python-py-ubjson.changes
Normal file
48
python-py-ubjson.changes
Normal file
@@ -0,0 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:57:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 22 20:14:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.16.1:
|
||||
- Make recursion unit test work in PyPy also
|
||||
- Don't use C extension under PyPy. (JIT-optimized pure-Python version is
|
||||
considerably faster.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 07:26:32 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.15.0
|
||||
* Fix decimal encoding bug/assert (reported by mgorny)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 10:52:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.14.0:
|
||||
- Fix DecoderException not including offset when C-extension in use, expose
|
||||
property for it.
|
||||
- Fix decoding via C extension reading too much data from file-like objects
|
||||
- Test suite exercises both pure & extension modules when extension enabled
|
||||
- Expand test suite to increase C extension (line) coverage
|
||||
- Remove need for pypandoc/rst (use original README.md)
|
||||
- Fix spelling errors in cli util (hoenn)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 7 08:28:55 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- enable unit tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 14:48:11 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Update to 0.13.0
|
||||
* Make package build reproducible (boo#1041090)
|
||||
* Fix _ubjson_decode_value case statement fallthrough
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 15:09:44 UTC 2019 - Matěj Cepl <mcepl@suse.com>
|
||||
|
||||
- Initial packaging effort of 0.12.0
|
59
python-py-ubjson.spec
Normal file
59
python-py-ubjson.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-py-ubjson
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
%define modname py-ubjson
|
||||
Name: python-py-ubjson
|
||||
Version: 0.16.1
|
||||
Release: 0
|
||||
Summary: Universal Binary JSON encoder/decoder
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/Iotic-Labs/py-ubjson
|
||||
Source: https://files.pythonhosted.org/packages/source/p/py-ubjson/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a Python v3.2+ (and 2.7+) `Universal Binary JSON`
|
||||
encoder/decoder based on the `draft-12` specification.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%check
|
||||
touch test/__init__.py
|
||||
%pytest test/test.py
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitearch}/ubjson
|
||||
%{python_sitearch}/_ubjson.cpython-*-linux-gnu.so
|
||||
%{python_sitearch}/py_ubjson-%{version}.dist-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user