summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2011-08-27 20:11:03 +0000
committerJesus Rivero <neurogeek@gentoo.org>2011-08-27 20:11:03 +0000
commit3a6d7410866eecb358f88b96d71a784207560382 (patch)
treecb59eeda15f7f69dd15691f3474edb8150d97085 /dev-python/async
parentx86 stable wrt security bug #380255 (diff)
downloadgentoo-2-3a6d7410866eecb358f88b96d71a784207560382.tar.gz
gentoo-2-3a6d7410866eecb358f88b96d71a784207560382.tar.bz2
gentoo-2-3a6d7410866eecb358f88b96d71a784207560382.zip
Initial commit
(Portage version: 2.2.0_alpha46/cvs/Linux i686)
Diffstat (limited to 'dev-python/async')
-rw-r--r--dev-python/async/ChangeLog10
-rw-r--r--dev-python/async/async-0.6.1.ebuild32
-rw-r--r--dev-python/async/files/async-0.6.1_libz_link.patch14
-rw-r--r--dev-python/async/metadata.xml5
4 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/async/ChangeLog b/dev-python/async/ChangeLog
new file mode 100644
index 000000000000..866770f6efe7
--- /dev/null
+++ b/dev-python/async/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/async
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/async/ChangeLog,v 1.1 2011/08/27 20:11:03 neurogeek Exp $
+
+*async-0.6.1 (27 Aug 2011)
+
+ 27 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> +async-0.6.1.ebuild,
+ +files/async-0.6.1_libz_link.patch, +metadata.xml:
+ Initial commit
+
diff --git a/dev-python/async/async-0.6.1.ebuild b/dev-python/async/async-0.6.1.ebuild
new file mode 100644
index 000000000000..645cbfbf238b
--- /dev/null
+++ b/dev-python/async/async-0.6.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/async/async-0.6.1.ebuild,v 1.1 2011/08/27 20:11:03 neurogeek Exp $
+# Ebuild generated by g-pypi 0.1
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+#Tests fail randomly for Python2.7
+#DISTUTILS_SRC_TEST="nosetests"
+
+inherit eutils distutils
+
+DESCRIPTION="Async Framework"
+HOMEPAGE="http://gitorious.org/git-python/async
+ http://pypi.python.org/pypi/async"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="dev-python/setuptools
+ ${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3*"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${P}_libz_link.patch"
+}
diff --git a/dev-python/async/files/async-0.6.1_libz_link.patch b/dev-python/async/files/async-0.6.1_libz_link.patch
new file mode 100644
index 000000000000..a7031cfa93af
--- /dev/null
+++ b/dev-python/async/files/async-0.6.1_libz_link.patch
@@ -0,0 +1,14 @@
+#Patch by Jesus Rivero <neurogeek@gentoo.org>
+#Submitted to upstream Ago 26, 2011
+diff -uNr async-0.6.1.orig/setup.py async-0.6.1/setup.py
+--- async-0.6.1.orig/setup.py 2010-11-21 07:03:47.000000000 -0500
++++ async-0.6.1/setup.py 2011-08-26 16:51:57.000000000 -0400
+@@ -77,7 +77,7 @@
+ packages = ('async', 'async.mod', 'async.test', 'async.test.mod'),
+ package_data={'async' : ['AUTHORS', 'README']},
+ package_dir = {'async':''},
+- ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'])],
++ ext_modules=[Extension('async.mod.zlib', ['mod/zlibmodule.c'], libraries=['z'])],
+ license = "BSD License",
+ zip_safe=False,
+ long_description = """Async is a framework to process interdependent tasks in a pool of workers"""
diff --git a/dev-python/async/metadata.xml b/dev-python/async/metadata.xml
new file mode 100644
index 000000000000..301d2207cc29
--- /dev/null
+++ b/dev-python/async/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>