summaryrefslogtreecommitdiff
path: root/dev-vcs/gitosis-gentoo/gitosis-gentoo-9999.ebuild
blob: 901346a470213c370e08c291a661ff414ba19112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild,v 1.1 2010/07/21 15:47:28 robbat2 Exp $

EAPI=3
EGIT_REPO_URI="git://necoro.eu/others/gitosis.git"
inherit eutils distutils git

DESCRIPTION="gitosis -- software for hosting git repositories, Gentoo fork, Necoro fork"
HOMEPAGE="https://github.com/Necoro/gitosis"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE=""
DEPEND_GIT=">=dev-vcs/git-1.5.6.4"
DEPEND="${DEPEND_GIT}
		>=dev-python/setuptools-0.6_rc5"
RDEPEND="${DEPEND}
		!dev-vcs/gitosis"

S="${WORKDIR}/${MY_P}"

DOCS="example.conf gitweb.conf lighttpd-gitweb.conf TODO.rst"

pkg_setup() {
	enewgroup git
	enewuser git -1 /bin/sh /var/git git
}

src_install() {
	distutils_src_install
	keepdir /var/git/repositories
	fowners git:git /var/git/repositories
}