From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycairo: pycairo-1.8.10.ebuild ChangeLog
Date: Fri, 2 Jul 2010 23:49:24 +0000 (UTC) [thread overview]
Message-ID: <20100702234924.E1CBE2C621@corvid.gentoo.org> (raw)
arfrever 10/07/02 23:49:24
Modified: pycairo-1.8.10.ebuild ChangeLog
Log:
Fix tests (bug #326635).
(Portage version: HEAD/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-python/pycairo/pycairo-1.8.10.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild?r1=1.1&r2=1.2
Index: pycairo-1.8.10.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pycairo-1.8.10.ebuild 18 Jun 2010 17:53:28 -0000 1.1
+++ pycairo-1.8.10.ebuild 2 Jul 2010 23:49:24 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v 1.1 2010/06/18 17:53:28 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/pycairo-1.8.10.ebuild,v 1.2 2010/07/02 23:49:24 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
@@ -34,24 +34,37 @@
}
src_configure() {
- if use doc; then
- econf
- fi
-
if ! use svg; then
export PYCAIRO_DISABLE_SVG="1"
fi
}
+distutils_src_compile_post_hook() {
+ cp src/__init__.py "$(ls -d build-${PYTHON_ABI}/lib.*/cairo)" || die "Copying of src/__init__.py failed"
+}
+
src_compile() {
append-flags -fno-strict-aliasing
distutils_src_compile
if use doc; then
- emake html || die "emake html failed"
+ einfo "Generation of documentation"
+ pushd doc > /dev/null
+ sphinx-build -b html -d .build/doctrees . .build/html || die "Generation of documentation failed"
+ popd > /dev/null
fi
}
+src_test() {
+ # python_execute_py.test -P '$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)'
+
+ testing() {
+ echo PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)" py.test
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*):../../$(ls -d build-${PYTHON_ABI}/lib.*)" py.test
+ }
+ python_execute_function testing
+}
+
src_install() {
PKGCONFIG_DIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" distutils_src_install
1.86 dev-python/pycairo/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycairo/ChangeLog?r1=1.85&r2=1.86
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- ChangeLog 18 Jun 2010 17:53:28 -0000 1.85
+++ ChangeLog 2 Jul 2010 23:49:24 -0000 1.86
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycairo
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.85 2010/06/18 17:53:28 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycairo/ChangeLog,v 1.86 2010/07/02 23:49:24 arfrever Exp $
+
+ 02 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pycairo-1.8.10.ebuild:
+ Fix tests (bug #326635).
*pycairo-1.8.10 (18 Jun 2010)
next reply other threads:[~2010-07-02 23:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-02 23:49 Arfrever Frehtes Taifersar Arahesis (arfrever) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-18 20:11 [gentoo-commits] gentoo-x86 commit in dev-python/pycairo: pycairo-1.8.10.ebuild ChangeLog Jeroen Roovers (jer)
2010-10-18 19:01 Jeroen Roovers (jer)
2010-10-03 14:44 Raul Porcel (armin76)
2010-10-02 18:07 Fabian Groffen (grobian)
2010-09-26 21:26 Samuli Suominen (ssuominen)
2010-09-21 20:03 Markos Chandras (hwoarang)
2010-09-15 14:38 Christian Faulhammer (fauli)
2010-07-25 17:25 Tobias Klausmann (klausman)
2010-07-25 16:41 Tobias Klausmann (klausman)
2010-07-21 19:26 Markus Meier (maekke)
2010-07-09 2:53 Jeroen Roovers (jer)
2010-06-18 17:53 Arfrever Frehtes Taifersar Arahesis (arfrever)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100702234924.E1CBE2C621@corvid.gentoo.org \
--to=arfrever@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox