Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312109
Collapse All | Expand All

(-)lodgeit.orig/lodgeit-0.3.ebuild (-6 / +4 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3.ebuild,v 1.3 2011/04/05 05:08:05 ulm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3.ebuild,v 1.3 2011/04/05 05:08:05 ulm Exp $
4
4
5
EAPI="2"
5
EAPI="3"
6
PYTHON_DEPEND="2"
7
inherit python
6
8
7
DESCRIPTION="Command-line interface to paste.pocoo.org"
9
DESCRIPTION="Command-line interface to paste.pocoo.org"
8
HOMEPAGE="http://paste.pocoo.org/"
10
HOMEPAGE="http://paste.pocoo.org/"
Lines 15-31 Link Here
15
SLOT="0"
17
SLOT="0"
16
KEYWORDS="amd64 x86"
18
KEYWORDS="amd64 x86"
17
IUSE="vim"
19
IUSE="vim"
18
19
RESTRICT="test"
20
RESTRICT="test"
20
21
21
DEPEND=""
22
DEPEND=""
22
RDEPEND="dev-lang/python
23
RDEPEND="dev-lang/python
23
	vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
24
	vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
24
25
25
src_unpack() {
26
	:
27
}
28
29
src_install() {
26
src_install() {
30
	dobin "${DISTDIR}/${P}.py"
27
	dobin "${DISTDIR}/${P}.py"
31
	dosym "/usr/bin/${P}.py" "/usr/bin/${PN}"
28
	dosym "/usr/bin/${P}.py" "/usr/bin/${PN}"
Lines 34-37 Link Here
34
		insinto /usr/share/vim/vimfiles/plugin
31
		insinto /usr/share/vim/vimfiles/plugin
35
		newins "${DISTDIR}/${P}.vim" "${PN}.vim"
32
		newins "${DISTDIR}/${P}.vim" "${PN}.vim"
36
	fi
33
	fi
34
	python_convert_shebangs 2 "${ED}"/usr/bin/lodgeit-0.3.py
37
}
35
}

Return to bug 312109