summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2011-07-30 00:41:22 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2011-07-30 00:41:22 +0000
commit1477e20a07c247d201014a88f6dcac4674072dc5 (patch)
treedd1a985cf2855ed3f62685029e5a310f21b23b35 /dev-python/translationstring
parentImproved test handling. Removed tests dependencies, they are just needed for ... (diff)
downloadgentoo-2-1477e20a07c247d201014a88f6dcac4674072dc5.tar.gz
gentoo-2-1477e20a07c247d201014a88f6dcac4674072dc5.tar.bz2
gentoo-2-1477e20a07c247d201014a88f6dcac4674072dc5.zip
Initial version. Based on ebuild by Jan Matějka (bug #353769).
(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/translationstring')
-rw-r--r--dev-python/translationstring/ChangeLog10
-rw-r--r--dev-python/translationstring/metadata.xml6
-rw-r--r--dev-python/translationstring/translationstring-0.3.ebuild37
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/translationstring/ChangeLog b/dev-python/translationstring/ChangeLog
new file mode 100644
index 000000000000..47000113b87c
--- /dev/null
+++ b/dev-python/translationstring/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/translationstring
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/translationstring/ChangeLog,v 1.1 2011/07/30 00:41:22 rafaelmartins Exp $
+
+*translationstring-0.3 (30 Jul 2011)
+
+ 30 Jul 2011; Rafael G. Martins <rafaelmartins@gentoo.org>
+ +translationstring-0.3.ebuild, +metadata.xml:
+ Initial version. Based on ebuild by Jan Matějka (bug #353769).
+
diff --git a/dev-python/translationstring/metadata.xml b/dev-python/translationstring/metadata.xml
new file mode 100644
index 000000000000..73e82009ebe4
--- /dev/null
+++ b/dev-python/translationstring/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
+
diff --git a/dev-python/translationstring/translationstring-0.3.ebuild b/dev-python/translationstring/translationstring-0.3.ebuild
new file mode 100644
index 000000000000..547d4bd6b7a4
--- /dev/null
+++ b/dev-python/translationstring/translationstring-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/translationstring/translationstring-0.3.ebuild,v 1.1 2011/07/30 00:41:22 rafaelmartins Exp $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="2"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+DESCRIPTION="Utility library for i18n relied on by various Repoze packages"
+HOMEPAGE="http://www.repoze.org/ http://pypi.python.org/pypi/translationstring"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="repoze"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ (cd docs && emake html) || die "make html failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/.build/html/* || die "dohtml failed"
+ fi
+}