commit 44665a92a038410e30f9e9a9b175fc158e545d94d22a474d511f4cf8c861d753 Author: Dirk Mueller Date: Tue Apr 26 14:33:30 2016 +0000 Accepting request 391564 from home:alois:branches:devel:languages:python Bulk search patterns, initial version. OBS-URL: https://build.opensuse.org/request/show/391564 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=1 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/python-rebulk-rpmlintrc b/python-rebulk-rpmlintrc new file mode 100644 index 0000000..bb1d6f0 --- /dev/null +++ b/python-rebulk-rpmlintrc @@ -0,0 +1,3 @@ +# remove warnings about modules not being executable +addFilter("non-executable-script") + diff --git a/python-rebulk.changes b/python-rebulk.changes new file mode 100644 index 0000000..75fe185 --- /dev/null +++ b/python-rebulk.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Apr 25 13:41:36 UTC 2016 - aloisio@gmx.com + +- Initial version 0.7.1 + diff --git a/python-rebulk.spec b/python-rebulk.spec new file mode 100644 index 0000000..01821a4 --- /dev/null +++ b/python-rebulk.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-rebulk +# +# Copyright (c) 2016 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/ +# + + +Name: python-rebulk +Version: 0.7.1 +Release: 0 +Summary: Rebulk - Define bulk search patterns to perform advanced string matching +License: MIT +Group: Development/Languages/Python +Url: https://github.com/Toilal/rebulk +Source0: https://pypi.python.org/packages/source/r/rebulk/rebulk-%{version}.tar.gz +Source99: %{name}-rpmlintrc +BuildRequires: fdupes +BuildRequires: python-devel +BuildRequires: python-pytest-runner +BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1110 +BuildArch: noarch +%endif + +%description +ReBulk is a python library that performs advanced searches in +strings that would be hard to implement using re module or +String methods only. + +It includes some features like Patterns, Match, Rule that +allow developers to build a custom and complex string +matcher using a readable and extendable API. + + +%prep +%setup -q -n rebulk-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root %{buildroot} +%fdupes -s %{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE README.rst +%{python_sitelib}/* + +%changelog diff --git a/rebulk-0.7.1.tar.gz b/rebulk-0.7.1.tar.gz new file mode 100644 index 0000000..8eb0520 --- /dev/null +++ b/rebulk-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c472793cecbe2d75c8850a8e50e9b00dadec0a906c70644121bae7389a530401 +size 254375