From 19e1376ff65ed60394b110d7d298ab54ad4ef78ab3c8700cdf73748ff54b032a Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 15 Mar 2017 14:45:24 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + datrie-0.7.1.tar.gz | 3 +++ python-datrie.changes | 10 ++++++++ python-datrie.spec | 58 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 datrie-0.7.1.tar.gz create mode 100644 python-datrie.changes create mode 100644 python-datrie.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/datrie-0.7.1.tar.gz b/datrie-0.7.1.tar.gz new file mode 100644 index 0000000..a6bcc31 --- /dev/null +++ b/datrie-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a11371cc2dbbad71d6dfef57ced6e8b384bb377eeb847c63d58f8dc8e8b2023 +size 193464 diff --git a/python-datrie.changes b/python-datrie.changes new file mode 100644 index 0000000..36c2ca7 --- /dev/null +++ b/python-datrie.changes @@ -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 + diff --git a/python-datrie.spec b/python-datrie.spec new file mode 100644 index 0000000..d2cc50c --- /dev/null +++ b/python-datrie.spec @@ -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