mgorny 14/12/25 19:22:00
Modified: pyopencl-2014.1.ebuild pyopencl-9999.ebuild
ChangeLog
Log:
Add missing PYTHON_USEDEP. Port the changes to -9999.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key
EFB4464E!)
Revision Changes Path
1.3 dev-python/pyopencl/pyopencl-2014.1.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild?rev=1.3&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild?rev=1.3&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild?r1=1.2&r2=1.3
Index: pyopencl-2014.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pyopencl-2014.1.ebuild 25 Nov 2014 10:38:20 -0000 1.2
+++ pyopencl-2014.1.ebuild 25 Dec 2014 19:22:00 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild,v 1.2
2014/11/25 10:38:20 pacho Exp $
+# $Header:
/var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2014.1.ebuild,v 1.3
2014/12/25 19:22:00 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
@@ -16,7 +16,7 @@
KEYWORDS="~amd64 ~x86"
IUSE="examples opengl"
-RDEPEND=">=dev-libs/boost-1.48[python]
+RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
1.15 dev-python/pyopencl/pyopencl-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild?rev=1.15&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild?rev=1.15&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild?r1=1.14&r2=1.15
Index: pyopencl-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- pyopencl-9999.ebuild 19 Apr 2012 07:32:38 -0000 1.14
+++ pyopencl-9999.ebuild 25 Dec 2014 19:22:00 -0000 1.15
@@ -1,13 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild,v
1.14 2012/04/19 07:32:38 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-9999.ebuild,v
1.15 2014/12/25 19:22:00 mgorny Exp $
-EAPI="4"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
-inherit distutils git-2
+inherit distutils-r1 git-2
EGIT_REPO_URI="http://git.tiker.net/trees/pyopencl.git"
@@ -20,48 +18,32 @@
KEYWORDS=""
IUSE="examples opengl"
-RDEPEND=">=dev-libs/boost-1.48[python]
- dev-python/decorator
- dev-python/numpy
- dev-python/mako
- =dev-python/pytools-9999
+RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/mako[${PYTHON_USEDEP}]
+ >=dev-python/pytools-9999[${PYTHON_USEDEP}]
>=virtual/opencl-0-r1"
DEPEND="${RDEPEND}"
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
src_configure()
{
- configuration() {
- local myconf=()
-
- if use opengl; then
- myconf+=(--cl-enable-gl)
- fi
-
- "$(PYTHON)" configure.py \
- --boost-compiler=gcc \
- --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
- --no-use-shipped-boost \
- "${myconf[@]}"
- }
- python_execute_function -s configuration
-}
-
-src_install()
-{
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
+ local myconf=()
+ if use opengl; then
+ myconf+=(--cl-enable-gl)
fi
+
+ "${PYTHON}" configure.py \
+ --boost-compiler=gcc \
+ --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
+ --no-use-shipped-boost \
+ "${myconf[@]}"
}
-pkg_postinst()
-{
- distutils_pkg_postinst
+python_install_all() {
if use examples; then
- elog "Some of the examples provided by this package require
dev-python/matplotlib."
+ local EXAMPLES=( examples/. )
+ einfo "Some of the examples provided by this package require
dev-python/matplotlib."
fi
+ distutils-r1_python_install_all
}
1.28 dev-python/pyopencl/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.28&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.28&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?r1=1.27&r2=1.28
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ChangeLog 25 Nov 2014 10:38:20 -0000 1.27
+++ ChangeLog 25 Dec 2014 19:22:00 -0000 1.28
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyopencl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.27
2014/11/25 10:38:20 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.28
2014/12/25 19:22:00 mgorny Exp $
+
+ 25 Dec 2014; Michał Górny <[email protected]> pyopencl-2014.1.ebuild,
+ pyopencl-9999.ebuild:
+ Add missing PYTHON_USEDEP. Port the changes to -9999.
25 Nov 2014; Pacho Ramos <[email protected]> pyopencl-2014.1.ebuild:
Support python 3.4