mgorny 15/01/01 23:43:25
Modified: pyplusplus-1.0.0-r1.ebuild
pyplusplus-1.0.0_p20131206.ebuild
pyplusplus-9999.ebuild ChangeLog
Removed: pyplusplus-1.0.0.ebuild
Log:
Avoid unnecessary doc-regen in the old version, remove the obsolete doc-regen
code in the new version. Add missing PYTHON_USEDEP. Fix running tests.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key
EFB4464E!)
Revision Changes Path
1.3 dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild?r1=1.2&r2=1.3
Index: pyplusplus-1.0.0-r1.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pyplusplus-1.0.0-r1.ebuild 27 Oct 2013 08:24:43 -0000 1.2
+++ pyplusplus-1.0.0-r1.ebuild 1 Jan 2015 23:43:25 -0000 1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v 1.2
2013/10/27 08:24:43 mgorny Exp $
+# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0-r1.ebuild,v 1.3
2015/01/01 23:43:25 mgorny Exp $
EAPI=5
@@ -17,20 +17,13 @@
KEYWORDS="~amd64 ~x86"
IUSE="doc examples +indexing"
-DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
- app-arch/unzip"
+DEPEND="app-arch/unzip"
RDEPEND="=dev-python/pygccxml-1.0.0[${PYTHON_USEDEP}]"
S=${WORKDIR}/Py++-${PV}
-python_compile_all() {
- if use doc; then
- esetup.py doc
- fi
-}
-
python_test() {
- "${PYTHON}" unittests/test_all.py
+ "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
1.3 dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild?r1=1.2&r2=1.3
Index: pyplusplus-1.0.0_p20131206.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pyplusplus-1.0.0_p20131206.ebuild 25 Feb 2014 01:56:52 -0000 1.2
+++ pyplusplus-1.0.0_p20131206.ebuild 1 Jan 2015 23:43:25 -0000 1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v
1.2 2014/02/25 01:56:52 heroxbd Exp $
+# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0_p20131206.ebuild,v
1.3 2015/01/01 23:43:25 mgorny Exp $
EAPI=5
@@ -22,27 +22,22 @@
LICENSE="freedist Boost-1.0"
SLOT="0"
-IUSE="doc examples numpy"
+IUSE="examples numpy"
-DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
- app-arch/unzip
- numpy? ( dev-python/numpy )"
+DEPEND="app-arch/unzip
+ numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
RDEPEND="dev-python/pygccxml[${PYTHON_USEDEP}]"
src_prepare() {
use numpy && epatch --binary
"${FILESDIR}"/${PN}-1.0.0_p20131206-numpy.patch
-}
-
-python_compile_all() {
- use doc && "$(PYTHON)" setup.py doc
+ distutils-r1_src_prepare
}
python_test() {
- "$(PYTHON)" unittests/test_all.py
+ "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
- use doc && local HTML_DOCS=( docs/documentation/apidocs/. )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
1.2 dev-python/pyplusplus/pyplusplus-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild?r1=1.1&r2=1.2
Index: pyplusplus-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pyplusplus-9999.ebuild 6 Dec 2013 13:35:53 -0000 1.1
+++ pyplusplus-9999.ebuild 1 Jan 2015 23:43:25 -0000 1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v 1.1
2013/12/06 13:35:53 heroxbd Exp $
+# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-9999.ebuild,v 1.2
2015/01/01 23:43:25 mgorny Exp $
EAPI=5
@@ -22,23 +22,17 @@
LICENSE="freedist Boost-1.0"
SLOT="0"
-IUSE="doc examples numpy"
+IUSE="examples numpy"
-DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
- app-arch/unzip
- numpy? ( dev-python/numpy )"
+DEPEND="app-arch/unzip
+ numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )"
RDEPEND="dev-python/pygccxml[${PYTHON_USEDEP}]"
-python_compile_all() {
- use doc && "$(PYTHON)" setup.py doc
-}
-
python_test() {
- "$(PYTHON)" unittests/test_all.py
+ "${PYTHON}" unittests/test_all.py || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
- use doc && local HTML_DOCS=( docs/documentation/apidocs/. )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
1.8 dev-python/pyplusplus/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?rev=1.8&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?rev=1.8&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/ChangeLog?r1=1.7&r2=1.8
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog 3 May 2014 02:02:06 -0000 1.7
+++ ChangeLog 1 Jan 2015 23:43:25 -0000 1.8
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyplusplus
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v 1.7
2014/05/03 02:02:06 heroxbd Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/ChangeLog,v 1.8
2015/01/01 23:43:25 mgorny Exp $
+
+ 01 Jan 2015; Michał Górny <[email protected]> -pyplusplus-1.0.0.ebuild,
+ pyplusplus-1.0.0-r1.ebuild, pyplusplus-1.0.0_p20131206.ebuild,
+ pyplusplus-9999.ebuild:
+ Avoid unnecessary doc-regen in the old version, remove the obsolete doc-regen
+ code in the new version. Add missing PYTHON_USEDEP. Fix running tests.
03 May 2014; Benda Xu <[email protected]>
files/pyplusplus-1.0.0_p20131206-numpy.patch: