mgorny      14/12/14 23:16:02

  Modified:             ChangeLog
  Added:                conkyforecast-2.24-r1.ebuild
  Log:
  Convert to distutils-r1.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.5                  app-admin/conkyforecast/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conkyforecast/ChangeLog?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conkyforecast/ChangeLog?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conkyforecast/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog   5 Jan 2012 15:54:39 -0000       1.4
+++ ChangeLog   14 Dec 2014 23:16:01 -0000      1.5
@@ -1,6 +1,11 @@
 # ChangeLog for app-admin/conkyforecast
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/ChangeLog,v 1.4 
2012/01/05 15:54:39 xmw Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/ChangeLog,v 1.5 
2014/12/14 23:16:01 mgorny Exp $
+
+*conkyforecast-2.24-r1 (14 Dec 2014)
+
+  14 Dec 2014; Michał Górny <[email protected]> +conkyforecast-2.24-r1.ebuild:
+  Convert to distutils-r1.
 
 *conkyforecast-2.24 (05 Jan 2012)
 
@@ -23,4 +28,3 @@
   +conkyforecast-2.12.ebuild, +metadata.xml:
   Initial commit for conkyforecast. Fixes bug #255948, thanks to Hans Meier
   for the report and Christopher Robin Elmersson for the initial ebuilds
-



1.1                  app-admin/conkyforecast/conkyforecast-2.24-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.24-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.24-r1.ebuild?rev=1.1&content-type=text/plain

Index: conkyforecast-2.24-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.24-r1.ebuild,v 
1.1 2014/12/14 23:16:01 mgorny Exp $

EAPI=5

# upstream broke setup.py to install into /usr/share...
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="Conky weather forecast script with support for language files"
HOMEPAGE="https://launchpad.net/~conky-companions";
SRC_URI="https://launchpad.net/~conky-companions/+archive/ppa/+files/${PN}_${PV}.tar.gz";

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="app-admin/conky"

S=${WORKDIR}/src

python_prepare_all() {
        sed -i -e "s:pythoncmd=.*$:pythoncmd=${EPYTHON}:" conkyForecast* || die

        distutils-r1_python_prepare_all
}

python_install() {
        distutils-r1_python_install

        python_optimize "${ED%/}"/usr/share/${PN}
}

pkg_postinst() {
        elog "You have to define a partner id and registration code for "
        elog "the weather.com xoap. You need to copy the template from"
        elog "/usr/share/conkyforecast/conkyForecast.config into you account"
        elog "as ~/.conkyForecast.config and edit the respective fields."
        elog
        elog "More details can be found in the README file."
}




Reply via email to