mgorny      14/12/25 12:44:52

  Modified:             ChangeLog
  Added:                pygtkhelpers-0.4.3-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.8                  dev-python/pygtkhelpers/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?rev=1.8&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?rev=1.8&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog   5 Apr 2013 21:49:30 -0000       1.7
+++ ChangeLog   25 Dec 2014 12:44:52 -0000      1.8
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pygtkhelpers
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v 1.7 
2013/04/05 21:49:30 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v 1.8 
2014/12/25 12:44:52 mgorny Exp $
+
+*pygtkhelpers-0.4.3-r1 (25 Dec 2014)
+
+  25 Dec 2014; Michał Górny <[email protected]> +pygtkhelpers-0.4.3-r1.ebuild:
+  Convert to distutils-r1.
 
   05 Apr 2013; Agostino Sarubbo <[email protected]> pygtkhelpers-0.4.3.ebuild:
   Stable for x86, wrt bug #457898



1.1                  dev-python/pygtkhelpers/pygtkhelpers-0.4.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: pygtkhelpers-0.4.3-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3-r1.ebuild,v 
1.1 2014/12/25 12:44:52 mgorny Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="PyGTKHelpers is a library to assist the building of PyGTK 
applications"
HOMEPAGE="http://packages.python.org/pygtkhelpers/ 
http://pypi.python.org/pypi/pygtkhelpers";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="doc examples"

RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx )"

python_prepare_all() {
        # docs/_static/scope.jpg does not exist.
        sed -e "s/^\(html_logo =.*\)/#\1/" -i docs/conf.py || die "sed failed"

        distutils-r1_python_prepare_all
}

python_compile_all() {
        if use doc; then
                esetup.py build_sphinx
        fi
}

python_install_all() {
        distutils-r1_python_install_all

        if use doc; then
                cd "${BUILD_DIR}"/sphinx/html || die
                docinto html
                dodoc -r [a-z]* _images _static
                cd - >/dev/null || die
        fi

        if use examples; then
                docinto examples
                dodoc -r examples/.
        fi
}




Reply via email to