public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-translationstring] epel10: Initial import of python-translationstring into rawhide
@ 2026-07-08 22:59 Luke Macken
  0 siblings, 0 replies; only message in thread
From: Luke Macken @ 2026-07-08 22:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-translationstring
Branch : epel10
Commit : a665a899cfe1c5ecfc957cbfacfd29cec6afb985
Author : Luke Macken <lmacken@redhat.com>
Date   : 2011-02-18T15:18:41-05:00
Stats  : +56/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-translationstring/c/a665a899cfe1c5ecfc957cbfacfd29cec6afb985?branch=epel10

Log:
Initial import of python-translationstring into rawhide

---
diff --git a/.gitignore b/.gitignore
index e69de29..7fe20aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/translationstring-0.3.tar.gz

diff --git a/python-translationstring.spec b/python-translationstring.spec
new file mode 100644
index 0000000..88ada16
--- /dev/null
+++ b/python-translationstring.spec
@@ -0,0 +1,54 @@
+%global modname translationstring
+
+Name:           python-translationstring
+Version:        0.3
+Release:        1%{?dist}
+Summary:        Utility library for i18n relied on by various Repoze packages
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://pypi.python.org/pypi/translationstring
+Source0:        http://pypi.python.org/packages/source/t/translationstring/%{modname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  python-babel
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools-devel
+
+%description
+A library used by various `Repoze <http://repoze.org>`_ 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 <http://chameleon.repoze.org>`_ templates use translation
+facilities of this package.  It does not depend on `Babel
+<http://babel.edgewall.org>`_, but its translation and pluralization services
+are meant to work best when provided with an instance of the
+``babel.support.Translations`` class.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%check
+%{__python} setup.py test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.txt LICENSE.txt
+%{python_sitelib}/*
+
+%changelog
+* Wed Jan  2 2010 Luke Macken <lmacken@redhat.com> - 0.3-1
+- Initial package

diff --git a/sources b/sources
index e69de29..e7a5d3a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9cba042671c0cbf558faf2082b34658b  translationstring-0.3.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-08 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08 22:59 [rpms/python-translationstring] epel10: Initial import of python-translationstring into rawhide Luke Macken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox