From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/pybind11/Manifest | 2 +- dev-python/pybind11/pybind11-2.9.2-r1.ebuild | 67 ++++++++++++++++++++++++++++ dev-python/pybind11/pybind11-2.9.2.ebuild | 58 ------------------------ 3 files changed, 68 insertions(+), 59 deletions(-) create mode 100644 dev-python/pybind11/pybind11-2.9.2-r1.ebuild delete mode 100644 dev-python/pybind11/pybind11-2.9.2.ebuild (limited to 'dev-python/pybind11') diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index efbbf4c5854a..8127af72213a 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,3 +1,3 @@ DIST pybind11-2.9.2.tar.gz 709521 BLAKE2B 76ae9c72faad805885eabbe4dadf1092fe814f04f2a8d834da035c7389dcc996c09a63149911aa7a5c0b70d2da9f7c32e94aaf1c941f13345e0aef40a5748dfc SHA512 c6c18e5f59873adb3692640ade26472abd257607e7bb9fd48cfd1949878811e83d6ac6eb8c8dd926622d52ca4f13e5e6a58e0abaaaa1fa814ee831ea2b515272 -EBUILD pybind11-2.9.2.ebuild 1116 BLAKE2B 8b5755a4cc0a8ef2026ecc06ce6224e5044aad8111e3b5c05e9af20ef0da3fc17ac188daabbb0d5b095c154c4270f2a4d4202fcf9e99124c090c9f2a34ce7c62 SHA512 27ffc7ceaf1a9251c4616bb96e50eedea22ec7b514350cd295aa0598015d90b1e378a63fd8ad4ba24303db951f924d3a9149c5797c4bcca602cb68472034150b +EBUILD pybind11-2.9.2-r1.ebuild 1230 BLAKE2B e64837a80f44d0e2f766fce42db1d5e2f1310e9ec83b6139b5f6c316ad5b7bb7b0d0ed495e5f91e2e12ef7c291321aea604af0c919d48b52aa57a6f3115413ae SHA512 102fd9df725323434138f8517de62e5accc4c5cece77f7c9d289d31eac19f6ebeff5b393f6b5a6b22bf4b3f7da81aa0ffefc219ef701995cf3e4a769a2df562a MISC metadata.xml 420 BLAKE2B 8a3480ac275b7e2893d696bf4fd0d70f41ea941fab9e24b19d8561c0efeee81024ba6fea0ab26333346f3c176d1a87b35229e31ecefc74de2e7614600a64013e SHA512 8140e933878a75968420deab189bab1decd030b5209baada2857a7659dc32980bbc46678c6612ef56e4b4f6b598579bb8227e6c7fd00fbde63a40eb13bccf86c diff --git a/dev-python/pybind11/pybind11-2.9.2-r1.ebuild b/dev-python/pybind11/pybind11-2.9.2-r1.ebuild new file mode 100644 index 000000000000..2d574fd4f591 --- /dev/null +++ b/dev-python/pybind11/pybind11-2.9.2-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake distutils-r1 + +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + >=dev-cpp/catch-2.13.5 + >=dev-libs/boost-1.56 + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + export PYBIND11_USE_CMAKE=1 + cmake_src_prepare + distutils-r1_python_prepare_all +} + +python_configure() { + local mycmakeargs=( + # disable forced lto + -DPYBIND11_LTO_CXX_FLAGS= + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=$(usex test) + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build check +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/pybind11/pybind11-2.9.2.ebuild b/dev-python/pybind11/pybind11-2.9.2.ebuild deleted file mode 100644 index 1eec1ea3b37c..000000000000 --- a/dev-python/pybind11/pybind11-2.9.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-cpp/eigen:3 -" -BDEPEND=" - test? ( - >=dev-cpp/catch-2.13.5 - >=dev-libs/boost-1.56 - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - cmake_src_prepare - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} -- cgit v1.2.3