From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apps/bitten: metadata.xml bitten-0.6.ebuild ChangeLog |
Date: | Mon, 27 Aug 2012 11:01:57 |
Message-Id: | 20120827110140.F30D5208E5@flycatcher.gentoo.org |
1 | xarthisius 12/08/27 11:01:40 |
2 | |
3 | Added: metadata.xml bitten-0.6.ebuild ChangeLog |
4 | Log: |
5 | Initial import, ebuild based on work of Nikolaj Sjujskij <sterkrig@×××××××.com>. Fixes bug #189378 by Ole Trenner <ogardiner.23444071@×××××××××.com> |
6 | |
7 | (Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 www-apps/bitten/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>python</herd> |
21 | <maintainer> |
22 | <email>xarthisius@g.o</email> |
23 | <name>Kacper Kowalik</name> |
24 | </maintainer> |
25 | <use> |
26 | <flag name='server'>Install master instance that integrates itself with Trac</flag> |
27 | </use> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | 1.1 www-apps/bitten/bitten-0.6.ebuild |
33 | |
34 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/bitten-0.6.ebuild?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/bitten-0.6.ebuild?rev=1.1&content-type=text/plain |
36 | |
37 | Index: bitten-0.6.ebuild |
38 | =================================================================== |
39 | # Copyright 1999-2012 Gentoo Foundation |
40 | # Distributed under the terms of the GNU General Public License v2 |
41 | # $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/bitten-0.6.ebuild,v 1.1 2012/08/27 11:01:40 xarthisius Exp $ |
42 | |
43 | EAPI=4 |
44 | |
45 | MY_PN=Bitten |
46 | MY_P=${MY_PN}-${PV} |
47 | |
48 | PYTHON_DEPEND="2" |
49 | SUPPORT_PYTHON_ABIS="1" |
50 | RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*" |
51 | DISTUTILS_SRC_TEST="setup.py" |
52 | |
53 | inherit distutils user |
54 | |
55 | DESCRIPTION="Continuous integration plugin for Trac" |
56 | HOMEPAGE="http://bitten.edgewall.org/" |
57 | SRC_URI="http://ftp.edgewall.com/pub/${PN}/${MY_P}.tar.gz" |
58 | |
59 | LICENSE="BSD Apache-2.0" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="server test" |
63 | |
64 | CDEPEND="dev-python/setuptools" |
65 | DEPEND="${CDEPEND} |
66 | test? ( dev-python/figleaf )" |
67 | RDEPEND="${CDEPEND} |
68 | server? ( www-apps/trac )" |
69 | |
70 | S=${WORKDIR}/${MY_P} |
71 | |
72 | pkg_setup() { |
73 | python_pkg_setup |
74 | DISTUTILS_GLOBAL_OPTIONS=("2.* $(use_with server master)") |
75 | enewgroup tracd |
76 | enewuser ${PN} -1 -1 -1 tracd |
77 | } |
78 | |
79 | src_install() { |
80 | distutils_src_install |
81 | newinitd "${FILESDIR}"/${PN}.initd ${PN} |
82 | newconfd "${FILESDIR}"/${PN}.confd ${PN} |
83 | } |
84 | |
85 | pkg_postinst() { |
86 | touch "${ROOT}"/var/log/${PN}.log |
87 | chown -f ${PN}:tracd "${ROOT}"/var/log/${PN}.log |
88 | } |
89 | |
90 | |
91 | |
92 | 1.1 www-apps/bitten/ChangeLog |
93 | |
94 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/ChangeLog?rev=1.1&view=markup |
95 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/bitten/ChangeLog?rev=1.1&content-type=text/plain |
96 | |
97 | Index: ChangeLog |
98 | =================================================================== |
99 | # ChangeLog for www-apps/bitten |
100 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
101 | # $Header: /var/cvsroot/gentoo-x86/www-apps/bitten/ChangeLog,v 1.1 2012/08/27 11:01:40 xarthisius Exp $ |
102 | |
103 | *bitten-0.6 (27 Aug 2012) |
104 | |
105 | 27 Aug 2012; Kacper Kowalik <xarthisius@g.o> +bitten-0.6.ebuild, |
106 | +files/bitten.confd, +files/bitten.initd, +metadata.xml: |
107 | Initial import, ebuild based on work of Nikolaj Sjujskij |
108 | <sterkrig@×××××××.com>. Fixes bug #189378 by Ole Trenner |
109 | <ogardiner.23444071@×××××××××.com> |