diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/pybind11 | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/pybind11')
-rw-r--r-- | dev-python/pybind11/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pybind11/pybind11-2.6.0.ebuild | 62 | ||||
-rw-r--r-- | dev-python/pybind11/pybind11-2.6.1.ebuild | 62 |
3 files changed, 128 insertions, 0 deletions
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index cacfa60ad8e8..06ea894136b2 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,3 +1,7 @@ DIST pybind11-2.5.0.tar.gz 573769 BLAKE2B e46d99f873f8266efc577d3e0ab1e8a78784a45c35995bc3486501d627698e0fb10205008e8cb82c84e971f20cd02a6d2f08390f3a3041fff1a21c45f11b197f SHA512 7f3a9c71916749436898d1844ef6b112baf0817a386308b5df8dec2a912ef4b6a932b94965e98f227c49fa77312f131972a6039f23b84a3daf6442a8ab0be7c2 +DIST pybind11-2.6.0.tar.gz 631925 BLAKE2B 6b7872182f52e035f2a86f0f2ad70b084e62fc20d5aae4903c13ff824f80f3815845f3206d740d17ae471fd979eca117d9d4ee011f9f96c319ca808e6304b07f SHA512 6a3f407c136d827243c0043c794c654ca267a1a4e3b7e0e45cc7629e29193156b0744d85e45222fab284a9af82cf7fa2008fbd977d2b5a7b947c8a6581456caf +DIST pybind11-2.6.1.tar.gz 634179 BLAKE2B 33f057e88e45985a0475783b8931ec669a16efcad5d66ecb265744155e9941b2d618391a36bff1d8c1c2d74a7e0b41de50b26eae689215d4585542fbd4282cc1 SHA512 8730efec82eef8dc09a58ca3e3b28fca45880cef85d32aa5524a8fe64e23d5f6dff4ca1b48b3034a287199bd56f4db4d6806c5358bef66fde84ed0fbf80ec264 EBUILD pybind11-2.5.0.ebuild 1302 BLAKE2B 52c61ccc0c7de0eaaa6f39fa4e6496f72893e948d65bc84f3d544bac9d2d79c13843b4fbfefec6f61f106de4542056323bc2e7e9f4309530a99597d84623ac78 SHA512 9cdb6b256fd146d4d3113e57f8e944bb7e793609c27796c7bb9a5e2076620302413dfd1ed4138ae9ba5f70e7cbcea1f437c7a562f2a618e556cdae827f2b2fdc +EBUILD pybind11-2.6.0.ebuild 1284 BLAKE2B 7d753f38ebe4ebdb9a166eb0dd172b768b1fb7aff74f65c65129bd6d53ba455a50adc2de48a6dd32064eebf59c30368668f76799f657c389e7a564d2266089d9 SHA512 1a0922bb491a62c480f53d7b0ed34163c991b672aafc44e1a330afaaa7cbc0973eb3283b10c9daa7eefcf1af1d396120cf8a03a60080da652f3e2f09c2025db3 +EBUILD pybind11-2.6.1.ebuild 1284 BLAKE2B 7d753f38ebe4ebdb9a166eb0dd172b768b1fb7aff74f65c65129bd6d53ba455a50adc2de48a6dd32064eebf59c30368668f76799f657c389e7a564d2266089d9 SHA512 1a0922bb491a62c480f53d7b0ed34163c991b672aafc44e1a330afaaa7cbc0973eb3283b10c9daa7eefcf1af1d396120cf8a03a60080da652f3e2f09c2025db3 MISC metadata.xml 348 BLAKE2B 06ae224547d14422e51d6e07615adf51fee22afcde2391a4483a8e1937b932a4268f0b31b94d4df12bb06804101b0e6b51614f0ffcb601a4fa34616dcc939377 SHA512 02a7f6afd867bf9f7832a9c8b2d1470be6b1fd537ae8f9509143bb6acb3af75c1eefa38b330bad6aa5e2c37a1158b4b0260277c6307a9b97d144d6c3695a855b diff --git a/dev-python/pybind11/pybind11-2.6.0.ebuild b/dev-python/pybind11/pybind11-2.6.0.ebuild new file mode 100644 index 000000000000..ad41df44bfd7 --- /dev/null +++ b/dev-python/pybind11/pybind11-2.6.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} ) + +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="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" + +distutils_enable_sphinx docs \ + '<dev-python/sphinx-3' \ + dev-python/breathe \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + export PYBIND11_USE_CMAKE=1 + + # broken with scipy-1.4.1 + sed -i -e 's:test_sparse:_&:' tests/test_eigen.py || die + + 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.6.1.ebuild b/dev-python/pybind11/pybind11-2.6.1.ebuild new file mode 100644 index 000000000000..ad41df44bfd7 --- /dev/null +++ b/dev-python/pybind11/pybind11-2.6.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} ) + +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="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" + +distutils_enable_sphinx docs \ + '<dev-python/sphinx-3' \ + dev-python/breathe \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + export PYBIND11_USE_CMAKE=1 + + # broken with scipy-1.4.1 + sed -i -e 's:test_sparse:_&:' tests/test_eigen.py || die + + 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 +} |