commit:     5f8f7ea2d5ebda253d8e678ebabec541de1e7e00
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 14:53:42 2016 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 14:53:42 2016 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=5f8f7ea2

dev-python/daemonocle: initial commit

 dev-python/daemonocle/Manifest                     |  1 +
 dev-python/daemonocle/daemonocle-1.0.1.ebuild      | 39 ++++++++++++++++++++++
 ...rompt-0.4.2.ebuild => http-prompt-0.6.0.ebuild} |  0
 ...{httpie-0.9.4-r1.ebuild => httpie-0.9.6.ebuild} |  0
 4 files changed, 40 insertions(+)

diff --git a/dev-python/daemonocle/Manifest b/dev-python/daemonocle/Manifest
new file mode 100644
index 0000000..7225f8e
--- /dev/null
+++ b/dev-python/daemonocle/Manifest
@@ -0,0 +1 @@
+DIST daemonocle-1.0.1.tar.gz 19373 SHA256 
25f51874c7a56e92901fc4f501d6e9ffffb88cbae36cdf19fd7aa8ecbdfd520e SHA512 
1e9cabfb2ad3b68e0bf8b3ef21d7510a7c26306dd0426b6634a7d5dd7996ffa02bdc67c472daddc1681646a3afd10aaccb7c057d6d727aa5793f30a6bac76f22
 WHIRLPOOL 
5acdb06cd65ff41bbf25caf62b3b689cad9d06f950d190224557ebf77c670ff89581da57fa8041bddbb19c020b934405cafce03e1d99f54bc2e204a167b35608

diff --git a/dev-python/daemonocle/daemonocle-1.0.1.ebuild 
b/dev-python/daemonocle/daemonocle-1.0.1.ebuild
new file mode 100644
index 0000000..4defe44
--- /dev/null
+++ b/dev-python/daemonocle/daemonocle-1.0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_5 )
+inherit distutils-r1
+
+DESCRIPTION="Python library for creating super fancy Unix daemons"
+HOMEPAGE="https://github.com/jnrbsn/daemonocle 
https://pypi.python.org/pypi/daemonocle";
+SRC_URI="https://github.com/jnrbsn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+# ^^ tarball on pypi is missing tests
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/click[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+       # disable test hanging in sandbox
+       sed -i \
+               -e 's|\(test_non_detached\)|disabled_\1|' \
+               -e 's|\(test_self_reload\)|disabled_\1|' \
+               -e 's|\(test_debug\)|disabled_\1|' \
+               -e 's|\(test_uncaught_exception\)|disabled_\1|' \
+               -e 's|\(test_unresponsive_reload\)|disabled_\1|' \
+               tests/test_{basics,cli,shutdown}.py || die
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       py.test -v tests || die
+}

diff --git a/net-misc/http-prompt/http-prompt-0.4.2.ebuild 
b/net-misc/http-prompt/http-prompt-0.6.0.ebuild
similarity index 100%
rename from net-misc/http-prompt/http-prompt-0.4.2.ebuild
rename to net-misc/http-prompt/http-prompt-0.6.0.ebuild

diff --git a/net-misc/httpie/httpie-0.9.4-r1.ebuild 
b/net-misc/httpie/httpie-0.9.6.ebuild
similarity index 100%
rename from net-misc/httpie/httpie-0.9.4-r1.ebuild
rename to net-misc/httpie/httpie-0.9.6.ebuild

Reply via email to