summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 18:59:26 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 18:59:26 +0000
commit09923b068de2506bbf3532cac08d659dee96f4f3 (patch)
tree32288c3878286b9d8dcf9d228b18e69aebea4afc /app-misc/yagtd
parentConvert to distutils-r1. (diff)
downloadgentoo-2-09923b068de2506bbf3532cac08d659dee96f4f3.tar.gz
gentoo-2-09923b068de2506bbf3532cac08d659dee96f4f3.tar.bz2
gentoo-2-09923b068de2506bbf3532cac08d659dee96f4f3.zip
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-misc/yagtd')
-rw-r--r--app-misc/yagtd/ChangeLog7
-rw-r--r--app-misc/yagtd/yagtd-0.3.4-r1.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/app-misc/yagtd/ChangeLog b/app-misc/yagtd/ChangeLog
index 57a4ebfdc74c..e51016f90d42 100644
--- a/app-misc/yagtd/ChangeLog
+++ b/app-misc/yagtd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/yagtd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/yagtd/ChangeLog,v 1.14 2014/08/10 18:12:18 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/yagtd/ChangeLog,v 1.15 2014/12/27 18:59:26 mgorny Exp $
+
+*yagtd-0.3.4-r1 (27 Dec 2014)
+
+ 27 Dec 2014; Michał Górny <mgorny@gentoo.org> +yagtd-0.3.4-r1.ebuild:
+ Convert to distutils-r1.
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> yagtd-0.3.4.ebuild:
QA: drop trailing '.' from DESCRIPTION
diff --git a/app-misc/yagtd/yagtd-0.3.4-r1.ebuild b/app-misc/yagtd/yagtd-0.3.4-r1.ebuild
new file mode 100644
index 000000000000..ec0d30cafd45
--- /dev/null
+++ b/app-misc/yagtd/yagtd-0.3.4-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/yagtd/yagtd-0.3.4-r1.ebuild,v 1.1 2014/12/27 18:59:26 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="CLI todo list manager based on the 'Getting Things Done' philosophy"
+HOMEPAGE="https://gna.org/projects/yagtd/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ #fix doc install location
+ sed -i -e "s:\/doc\/yagtd:\/doc\/${P}:g" setup.py || die
+
+ distutils-r1_src_prepare
+}
+
+python_install() {
+ distutils-r1_python_install
+ ln -s yagtd.py "${D}$(python_get_scriptdir)"/yagtd || die
+}
+
+src_install() {
+ distutils-r1_src_install
+ dosym yagtd.py /usr/bin/yagtd
+}