commit 426ff15c6d790132466db118b5de334df85fc5398b3b6033d3225f13c6edcbd7 Author: Todd R Date: Thu May 31 18:44:20 2018 +0000 required by python-PsychoPy OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-bidi?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-bidi-0.4.0.tar.gz b/python-bidi-0.4.0.tar.gz new file mode 100644 index 0000000..595fe2c --- /dev/null +++ b/python-bidi-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a1b3dbee4a0b307c91a465ba4caa8baaaa178151acd20de50ba24f9385f7e13 +size 38566 diff --git a/python-python-bidi.changes b/python-python-bidi.changes new file mode 100644 index 0000000..65d4e60 --- /dev/null +++ b/python-python-bidi.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat May 26 23:19:43 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-python-bidi.spec b/python-python-bidi.spec new file mode 100644 index 0000000..811b5b9 --- /dev/null +++ b/python-python-bidi.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-python-bidi +# +# Copyright (c) 2018 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-python-bidi +Version: 0.4.0 +Release: 0 +Summary: BiDi layout algorithm +License: LGPL-3.0-only +Group: Development/Languages/Python +Url: https://github.com/MeirKriheli/python-bidi +Source: https://files.pythonhosted.org/packages/source/p/python-bidi/python-bidi-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module six} +# /SECTION +BuildRequires: fdupes +Requires: python-six +BuildArch: noarch + +%python_subpackages + +%description +A pure python implementation of the BiDi layout algorithm. + +%prep +%setup -q -n python-bidi-%{version} +sed -i -e '/^#!\//, 1d' bidi/__init__.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc AUTHORS.rst CHANGELOG.rst README.rst +%license COPYING COPYING.LESSER +%python3_only %{_bindir}/pybidi +%{python_sitelib}/* + +%changelog