/[gentoo-x86]/app-misc/yagtd/yagtd-0.3.4-r1.ebuild
Gentoo

Contents of /app-misc/yagtd/yagtd-0.3.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Dec 27 18:59:26 2014 UTC (3 years, 7 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Convert to distutils-r1.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/yagtd/yagtd-0.3.4.ebuild,v 1.5 2014/08/10 18:12:18 slyfox Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1
10
11 DESCRIPTION="CLI todo list manager based on the 'Getting Things Done' philosophy"
12 HOMEPAGE="https://gna.org/projects/yagtd/"
13 SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 src_prepare() {
21 #fix doc install location
22 sed -i -e "s:\/doc\/yagtd:\/doc\/${P}:g" setup.py || die
23
24 distutils-r1_src_prepare
25 }
26
27 python_install() {
28 distutils-r1_python_install
29 ln -s yagtd.py "${D}$(python_get_scriptdir)"/yagtd || die
30 }
31
32 src_install() {
33 distutils-r1_src_install
34 dosym yagtd.py /usr/bin/yagtd
35 }

  ViewVC Help
Powered by ViewVC 1.1.20