diff options
author | 2011-04-06 19:39:15 +0000 | |
---|---|---|
committer | 2011-04-06 19:39:15 +0000 | |
commit | 3ef61ed0bac35b3831858eb3c2a2779f4ed0636c (patch) | |
tree | 1c94b87d9f3be14bcc6a44a24c446f85dc2eb251 /dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild | |
parent | Version bump (diff) | |
download | historical-3ef61ed0bac35b3831858eb3c2a2779f4ed0636c.tar.gz historical-3ef61ed0bac35b3831858eb3c2a2779f4ed0636c.tar.bz2 historical-3ef61ed0bac35b3831858eb3c2a2779f4ed0636c.zip |
Use Python 2 (bug #329483).
Package-Manager: portage-2.2.0_alpha29_p10/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild')
-rw-r--r-- | dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild b/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild index b80e6893a743..918ce05664dc 100644 --- a/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild +++ b/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitosis-gentoo/gitosis-gentoo-0.2_p20100721.ebuild,v 1.2 2011/04/06 19:39:15 arfrever Exp $ EAPI=3 +PYTHON_DEPEND="2" + inherit eutils distutils DESCRIPTION="gitosis -- software for hosting git repositories, Gentoo fork" @@ -25,17 +27,16 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" DOCS="example.conf gitweb.conf lighttpd-gitweb.conf TODO.rst" +PYTHON_MODNAME="gitosis" pkg_setup() { + python_set_active_version 2 + python_pkg_setup + enewgroup git enewuser git -1 /bin/sh /var/spool/gitosis git } -src_compile() { - pwd - distutils_src_compile -} - src_install() { distutils_src_install keepdir /var/spool/gitosis @@ -48,5 +49,6 @@ src_install() { #} pkg_postinst() { + distutils_pkg_postinst einfo "If you need to actually use gitosis, you must unlock the git user." } |