idella4     14/12/30 12:31:18

  Modified:             ChangeLog
  Added:                guppy-0.1.10-r1.ebuild
  Removed:              guppy-0.1.9.ebuild guppy-0.1.10.ebuild
                        guppy-0.1.9-r2.ebuild
  Log:
  revbump; conversion -> distutils-r1, rm old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.20                 dev-python/guppy/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog   3 Jun 2013 16:55:35 -0000       1.19
+++ ChangeLog   30 Dec 2014 12:31:18 -0000      1.20
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/guppy
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.19 
2013/06/03 16:55:35 bicatali Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.20 
2014/12/30 12:31:18 idella4 Exp $
+
+*guppy-0.1.10-r1 (30 Dec 2014)
+
+  30 Dec 2014; Ian Delaney <[email protected]> +guppy-0.1.10-r1.ebuild,
+  -guppy-0.1.10.ebuild, -guppy-0.1.9-r2.ebuild, -guppy-0.1.9.ebuild:
+  revbump; conversion -> distutils-r1, rm old
 
   03 Jun 2013; Sébastien Fabbro <[email protected]> guppy-0.1.10.ebuild:
   Keyword amd64-linux and x86-linux



1.1                  dev-python/guppy/guppy-0.1.10-r1.ebuild

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

Index: guppy-0.1.10-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/guppy/guppy-0.1.10-r1.ebuild,v 
1.1 2014/12/30 12:31:18 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="Guppy-PE -- A Python Programming Environment"
HOMEPAGE="http://guppy-pe.sourceforge.net/ http://pypi.python.org/pypi/guppy";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"

DEPEND=""
RDEPEND=""

PATCHES=( "${FILESDIR}"/${PN}-0.1.9-rm_BrokenTests.patch )

python_prepare_all() {
        sed -e 's:_PyLong_AsScaledDouble:_PyLong_Frexp:' -i src/sets/bitset.c 
|| die
        distutils-r1_python_prepare_all
}

python_compile() {
        local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
        distutils-r1_python_compile
}

python_test() {
        "${PYTHON}" setup.py build install --home="${T}/test-${EPYTHON}" \
                || die "Installation of tests failed"
        pushd "${T}/test-${EPYTHON}/lib/python" > /dev/null
        "${PYTHON}" guppy/heapy/test/test_all.py ||  die "tests failed"
        popd > /dev/null
}

python_install_all() {
        # leave the html docs for install as the setup.py dictates but rm if 
set by IUSE doc
        if use doc; then
                local HTML_DOCS=( guppy/doc/. )
                find "${D}$(python_get_sitedir)" -name doc | xargs rm -rf
        fi
        distutils-r1_python_install_all
}




Reply via email to