From bc4457d8e0e53a2e43c4254d08053ba9708663e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Jun 2023 01:14:49 +0100 Subject: gentoo auto-resync : 20:06:2023 - 01:14:49 --- dev-python/graph-tool/Manifest | 4 +- dev-python/graph-tool/graph-tool-2.56.ebuild | 84 ++++++++++++++++++++++++++++ dev-python/graph-tool/graph-tool-9999.ebuild | 2 +- 3 files changed, 88 insertions(+), 2 deletions(-) create mode 100644 dev-python/graph-tool/graph-tool-2.56.ebuild (limited to 'dev-python/graph-tool') diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index 5d4fd74574b4..482c7afc15e0 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1,4 +1,6 @@ DIST graph-tool-2.46.tar.bz2 15189665 BLAKE2B 85b80feb7019cbd37b4440f6caa97eee4b27e439b2dc865742849e1f4cba9f9090d193fba7de87c84062da4b3f60887e19ee5f33b127373151b7767dacfdd4ae SHA512 a06c2d9acd23a11ea1faf2507222c3c4bfc8973e4fd7185a407d785a43f7409e77ace7af02030106a1bd13ffd719c6c10f7ebb76579448fa9bddd38b9ff7fb2a +DIST graph-tool-2.56.tar.bz2 15194737 BLAKE2B d28c2056eeeedf37480c042f9b5bfc2fe1f7df35c8f7c69b7431afde9b22fa4b5a79f6e8c8a8d8e9cf48f6607d34472d57c757c32e2c6b8a6c5f7ced79349579 SHA512 4db3711a87067e98095cb2cf49a5a7edb45723ecd238de8b4ff4ca13c34133c5552a29f6b5100e5b8b10a15ec1cac4d0e31578374ed73261d1e18b90980eef1c EBUILD graph-tool-2.46.ebuild 1778 BLAKE2B f802f81f4c1c935b5f83d0c9dd7df567fc81b0e797363f001d42a1aab4d8822cac5304aad4775a49ee04a13341ed50b9522415759df6e84f22b374d930802483 SHA512 6e2a1aa0f3b347f405768c9c1e2b5080c255a9f626e7910e5eee04556001c39e08fc705a4ae0b25c4c621698e8e94610cb22a7aeeb5677d49994df0e5ad4d5c2 -EBUILD graph-tool-9999.ebuild 1778 BLAKE2B f802f81f4c1c935b5f83d0c9dd7df567fc81b0e797363f001d42a1aab4d8822cac5304aad4775a49ee04a13341ed50b9522415759df6e84f22b374d930802483 SHA512 6e2a1aa0f3b347f405768c9c1e2b5080c255a9f626e7910e5eee04556001c39e08fc705a4ae0b25c4c621698e8e94610cb22a7aeeb5677d49994df0e5ad4d5c2 +EBUILD graph-tool-2.56.ebuild 1779 BLAKE2B 315840f08af610ca504f6991bde321c330d6ccd33dfca56a75cf4a48b262054a2ed61260bf28b2b0e45211d943afd915a3cbeb3ac5725dfd9b77858e60681943 SHA512 146a006f916be5f9f234bb8e26fdca55df73d89956462d43f7afae45801bf99763915a1c9d89ca8164c20ed8ed770797029ec243994f24ce852ae20290550208 +EBUILD graph-tool-9999.ebuild 1779 BLAKE2B 315840f08af610ca504f6991bde321c330d6ccd33dfca56a75cf4a48b262054a2ed61260bf28b2b0e45211d943afd915a3cbeb3ac5725dfd9b77858e60681943 SHA512 146a006f916be5f9f234bb8e26fdca55df73d89956462d43f7afae45801bf99763915a1c9d89ca8164c20ed8ed770797029ec243994f24ce852ae20290550208 MISC metadata.xml 318 BLAKE2B f5a87067223b56a1c2f2a89278b2b7b8ab612a1575264999e40a3bb34853cf603a7a11546c7ff9aa4f253beeb09c2fd26abc8fda1c6f2de5bda35069e9f932bc SHA512 b3bf8fc36dd5ae8e8b773cf9a0670fa1c6a2ee3730c9f2980abf5823f52879c5ef87a357c25d025896bd75ced32ffcec82ecdb1f080babc4fe13d2a2b70624b1 diff --git a/dev-python/graph-tool/graph-tool-2.56.ebuild b/dev-python/graph-tool/graph-tool-2.56.ebuild new file mode 100644 index 000000000000..a856d2584fed --- /dev/null +++ b/dev-python/graph-tool/graph-tool-2.56.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit check-reqs python-r1 toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" + inherit autotools git-r3 +else + SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi + +DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs" +HOMEPAGE="https://graph-tool.skewed.de/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+cairo openmp" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/boost:=[context,python,${PYTHON_USEDEP}] + dev-libs/expat + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + sci-mathematics/cgal:= + dev-python/matplotlib[${PYTHON_USEDEP}] + cairo? ( + dev-cpp/cairomm:0 + dev-python/pycairo[${PYTHON_USEDEP}] + x11-libs/cairo[X] + )" +DEPEND="${RDEPEND} + dev-cpp/sparsehash" +BDEPEND="virtual/pkgconfig" + +# bug 453544 +CHECKREQS_DISK_BUILD="6G" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + check-reqs_pkg_pretend +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf + python_copy_sources +} + +src_configure() { + my_configure() { + econf \ + --disable-static \ + $(use_enable openmp) \ + $(use_enable cairo) \ + --with-boost-python="boost_${EPYTHON/./}" + } + python_foreach_impl run_in_build_dir my_configure +} + +src_compile() { + python_foreach_impl run_in_build_dir emake +} + +src_install() { + my_python_install() { + default + python_optimize + } + python_foreach_impl run_in_build_dir my_python_install + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild b/dev-python/graph-tool/graph-tool-9999.ebuild index 8908fe7983be..a856d2584fed 100644 --- a/dev-python/graph-tool/graph-tool-9999.ebuild +++ b/dev-python/graph-tool/graph-tool-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit check-reqs python-r1 toolchain-funcs -- cgit v1.2.3