Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/orbited/, net-misc/orbited/files/
Date: Wed, 04 May 2016 01:02:31
Message-Id: 1462321767.ed41380937d11362a7679bdadb6b6561f06955a6.wizardedit@gentoo
1 commit: ed41380937d11362a7679bdadb6b6561f06955a6
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:29:27 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:29:27 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed413809
7
8 net-misc/orbited: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-misc/orbited/files/orbited.init | 4 ++--
15 net-misc/orbited/orbited-0.7.10-r3.ebuild | 37 +++++++++++++++++++++++++++++++
16 2 files changed, 39 insertions(+), 2 deletions(-)
17
18 diff --git a/net-misc/orbited/files/orbited.init b/net-misc/orbited/files/orbited.init
19 index 28a9a6c..ce45f0c 100644
20 --- a/net-misc/orbited/files/orbited.init
21 +++ b/net-misc/orbited/files/orbited.init
22 @@ -1,5 +1,5 @@
23 -#!/sbin/runscript
24 -# Copyright 1999-2009 Gentoo Foundation
25 +#!/sbin/openrc-run
26 +# Copyright 1999-2016 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 # $Id$
29
30
31 diff --git a/net-misc/orbited/orbited-0.7.10-r3.ebuild b/net-misc/orbited/orbited-0.7.10-r3.ebuild
32 new file mode 100644
33 index 0000000..2a70d9c
34 --- /dev/null
35 +++ b/net-misc/orbited/orbited-0.7.10-r3.ebuild
36 @@ -0,0 +1,37 @@
37 +# Copyright 1999-2016 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +# $Id$
40 +
41 +EAPI=6
42 +PYTHON_COMPAT=( python2_7 )
43 +DISTUTILS_SINGLE_IMPL=1
44 +
45 +inherit distutils-r1
46 +
47 +DESCRIPTION="Real-time communication for the browser."
48 +HOMEPAGE="http://orbited.org"
49 +SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz"
50 +
51 +LICENSE="MIT GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE=""
55 +
56 +RDEPEND="dev-python/demjson[${PYTHON_USEDEP}]
57 + >=dev-python/morbid-0.8.4[${PYTHON_USEDEP}]
58 + dev-python/stomper[${PYTHON_USEDEP}]
59 + dev-python/twisted-core[${PYTHON_USEDEP}]
60 + dev-python/twisted-web[${PYTHON_USEDEP}]"
61 +DEPEND="${RDEPEND}
62 + dev-python/setuptools[${PYTHON_USEDEP}]"
63 +
64 +pkg_setup() {
65 + python-single-r1_pkg_setup
66 +}
67 +
68 +src_install() {
69 + distutils-r1_src_install
70 + insinto /etc
71 + doins "${FILESDIR}/orbited.cfg"
72 + newinitd "${FILESDIR}/orbited.init" orbited
73 +}