Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: net-misc/http-prompt/, dev-python/daemonocle/, net-misc/httpie/
Date: Wed, 12 Oct 2016 14:54:03
Message-Id: 1476284022.5f8f7ea2d5ebda253d8e678ebabec541de1e7e00.dev-zero@gentoo
1 commit: 5f8f7ea2d5ebda253d8e678ebabec541de1e7e00
2 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 12 14:53:42 2016 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 12 14:53:42 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=5f8f7ea2
7
8 dev-python/daemonocle: initial commit
9
10 dev-python/daemonocle/Manifest | 1 +
11 dev-python/daemonocle/daemonocle-1.0.1.ebuild | 39 ++++++++++++++++++++++
12 ...rompt-0.4.2.ebuild => http-prompt-0.6.0.ebuild} | 0
13 ...{httpie-0.9.4-r1.ebuild => httpie-0.9.6.ebuild} | 0
14 4 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/daemonocle/Manifest b/dev-python/daemonocle/Manifest
17 new file mode 100644
18 index 0000000..7225f8e
19 --- /dev/null
20 +++ b/dev-python/daemonocle/Manifest
21 @@ -0,0 +1 @@
22 +DIST daemonocle-1.0.1.tar.gz 19373 SHA256 25f51874c7a56e92901fc4f501d6e9ffffb88cbae36cdf19fd7aa8ecbdfd520e SHA512 1e9cabfb2ad3b68e0bf8b3ef21d7510a7c26306dd0426b6634a7d5dd7996ffa02bdc67c472daddc1681646a3afd10aaccb7c057d6d727aa5793f30a6bac76f22 WHIRLPOOL 5acdb06cd65ff41bbf25caf62b3b689cad9d06f950d190224557ebf77c670ff89581da57fa8041bddbb19c020b934405cafce03e1d99f54bc2e204a167b35608
23
24 diff --git a/dev-python/daemonocle/daemonocle-1.0.1.ebuild b/dev-python/daemonocle/daemonocle-1.0.1.ebuild
25 new file mode 100644
26 index 0000000..4defe44
27 --- /dev/null
28 +++ b/dev-python/daemonocle/daemonocle-1.0.1.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 python3_5 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python library for creating super fancy Unix daemons"
40 +HOMEPAGE="https://github.com/jnrbsn/daemonocle https://pypi.python.org/pypi/daemonocle"
41 +SRC_URI="https://github.com/jnrbsn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +# ^^ tarball on pypi is missing tests
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="test"
47 +
48 +RDEPEND="dev-python/click[${PYTHON_USEDEP}]
49 + dev-python/psutil[${PYTHON_USEDEP}]"
50 +DEPEND="${RDEPEND}
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
53 +
54 +python_prepare_all() {
55 + # disable test hanging in sandbox
56 + sed -i \
57 + -e 's|\(test_non_detached\)|disabled_\1|' \
58 + -e 's|\(test_self_reload\)|disabled_\1|' \
59 + -e 's|\(test_debug\)|disabled_\1|' \
60 + -e 's|\(test_uncaught_exception\)|disabled_\1|' \
61 + -e 's|\(test_unresponsive_reload\)|disabled_\1|' \
62 + tests/test_{basics,cli,shutdown}.py || die
63 + distutils-r1_python_prepare_all
64 +}
65 +
66 +python_test() {
67 + py.test -v tests || die
68 +}
69
70 diff --git a/net-misc/http-prompt/http-prompt-0.4.2.ebuild b/net-misc/http-prompt/http-prompt-0.6.0.ebuild
71 similarity index 100%
72 rename from net-misc/http-prompt/http-prompt-0.4.2.ebuild
73 rename to net-misc/http-prompt/http-prompt-0.6.0.ebuild
74
75 diff --git a/net-misc/httpie/httpie-0.9.4-r1.ebuild b/net-misc/httpie/httpie-0.9.6.ebuild
76 similarity index 100%
77 rename from net-misc/httpie/httpie-0.9.4-r1.ebuild
78 rename to net-misc/httpie/httpie-0.9.6.ebuild