net-misc/orbited: use #!/sbin/openrc-run instead of #!/sbin/runscript
authorAustin English <wizardedit@gentoo.org>
Wed, 4 May 2016 00:29:27 +0000 (19:29 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 4 May 2016 00:29:27 +0000 (19:29 -0500)
Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

net-misc/orbited/files/orbited.init
net-misc/orbited/orbited-0.7.10-r3.ebuild [new file with mode: 0644]

index 28a9a6c03aed6061a7a72249eac5988dee786d71..ce45f0c1a3fd0087e2bb083fb6c4d7565d77771a 100644 (file)
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
diff --git a/net-misc/orbited/orbited-0.7.10-r3.ebuild b/net-misc/orbited/orbited-0.7.10-r3.ebuild
new file mode 100644 (file)
index 0000000..2a70d9c
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Real-time communication for the browser."
+HOMEPAGE="http://orbited.org"
+SRC_URI="mirror://pypi/o/${PN}/${P}.tar.gz"
+
+LICENSE="MIT GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/demjson[${PYTHON_USEDEP}]
+       >=dev-python/morbid-0.8.4[${PYTHON_USEDEP}]
+       dev-python/stomper[${PYTHON_USEDEP}]
+       dev-python/twisted-core[${PYTHON_USEDEP}]
+       dev-python/twisted-web[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+}
+
+src_install() {
+       distutils-r1_src_install
+       insinto /etc
+       doins "${FILESDIR}/orbited.cfg"
+       newinitd "${FILESDIR}/orbited.init" orbited
+}