15
0
forked from pool/python-datrie

Accepting request 479636 from home:rjschwei

- Convert to singlespec port from d:l:py3

OBS-URL: https://build.opensuse.org/request/show/479636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-datrie?expand=0&rev=1
This commit is contained in:
Jan Matejek
2017-03-15 14:45:24 +00:00
committed by Git OBS Bridge
commit 19e1376ff6
5 changed files with 95 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

3
datrie-0.7.1.tar.gz Normal file
View File

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

10
python-datrie.changes Normal file
View File

@@ -0,0 +1,10 @@
-------------------------------------------------------------------
Sat Mar 4 00:00:17 UTC 2017 - rjschwei@suse.com
- Convert to single-spec
-------------------------------------------------------------------
Sun Jul 17 17:58:12 UTC 2016 - arun@gmx.de
- initial version 0.7.1

58
python-datrie.spec Normal file
View File

@@ -0,0 +1,58 @@
#
# spec file for package python3-datrie
#
# 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-datrie
Version: 0.7.1
Release: 0
Summary: Super-fast, efficiently stored Trie for Python
License: LGPL-2.0+
Group: Development/Languages/Python
Url: https://github.com/kmike/datrie
Source: https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
Super-fast, efficiently stored Trie for Python (2.x and 3.x). Uses libdatrie.
%prep
%setup -q -n datrie-%{version}
%build
%python_build
%install
rm -rf %{buildroot}/usr/lib/debug/ # drop debuginfo which hindered packaging
%python_install
%check
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst COPYING CHANGES.rst
%{python_sitearch}/*
%changelog