summaryrefslogtreecommitdiff
path: root/dev-python/socketio-client
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/socketio-client
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/socketio-client')
-rw-r--r--dev-python/socketio-client/Manifest5
-rw-r--r--dev-python/socketio-client/metadata.xml15
-rw-r--r--dev-python/socketio-client/socketio-client-0.6.6.ebuild45
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/socketio-client/Manifest b/dev-python/socketio-client/Manifest
new file mode 100644
index 000000000000..0cee43e52049
--- /dev/null
+++ b/dev-python/socketio-client/Manifest
@@ -0,0 +1,5 @@
+DIST socketio-client-0.6.6.tar.gz 21829 SHA256 beac1c1e155ca87da805f20483926535a965509b541b422bdf60ba0676fb8aed SHA512 aa21d31bf9e9062578fc6892a7624ea41ef3437eff132ff3ef2829a589c0fd19953fc514ab05161a32d06578708fb7f41b2f636d3d60a2700094e676d72cee47 WHIRLPOOL 61ab1f68bb2ede21a78e5af2788be92c0078116d498a533dae5c80516e5f6cada8bf9427df855a48c788bc857771b720f97a5ce7cdacb2e3f5637e3c12f0a470
+EBUILD socketio-client-0.6.6.ebuild 1437 SHA256 4a8bd26f23a8e455d511df317cdf8c8c949b11d8a4b01a97e849108e11c13d73 SHA512 a17df64719cc84314b3aaba03e05e5760db126c055aea5eff280d155c13b5755fe95ad2a611b169726e07f648aaa29c04fcea3f7a796919f328cec30b47787bd WHIRLPOOL 2ad0eade5dd5a092c0800bc57e05751c75a57a1b92a8ce5560e162441840d0276cdbe01f8ad7f2db840cc998b68449b7f69c93883b46596bbb35dadedc8180e6
+MISC ChangeLog 3482 SHA256 1e7895eb577390243ba544dba01b8714fa45b54c97a1dcc85a54aa319dcaf3a4 SHA512 87c6f6b0e9e67fdd1f280eb5b88a2a5acb588a0da93dbe5f44012f22deb51310255fe80b3192f89652180921cd0b4d2c92d9dddacafc2e4e6d5b21785c8cf8a9 WHIRLPOOL e381fdeed7c3dda25e51b69d714462207b04cad0e1c6c15944dfa66da8e30d0b4c1bad4d5b31827a2b3278df74eda886fe96fe578828db53e880d06299427646
+MISC ChangeLog-2015 382 SHA256 036c8c09f1c134664eea29a59a80f1f8718986cdd274d70a7b0e251a2c308581 SHA512 48909f6f47c8677255458653bd3b34725a6ffd4b6546d323ad9ec8f2cb806e522097df9a0feafc5ea3de3f91fba052cfe167bf9485bb80cef6fd6da202d0e5ce WHIRLPOOL df51851f7487eb43bd8591a50baf16e68b7ba2bfc29cf1061ffb91219d4089c526a7274bae09c3d5aac245726b4d715b22655682443cd405c6e708dfd1c88022
+MISC metadata.xml 466 SHA256 172850afbef17058fde1c040b953c8956be61fc35936d04f743bb29ed9ef3f9f SHA512 a5d48ac121de3b0334d12ff4e472aa04be849f87f8ef39222a5a112674d36390d1ca69936d675cb7a42d11e73cdc5019540091ac64b727842d515b2c96b68c09 WHIRLPOOL f5148b57c39a9ae1528e4b004c5964e9af004c6c9cc0c55aa9e547c21e0dcdbe3545d269b1f712c1591317f2b2a130de8a18d35bb9bc1c9912cb6d628755af39
diff --git a/dev-python/socketio-client/metadata.xml b/dev-python/socketio-client/metadata.xml
new file mode 100644
index 000000000000..3d1c3fb2038d
--- /dev/null
+++ b/dev-python/socketio-client/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">socketIO-client</remote-id>
+ <remote-id type="github">invisibleroads/socketIO-client</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+<maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/socketio-client/socketio-client-0.6.6.ebuild b/dev-python/socketio-client/socketio-client-0.6.6.ebuild
new file mode 100644
index 000000000000..8907a3192734
--- /dev/null
+++ b/dev-python/socketio-client/socketio-client-0.6.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+MY_PN="socketIO-client"
+REPO_PN="socketIO_client"
+DESCRIPTION="A socket.io client library for Python"
+HOMEPAGE="https://github.com/invisibleroads/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${REPO_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/websocket-client[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ )"
+
+S="${WORKDIR}/${REPO_PN}-${PV}"
+
+python_test() {
+ # https://github.com/invisibleroads/socketIO-client/issues/90
+ # This runs the suite but has nill output to the screen
+ # The bug filed will hopefully yield a more conventional testsuite
+
+ # The import of SocketIO need be made with abs path to run the tests
+ sed -e 's:from .. import:from socketIO_client import:' \
+ -i ${REPO_PN}/tests/__init__.py || die
+
+ "${PYTHON}" ${REPO_PN}/tests/__init__.py || die "Tests failed under ${EPYTHON}"
+
+ # Return to original form for final install
+ sed -e 's:from socketIO_client import:from .. import:' \
+ -i ${REPO_PN}/tests/__init__.py || die
+}