[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/vexcl/files/, dev-cpp/vexcl/

2021-10-04 Thread Alessandro Barbieri
commit: a2ef031cc8a1816402149922108ecf26f866e950
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Oct  4 08:17:53 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Mon Oct  4 08:18:23 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2ef031c

dev-cpp/vexcl: EAPI 8

Closes: https://bugs.gentoo.org/815889
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch  | 26 ++
 ...vexcl-1.4.2-r1.ebuild => vexcl-1.4.2-r2.ebuild} |  9 +---
 2 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch 
b/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch
new file mode 100644
index 0..e3fd08a16
--- /dev/null
+++ b/dev-cpp/vexcl/files/vexcl-1.4.2-include-map.patch
@@ -0,0 +1,26 @@
+From 555a838850c96ab838a299255157fbe4fd4df2ee Mon Sep 17 00:00:00 2001
+From: Denis Demidov 
+Date: Mon, 4 Oct 2021 10:46:03 +0300
+Subject: [PATCH] Missing  include in backend/{opencl/compute}/filter.hpp
+
+Fixes #290
+--- a/vexcl/backend/compute/filter.hpp
 b/vexcl/backend/compute/filter.hpp
+@@ -35,6 +35,7 @@ THE SOFTWARE.
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+--- a/vexcl/backend/opencl/filter.hpp
 b/vexcl/backend/opencl/filter.hpp
+@@ -35,6 +35,7 @@ THE SOFTWARE.
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ 

diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild
similarity index 92%
rename from dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
rename to dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild
index e246c3a57..2e9867736 100644
--- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.2-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DOCS_BUILDER="sphinx"
 DOCS_DEPEND="
@@ -9,7 +9,7 @@ DOCS_DEPEND="
dev-python/sphinx-bootstrap-theme
 "
 DOCS_DIR="docs"
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit cmake python-any-r1 docs
 
@@ -35,7 +35,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" )
+PATCHES=(
+   "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch"
+   "${FILESDIR}/${P}-include-map.patch"
+)
 REQUIRED_USE="
^^ ( ${IUSE_BACKEND//+/} )
 "



[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/vexcl/files/, dev-cpp/vexcl/

2021-05-13 Thread Alessandro Barbieri
commit: d288205bf81177e99b2e867052db04c774f800dd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 13 15:56:53 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu May 13 15:57:18 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d288205b

dev-cpp/vexcl: improve docs WIP

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch | 11 +++
 dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild | 11 +++
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch 
b/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch
new file mode 100644
index 0..405376cf9
--- /dev/null
+++ b/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch
@@ -0,0 +1,11 @@
+--- a/docs/conf.py
 b/docs/conf.py
+@@ -45,7 +45,7 @@
+ # Add any Sphinx extension module names here, as strings. They can be
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+ # ones.
+-extensions = ['breathe', 'sphinx.ext.mathjax',
++extensions = ['breathe', 'sphinx.ext.mathjax', 'sphinx.ext.autodoc',
+ 'matplotlib.sphinxext.plot_directive']
+ 
+ breathe_projects = {'VEXCL' : 'xml'}

diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
index a2599bbb7..b3c196c69 100644
--- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild
@@ -3,9 +3,11 @@
 
 EAPI=7
 
-#DOCS_AUTODOC=0
 DOCS_BUILDER="sphinx"
-DOCS_DEPEND="dev-python/sphinx-bootstrap-theme"
+DOCS_DEPEND="
+   dev-python/breathe
+   dev-python/sphinx-bootstrap-theme
+"
 DOCS_DIR="docs"
 PYTHON_COMPAT=( python3_{7..9} )
 
@@ -29,9 +31,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" )
+
 src_prepare() {
-   default
-   sed -e "s|git_version()|${PV}|g" -i docs/conf.py || die
+   sed -e "s|git_version()|\'${PV}\'|g" -i docs/conf.py || die
cmake_src_prepare
 }