aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <della5@iinet.com.au>2012-05-13 00:05:59 +0800
committerIan Delaney <della5@iinet.com.au>2012-05-13 00:05:59 +0800
commiteb98893d5e00696be2b1544669de364d4b977883 (patch)
tree3bb91655427e44e69f0a1ecbb14426caf4d1c17a
parent[dev-python] revised greenlet-0.3.4.ebuild, rm authres, update requested-pack... (diff)
downloadimprovise-eb98893d5e00696be2b1544669de364d4b977883.tar.gz
improvise-eb98893d5e00696be2b1544669de364d4b977883.tar.bz2
improvise-eb98893d5e00696be2b1544669de364d4b977883.zip
[dev-python/gevent] new ebuild
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--dev-python/gevent/Manifest1
-rw-r--r--dev-python/gevent/gevent-0.13.7.ebuild34
-rw-r--r--dev-python/gevent/metadata.xml10
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
new file mode 100644
index 0000000..0678ff5
--- /dev/null
+++ b/dev-python/gevent/Manifest
@@ -0,0 +1 @@
+DIST gevent-0.13.7.tar.gz 288284 SHA256 0754f141d2889fa861918eb75482b9572763bd661479bbfc73a8c250f4eab6c5 SHA512 e53d1cea049519f4696a988625ddcd42bf935af7ca2644baeaca37f315665b5950ddb119ff9143f02db6907b6b562c42dbce73e247816ca57405334da369a36a WHIRLPOOL f79db3d07e054be2b93b27736bfbdc0867af1173608192a2db59ec1478de8d2a9099394f47926b14aee4aef29f0ae31edcddfab3d52ae7db7157a07bf5eca6f5
diff --git a/dev-python/gevent/gevent-0.13.7.ebuild b/dev-python/gevent/gevent-0.13.7.ebuild
new file mode 100644
index 0000000..837a0cc
--- /dev/null
+++ b/dev-python/gevent/gevent-0.13.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
+
+inherit distutils
+
+DESCRIPTION="A Python networking library that uses greenlet to provide synchronous API"
+HOMEPAGE="http://pypi.python.org/pypi/gevent/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64"
+IUSE=""
+LICENSE="MIT"
+SLOT="0"
+
+REDEPEND="dev-python/greenlet"
+DEPEND="${REDEPEND} dev-python/setuptools"
+
+# More dev friendly notes; This is the ONLY form that works. testrunner.py is made using unittest
+# && is designed to be run and import files from the greentest directory.
+src_test() {
+ testing() {
+ PYTHONPATH=${S}/$(ls -d ./build-$(python_get_version)/lib.linux*-${PYTHON_ABI}):${S}/greentest
+ pushd greentest > /dev/null
+ $(PYTHON) -d -m testrunner
+ popd > /dev/null
+ }
+ python_execute_function testing
+}
diff --git a/dev-python/gevent/metadata.xml b/dev-python/gevent/metadata.xml
new file mode 100644
index 0000000..d02cc23
--- /dev/null
+++ b/dev-python/gevent/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer><email>tampakrap@gentoo.org</email></maintainer>
+ <maintainer>
+ <email>della5@iinet.com.au</email>
+ <name>Ian Delaney aka idella4 proxy maintainer</name>
+ </maintainer>
+</pkgmetadata>