Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/elivepatch-server/
Date: Tue, 24 Oct 2017 00:14:21
Message-Id: 1508803804.96c76d83f0c369ee8faf3927ff861a13bc353a87.gokturk@gentoo
1 commit: 96c76d83f0c369ee8faf3927ff861a13bc353a87
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 7 10:04:24 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 24 00:10:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c76d83
7
8 sys-apps/elivepatch-server: add live ebuild
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 .../elivepatch-server-9999.ebuild | 35 ++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/sys-apps/elivepatch-server/elivepatch-server-9999.ebuild b/sys-apps/elivepatch-server/elivepatch-server-9999.ebuild
16 new file mode 100644
17 index 00000000000..572a789c43c
18 --- /dev/null
19 +++ b/sys-apps/elivepatch-server/elivepatch-server-9999.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
27 +
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Live patch building server with RESTFul Api for elivepatch-client"
31 +HOMEPAGE="https://wiki.gentoo.org/wiki/Elivepatch"
32 +if [[ ${PV} == *9999 ]] ; then
33 + inherit git-r3
34 + EGIT_REPO_URI="https://github.com/aliceinwire/elivepatch-server.git"
35 +else
36 + SRC_URI="https://github.com/aliceinwire/elivepatch-server/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~amd64"
38 +fi
39 +
40 +LICENSE="GPL-2+"
41 +SLOT="0"
42 +
43 +RDEPEND="
44 + dev-python/werkzeug[${PYTHON_USEDEP}]
45 + dev-python/flask[${PYTHON_USEDEP}]
46 + dev-python/flask-restful[${PYTHON_USEDEP}]
47 + =sys-kernel/kpatch-9999"
48 +DEPEND="${RDEPEND}
49 + dev-python/setuptools[${PYTHON_USEDEP}]"
50 +
51 +python_install_all() {
52 + newinitd init/elivepatch.init ${PN}
53 + newconfd init/elivepatch.confd ${PN}
54 + distutils-r1_python_install_all
55 +}