commit 6276fbddb0507fdcb946a1bca5bb3741a7d3eabfcb6bad190431bd5bca0314b8 Author: Sascha Peilicke Date: Mon Jul 29 07:45:25 2013 +0000 Accepting request 184565 from home:frispete:python needed by current pyramid project, depending on python-pylons_sphinx_theme OBS-URL: https://build.opensuse.org/request/show/184565 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translationstring?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-translationstring.changes b/python-translationstring.changes new file mode 100644 index 0000000..65223b5 --- /dev/null +++ b/python-translationstring.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jul 28 20:59:22 UTC 2013 - hpj@urpla.net + +- version 1.1: initial build + diff --git a/python-translationstring.spec b/python-translationstring.spec new file mode 100644 index 0000000..2b66831 --- /dev/null +++ b/python-translationstring.spec @@ -0,0 +1,80 @@ +# +# spec file for package python-translationstring +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 LISA GmbH, Bingen, 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-translationstring +Version: 1.1 +Release: 0 +Url: http://www.repoze.org +Summary: Utility library for i18n relied on by various Repoze and Pyramid packages +License: BSD-like (http://repoze.org/license.html) +Group: Development/Languages/Python +Source: translationstring-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-pylons_sphinx_theme +BuildRequires: python-setuptools +BuildRequires: python-Sphinx +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1110 +BuildArch: noarch +%endif +%endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +%description +A library used by various `Pylons Project `_ packages +for internationalization (i18n) duties related to translation. + +This package provides a translation string class, a translation string factory +class, translation and pluralization primitives, and a utility that helps +`Chameleon `_ templates use translation facilities +of this package. It does not depend on `Babel `_, +but its translation and pluralization services are meant to work best when +provided with an instance of the babel.support.Translations class. + +Please see http://docs.pylonsproject.org/projects/translationstring/dev/ or +the docs/index.rst file in this package for the documentation. + +%package doc +Summary: Utility library for i18n relied on by various Repoze and Pyramid packages +Group: Development/Languages/Python +Requires: %{name} = %{version} + +%description doc +This package contains documentation files for %{name}. + +%prep +%setup -q -n translationstring-%{version} + +%build +python setup.py build +pushd docs && make html && rm _build/html/.buildinfo + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc *.txt +%python_sitelib/* + +%files doc +%defattr(-,root,root,-) +%doc docs/_build/html + +%changelog diff --git a/translationstring-1.1.tar.gz b/translationstring-1.1.tar.gz new file mode 100644 index 0000000..403a34c --- /dev/null +++ b/translationstring-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8147c47e8091bc7b8168758a01c049581959faba9d56cafde8734de44e98711c +size 28524