1
0

Accepting request 484242 from home:alois:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/484242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-u-msgpack-python?expand=0&rev=1
This commit is contained in:
Thomas Bechtold 2017-04-03 06:29:41 +00:00 committed by Git OBS Bridge
commit a412d15cfc
5 changed files with 101 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,10 @@
-------------------------------------------------------------------
Fri Mar 31 17:51:53 UTC 2017 - aloisio@gmx.com
- Converted to single-spec
- Added tests
-------------------------------------------------------------------
Sun Mar 12 17:32:21 UTC 2017 - arun@gmx.de
- initial package

View File

@ -0,0 +1,64 @@
#
# spec file for package python-u-msgpack-python
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-u-msgpack-python
Version: 2.3.0
Release: 0
Summary: A portable, lightweight MessagePack serializer and deserializer
License: MIT
Group: Development/Languages/Python
Url: https://github.com/vsergeev/u-msgpack-python
Source: https://pypi.io/packages/source/u/u-msgpack-python/u-msgpack-python-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
u-msgpack-python is a lightweight MessagePack serializer and
deserializer module written in pure Python, compatible with both
Python 2 and Python 3, as well as CPython and PyPy implementations of
Python. u-msgpack-python is fully compliant with the latest
MessagePack specification. In particular, it supports the new binary,
UTF-8 string, and application-defined ext types.
%prep
%setup -q -n u-msgpack-python-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%python_exec test_umsgpack.py
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/umsgpack.py*
%{python_sitelib}/u_msgpack_python-%{version}-py%{python_version}.egg-info
%changelog

View File

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