summaryrefslogtreecommitdiff
path: root/dev-python/sclapp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/sclapp
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/sclapp')
-rw-r--r--dev-python/sclapp/Manifest6
-rw-r--r--dev-python/sclapp/files/sclapp-0.5.3-testsuite-fix-from-r235.patch40
-rw-r--r--dev-python/sclapp/metadata.xml8
-rw-r--r--dev-python/sclapp/sclapp-0.5.3-r1.ebuild28
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/sclapp/Manifest b/dev-python/sclapp/Manifest
new file mode 100644
index 000000000000..3391d2e7adae
--- /dev/null
+++ b/dev-python/sclapp/Manifest
@@ -0,0 +1,6 @@
+AUX sclapp-0.5.3-testsuite-fix-from-r235.patch 1276 SHA256 01a844e9462fa252ab179655b2881a36bb4e25a36b225544725b9eb881e41750 SHA512 2bf15b6423db0ff7fd113eab3014dbf0f8327a683d7c9570ae086164b5a364413d5bc1f5637deebef52b4f04f089cb99ca2a86c00445b372a57358d711618f8f WHIRLPOOL 2c071285411f853a020fe1e6e7cd16c22e0050c5cd10dc5d9178631dde95f062e87172f464bbea80f583976451686c40922ede9a6ff5d9452281d9db4c72141d
+DIST sclapp-0.5.3.tar.gz 47646 SHA256 e8e8b60cea9b09acc08f237e92c8b86057bdfd735412aa88cc993fea29031768 SHA512 e615310b2ede517717cf8ef70aca02c070676d71fb8880e381e3cc66d5c6006e47b4dd7c4355dbcb34e76898ce7a7a2e4522454490353970ac185c5d1963e49f WHIRLPOOL 49b940319e4f87dbc973081ec2ec7ad3b445d79a56ab23bf1ba58950ca3010eb5b2fb8666fe26677214bc07cb5bb2a8d7faeec0878e55c27e3644a19cf46d49f
+EBUILD sclapp-0.5.3-r1.ebuild 577 SHA256 b9853c717149125eb6cee193d0cd38bb462fefc701a2f8eefeec09dff6f37436 SHA512 757a544d7b349101ff75ea2146eb7682cf933fa1be09d6f81a4a2c4b4f91a1d6f389b447160648a44490d828fdffe7efb553a42d9c61eba7f3bba87f274d8920 WHIRLPOOL 2f69643cbdf074719bdf7e263170fa17f0c86fcecb5443ebb24b68dfcc8028e60984adcfbc7e43f2eff9300a65004b54b62b34662ae034762eecebdaa7c45d38
+MISC ChangeLog 2445 SHA256 08bf89994e5c83cc3a0186011355a7dd1cee575a64d58e9f3b7ac2623c820bda SHA512 4391291756b685d7f03a149e9f30eeaab687657afce48b06d9c46f5983ff2bd9bc3cd026638e8203d62eded257e45586f76d055447b0b6878b119ae4369af170 WHIRLPOOL 996f68b61bb2926902c9a9f8251960c6422d99fbd22e7dd26145b586b0b49ad1aeb204c6e5ff93d15c968808be7a365ef3769ba004a2113e4fde5949b92c2965
+MISC ChangeLog-2015 1473 SHA256 a929dd1746156905b166e8f86ce1a13c106f52a04b0ea7ab9032ca0096f0469f SHA512 efabe892e8b9baff371850f7c71b8859cec65ae5544e3f899109082d9724f5db92fd0b9183dbf674bb29a24a29c1150223a0c0505e72d9d1dceac99527ba8850 WHIRLPOOL bb6a7284752f11e6cc456037b5bcdb74f002b8938c621f2a34b164d4d3fe03d6846023aad1f82cc9c2f61b421567ae9ffc9496b8f176991b5f62193433bee36b
+MISC metadata.xml 249 SHA256 abaf8c3d7632caaacd242fc7f4d5b1377778c50c7bfa5c356b35773f377d4f69 SHA512 334ac61f9acc5c4917fd29afb3b420b1689b39be80cada419bed1db033e64130866d0995abe5f1c75eb1290f51734e9ad4c8d06fd8b49c288ecf617a0693d273 WHIRLPOOL cb6e12eeeb412f25a85ebc6322f4b22a14c7c23fc7d49a46e8168cdbf425e121a276fc4e915c4626ed9b64d7f7aef50ee11c428ed149126999d277adbea1f57f
diff --git a/dev-python/sclapp/files/sclapp-0.5.3-testsuite-fix-from-r235.patch b/dev-python/sclapp/files/sclapp-0.5.3-testsuite-fix-from-r235.patch
new file mode 100644
index 000000000000..45965f01b1de
--- /dev/null
+++ b/dev-python/sclapp/files/sclapp-0.5.3-testsuite-fix-from-r235.patch
@@ -0,0 +1,40 @@
+=== modified file 'NEWS'
+--- NEWS 2009-01-14 11:11:28 +0000
++++ NEWS 2009-12-21 14:12:02 +0000
+@@ -25,6 +25,9 @@
+
+ (Forest Bond)
+
++ * Fixed output protection test that was failing on some systems.
++ (Forest Bond)
++
+
+ sclapp 0.5.3 2008-07-21
+ =======================
+
+=== modified file 'tests/output_protection.py'
+--- tests/output_protection.py 2008-05-18 21:46:03 +0000
++++ tests/output_protection.py 2009-12-21 14:12:02 +0000
+@@ -109,8 +109,10 @@
+ exceptions = ()):
+ def test_fn():
+ pid = failure_fn(main_fn)
+- assertLogFileContainsExactly('foo', foos)
+- assertLogFileContainsExactly('bar', bars)
++ if foos is not None:
++ assertLogFileContainsExactly('foo', foos)
++ if bars is not None:
++ assertLogFileContainsExactly('bar', bars)
+ for signal in signals:
+ assertSignalCaught(signal, pid)
+ for exception in exceptions:
+@@ -171,7 +173,7 @@
+ 'test_stdout_fails_without_signal_handling_without_output_protection',
+ _stdout_fails,
+ main_without_signal_handling_without_output_protection,
+- 2, 2, ()
++ 2, None, ()
+ )))
+ test_stdout_stderr_fail_without_signal_handling_without_output_protection = (
+ staticmethod(_make_test_fn(
+
diff --git a/dev-python/sclapp/metadata.xml b/dev-python/sclapp/metadata.xml
new file mode 100644
index 000000000000..6d2298876faa
--- /dev/null
+++ b/dev-python/sclapp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/sclapp/sclapp-0.5.3-r1.ebuild b/dev-python/sclapp/sclapp-0.5.3-r1.ebuild
new file mode 100644
index 000000000000..9e2c41922be7
--- /dev/null
+++ b/dev-python/sclapp/sclapp-0.5.3-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Framework for writing simple command-line applications"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://www.alittletooquiet.net/media/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/pexpect[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-testsuite-fix-from-r235.patch"
+)
+
+python_test() {
+ esetup.py test
+}