diff --git a/multimedia/misc/pybind11/actions.py b/multimedia/misc/pybind11/actions.py index 1db063b5e7..8d684a620d 100644 --- a/multimedia/misc/pybind11/actions.py +++ b/multimedia/misc/pybind11/actions.py @@ -1,20 +1,24 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import cmaketools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import pythonmodules, cmaketools + +j = ''.join([ + ' -DPYBIND11_FINDPYTHON=ON', + ' -DUSE_PYTHON_INCLUDE_DIR=OFF', + ' -B_build -L ' + ]) def setup(): - cmaketools.configure() + cmaketools.configure(j) def build(): - cmaketools.make() + cmaketools.make("-C _build") + pythonmodules.compile(pyVer = "3") def install(): - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - - pisitools.dodoc("LICENSE") + cmaketools.install("-C _build") + pythonmodules.install(pyVer = "3") diff --git a/multimedia/misc/pybind11/pspec.xml b/multimedia/misc/pybind11/pspec.xml index 2039ef52df..8f318ffbb0 100644 --- a/multimedia/misc/pybind11/pspec.xml +++ b/multimedia/misc/pybind11/pspec.xml @@ -1,5 +1,5 @@ - + pybind11 @@ -12,33 +12,50 @@ app Seamless operability between C++11 and Python Seamless operability between C++11 and Python - https://github.com/pybind/pybind11/archive/v2.6.2.tar.gz + + + https://github.com/pybind/pybind11/archive/refs/tags/v2.10.3.tar.gz + cmake boost-devel python3-devel + + python3-setuptools - python3-pytest + python3-importlib_metadata - - --> pybind11 + - /usr/include - /usr/share + /usr/include/pybind11 + /usr/share/cmake/pybind11 + /usr/share/pkgconfig/pybind11.pc + /usr/bin/pybind11-config + /usr/lib/python3.9/site-packages/pybind11/include + /usr/lib/python3.9 + /usr/lib/python3.9/site-packages/pybind11/share/cmake + /usr/lib/python3.9/site-packages/pybind11/share/pkgconfig + /usr/share/doc/pybind11 + + 2023-01-26 + 2.10.3 + Version bump. + fury + uglyside@yandex.ru + 2021-03-10 2.6.2