/[gentoo-x86]/app-portage/flaggie/flaggie-0.2.ebuild
Gentoo

Contents of /app-portage/flaggie/flaggie-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Tue Aug 7 20:18:12 2012 UTC (2 years ago) by aballier
Branch: MAIN
Changes since 1.5: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 mgorny 1.1 # Distributed under the terms of the GNU General Public License v2
3 aballier 1.6 # $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-0.2.ebuild,v 1.5 2012/07/20 14:39:00 jer Exp $
4 mgorny 1.1
5     EAPI=4
6     PYTHON_DEPEND="2:2.6"
7     SUPPORT_PYTHON_ABIS=1
8     RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
9    
10     inherit base bash-completion-r1 distutils
11    
12     DESCRIPTION="A smart CLI mangler for package.* files"
13     HOMEPAGE="https://github.com/mgorny/flaggie/"
14     SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
15    
16     LICENSE="BSD"
17     SLOT="0"
18 aballier 1.6 KEYWORDS="amd64 ~arm ~hppa ~mips x86 ~amd64-fbsd ~x86-fbsd"
19 mgorny 1.1 IUSE=""
20    
21     RDEPEND=">=sys-apps/portage-2.1.8.3"
22    
23     src_prepare() {
24     base_src_prepare
25     distutils_src_prepare
26     }
27    
28     src_install() {
29     distutils_src_install
30    
31     newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN}
32     }
33    
34     pkg_postinst() {
35     distutils_pkg_postinst
36    
37     ewarn "Please denote that flaggie creates backups of your package.* files"
38     ewarn "before performing each change through appending a single '~'."
39     ewarn "If you'd like to keep your own backup of them, please use another"
40     ewarn "naming scheme (or even better some VCS)."
41     elog
42     elog "bash-completion support requires:"
43     elog " app-shells/gentoo-bashcomp"
44     has_version app-shells/gentoo-bashcomp && \
45     elog "(installed already)"
46     }

  ViewVC Help
Powered by ViewVC 1.1.20