/[gentoo-x86]/sys-apps/pkgcore/pkgcore-0.7.7.8-r1.ebuild
Gentoo

Contents of /sys-apps/pkgcore/pkgcore-0.7.7.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 5 05:49:06 2012 UTC (10 months, 2 weeks ago) by ferringb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
pkgcore 0.8; boatload of functionality, and a heavily delayed core fetch fix

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-0.7.7.8-r1.ebuild,v 1.1 2012/04/11 19:44:50 ferringb Exp $
4
5 EAPI="3"
6 DISTUTILS_SRC_TEST="setup.py"
7
8 inherit distutils eutils
9
10 DESCRIPTION="pkgcore package manager"
11 HOMEPAGE="http://pkgcore.googlecode.com/"
12 SRC_URI="http://pkgcore.googlecode.com/files/${P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
17 IUSE="-doc build"
18
19 RDEPEND=">=dev-lang/python-2.4
20 >=dev-python/snakeoil-0.4.5
21 || ( >=dev-lang/python-2.5 dev-python/pycrypto )"
22 DEPEND="${RDEPEND}
23 doc? ( dev-python/sphinx dev-python/pyparsing )"
24
25 DOCS="AUTHORS NEWS"
26
27 pkg_setup() {
28 # disable snakeoil 2to3 caching...
29 unset PY2TO3_CACHEDIR
30 python_pkg_setup
31 }
32
33 src_prepare() {
34 epatch "${FILESDIR}/${PN}-${PV}"-fix-resolver-assert.patch
35 }
36
37 src_compile() {
38 distutils_src_compile
39
40 if use doc; then
41 python setup.py build_docs || die "doc building failed"
42 fi
43 }
44
45 src_install() {
46 distutils_src_install
47
48 if use doc; then
49 dohtml -r build/sphinx/html/*
50 fi
51 }
52
53 pkg_postinst() {
54 distutils_pkg_postinst
55 pplugincache
56 }

  ViewVC Help
Powered by ViewVC 1.1.20