/[gentoo-x86]/dev-vcs/gitosis/gitosis-0.2_p20080626.ebuild
Gentoo

Contents of /dev-vcs/gitosis/gitosis-0.2_p20080626.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Jun 4 20:58:28 2012 UTC (22 months, 1 week ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
inherit user for enewgroup and enewuser

(Portage version: 2.2.0_alpha109_p6/cvs/Linux i686)

1 zmedico 1.4 # Copyright 1999-2012 Gentoo Foundation
2 arfrever 1.1 # Distributed under the terms of the GNU General Public License v2
3 zmedico 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitosis/gitosis-0.2_p20080626.ebuild,v 1.3 2011/04/06 19:27:19 arfrever Exp $
4 arfrever 1.3
5     EAPI="3"
6     PYTHON_DEPEND="2"
7 arfrever 1.1
8 zmedico 1.4 inherit eutils distutils user
9 arfrever 1.1
10     DESCRIPTION="gitosis -- software for hosting git repositories"
11     HOMEPAGE="http://eagain.net/gitweb/?p=gitosis.git;a=summary"
12     # This is a snapshot taken from the upstream gitweb.
13     MY_PV="20080626-72c754b2f03a139122dc4a3877b05704fa88f751"
14     MY_PN="${PN}.git"
15     MY_P="${MY_PN}-${MY_PV}"
16     SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
17     LICENSE="GPL-2"
18     SLOT="0"
19     KEYWORDS="~x86 ~amd64 ~ppc"
20     IUSE=""
21     DEPEND_GIT=">=dev-vcs/git-1.5.3.6"
22     DEPEND="${DEPEND_GIT}
23     >=dev-python/setuptools-0.6_rc5"
24     RDEPEND="${DEPEND}
25 arfrever 1.2 !dev-vcs/gitosis-gentoo"
26 arfrever 1.1
27     S=${WORKDIR}/gitosis
28    
29     DOCS="example.conf gitweb.conf lighttpd-gitweb.conf TODO.rst"
30    
31     pkg_setup() {
32 arfrever 1.3 python_set_active_version 2
33     python_pkg_setup
34    
35 arfrever 1.1 enewgroup git
36     enewuser git -1 /bin/sh /var/spool/gitosis git
37     }
38    
39     src_install() {
40     distutils_src_install
41     keepdir /var/spool/gitosis
42     fowners git:git /var/spool/gitosis
43     }
44    
45     # We should handle more of this, but it requires the input of an SSH public key
46     # from the user, and they may want to set up more configuration first.
47     #pkg_config() {
48     #}

  ViewVC Help
Powered by ViewVC 1.1.20