dev-zero    14/08/10 12:18:56

  Modified:             ChangeLog
  Added:                amara-2.0.0.ebuild
  Removed:              amara-2.0.0_alpha6.ebuild
                        amara-2.0.0_alpha6-r1.ebuild
  Log:
  Version bump, un-unbundle expat to fix bug #452962 (tests segfault). Disable 
tests since notoriously broken.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x1A5D023975B0583D!)

Revision  Changes    Path
1.7                  dev-python/amara/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/amara/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog   18 Jun 2013 07:07:23 -0000      1.6
+++ ChangeLog   10 Aug 2014 12:18:56 -0000      1.7
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/amara
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/amara/ChangeLog,v 1.6 2013/06/18 
07:07:23 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/amara/ChangeLog,v 1.7 2014/08/10 
12:18:56 dev-zero Exp $
+
+*amara-2.0.0 (10 Aug 2014)
+
+  10 Aug 2014; Tiziano Müller <dev-z...@gentoo.org> +amara-2.0.0.ebuild,
+  -amara-2.0.0_alpha6-r1.ebuild, -amara-2.0.0_alpha6.ebuild,
+  -files/2.0.0_alpha6-unbundle-expat.patch:
+  Version bump, un-unbundle expat to fix bug #452962 (tests segfault). Disable
+  tests since notoriously broken.
 
   18 Jun 2013; Tim Harder <radher...@gentoo.org> amara-2.0.0_alpha6-r1.ebuild:
   Drop python2_5 support to match versions supported by html5lib-1.0_beta1.



1.1                  dev-python/amara/amara-2.0.0.ebuild

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

Index: amara-2.0.0.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/amara/amara-2.0.0.ebuild,v 1.1 
2014/08/10 12:18:56 dev-zero Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='wide-unicode(+)'

inherit distutils-r1

MY_PN="Amara"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Library for XML processing in Python"
HOMEPAGE="http://wiki.xml3k.org/Amara2";
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"

RDEPEND="dev-python/html5lib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
        test? ( dev-python/nose[${PYTHON_USEDEP}] )"

S="${WORKDIR}/${MY_P}"

PATCHES=(
        "${FILESDIR}/2.0.0_alpha6-unbundle-python-libs.patch"
)

# Maintainter notes:
# * Bundles expat-2.0.0 but since it is patched we can not simply unbundle it.
#   Unbundling expat leads to a segfault, see bug #452962
# * Many tests still fail. Documentation suggests that they came from 
4suite/amara-1.x
#   and are not fully adapted to amara-2.x. Therefore disabling them.

RESTRICT="test"

python_test() {
        nosetests -w test -P --exe -v || die "Tests fail with ${EPYTHON}"
}

python_install_all() {
        distutils-r1_python_install_all

        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r demo
                docompress -x "${INSDESTTREE}"/demo
        fi
}




Reply via email to