summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2009-12-20 20:43:41 +0000
committerSebastian Pipping <sping@gentoo.org>2009-12-20 20:43:41 +0000
commitef11db093036c62ac4b2791282c205c018fe9a08 (patch)
tree2f30787dcc6060f1240d983161f0ecef315b556a /dev-python/sclapp
parentFix epatch. (diff)
downloadgentoo-2-ef11db093036c62ac4b2791282c205c018fe9a08.tar.gz
gentoo-2-ef11db093036c62ac4b2791282c205c018fe9a08.tar.bz2
gentoo-2-ef11db093036c62ac4b2791282c205c018fe9a08.zip
dev-python/sclapp: New package (bug 220081)
(Portage version: 2.2_rc54/cvs/Linux i686)
Diffstat (limited to 'dev-python/sclapp')
-rw-r--r--dev-python/sclapp/ChangeLog10
-rw-r--r--dev-python/sclapp/metadata.xml9
-rw-r--r--dev-python/sclapp/sclapp-0.5.3.ebuild34
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/sclapp/ChangeLog b/dev-python/sclapp/ChangeLog
new file mode 100644
index 000000000000..c0382329e2e9
--- /dev/null
+++ b/dev-python/sclapp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/sclapp
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sclapp/ChangeLog,v 1.1 2009/12/20 20:43:41 sping Exp $
+
+*sclapp-0.5.3 (20 Dec 2009)
+
+ 20 Dec 2009; Sebastian Pipping <sping@gentoo.org> +sclapp-0.5.3.ebuild,
+ +metadata.xml:
+ Initial ebuild, review by Arfrever (bug 220081)
+
diff --git a/dev-python/sclapp/metadata.xml b/dev-python/sclapp/metadata.xml
new file mode 100644
index 000000000000..7caea33200db
--- /dev/null
+++ b/dev-python/sclapp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>maintainer-wanted</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/sclapp/sclapp-0.5.3.ebuild b/dev-python/sclapp/sclapp-0.5.3.ebuild
new file mode 100644
index 000000000000..b65485fccc5f
--- /dev/null
+++ b/dev-python/sclapp/sclapp-0.5.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sclapp/sclapp-0.5.3.ebuild,v 1.1 2009/12/20 20:43:41 sping Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Framework for writing simple command-line applications"
+HOMEPAGE="http://www.alittletooquiet.net/software/sclapp/"
+SRC_URI="http://www.alittletooquiet.net/media/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+ # Disable failing test
+ sed -e "s/test_stdout_fails_without_signal_handling_without_output_protection/_&/" \
+ -i tests/output_protection.py || die "sed failed"
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
+ }
+ python_execute_function testing
+}