/[gentoo-x86]/app-portage/gentoopm/gentoopm-0.2.5-r1.ebuild
Gentoo

Contents of /app-portage/gentoopm/gentoopm-0.2.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Oct 14 22:21:57 2012 UTC (7 months, 1 week ago) by ferringb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Restore pkgcore support, while removing daft blockers.  Bug #438392.

(Portage version: 2.1.11.23/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoopm/gentoopm-0.2.5-r1.ebuild,v 1.7 2012/10/05 21:12:57 mgorny Exp $
4
5 EAPI=4
6 PYTHON_COMPAT='python2_6 python2_7 python3_1 python3_2'
7
8 inherit base python-distutils-ng
9
10 DESCRIPTION="A common interface to Gentoo package managers"
11 HOMEPAGE="https://bitbucket.org/mgorny/gentoopm/"
12 SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
13
14 LICENSE="BSD-2"
15 SLOT="0"
16 KEYWORDS="amd64 ~mips x86 ~amd64-fbsd ~x86-fbsd"
17 IUSE="doc"
18
19 RDEPEND="|| ( >=sys-apps/portage-2.1.10.3
20 <=sys-apps/pkgcore-0.8
21 >=sys-apps/paludis-0.64.2[python-bindings] )
22 !>=sys-apps/pkgcore-0.8.1"
23 DEPEND="doc? ( dev-python/epydoc )"
24 PDEPEND="app-admin/eselect-package-manager"
25
26 python_prepare_all() {
27 base_src_prepare
28 }
29
30 src_compile() {
31 python-distutils-ng_src_compile
32
33 if use doc; then
34 "${PYTHON}" setup.py doc || die
35 fi
36 }
37
38 python_install_all() {
39 if use doc; then
40 dohtml -r doc/*
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.13