public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Luke Macken <lmacken@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-translationstring] epel10: Initial import of python-translationstring into rawhide
Date: Wed, 08 Jul 2026 22:59:37 GMT [thread overview]
Message-ID: <178355157792.1.17704973074478677491.rpms-python-translationstring-a665a899cfe1@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-08 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178355157792.1.17704973074478677491.rpms-python-translationstring-a665a899cfe1@fedoraproject.org \
--to=lmacken@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox