From f953dc70343485250b836ad157649aaad47ac5bc Mon Sep 17 00:00:00 2001 From: root Date: Sun, 31 May 2026 17:23:40 -0500 Subject: Adding metadata --- dev-python/graph-tool/Manifest | 2 +- dev-python/graph-tool/graph-tool-2.75.ebuild | 84 ---------------------------- dev-python/graph-tool/graph-tool-2.98.ebuild | 83 +++++++++++++++++++++++++++ dev-python/graph-tool/graph-tool-9999.ebuild | 3 +- dev-python/graph-tool/metadata.xml | 2 +- 5 files changed, 86 insertions(+), 88 deletions(-) delete mode 100644 dev-python/graph-tool/graph-tool-2.75.ebuild create mode 100644 dev-python/graph-tool/graph-tool-2.98.ebuild (limited to 'dev-python/graph-tool') diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index 0eec27d626eb..793733be5f24 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1 +1 @@ -DIST graph-tool-2.75.tar.xz 15001276 BLAKE2B f329d87becfdee08aafc74ad29f496c1ea973a31d84e6e120056808d9d829cdb79db247991d83461635f06451f68197d7bb815f64ca375a5b0775dac74831d01 SHA512 cb9c0a677bb8dda7dcc56b271f5865675d02509b273fa665c5c84664d645d1b90d015e2a16571bc194fc0583036f3142c5e5e359c815bf13ae882ce6862644fc +DIST graph-tool-2.98.tar.xz 15251892 BLAKE2B 8e014ad03a8ef980195889b7ad88f815221b09b9b996b858fe7211c68f65ce695f86c56fee74eced31de91b9e4572532002e6b39e268f3a9b02ec7af1775a983 SHA512 df324a0ad8aee065a0cfcef00f06127f87b9a9a9bb4f06e7957148fd67c58b5c03cf587cb82f49eea41a7580310509b2ebc482e202a483c6ac7ca97ffa41745e diff --git a/dev-python/graph-tool/graph-tool-2.75.ebuild b/dev-python/graph-tool/graph-tool-2.75.ebuild deleted file mode 100644 index 137fffe19011..000000000000 --- a/dev-python/graph-tool/graph-tool-2.75.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) - -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.xz" - 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-2.98.ebuild b/dev-python/graph-tool/graph-tool-2.98.ebuild new file mode 100644 index 000000000000..64a83a71259f --- /dev/null +++ b/dev-python/graph-tool/graph-tool-2.98.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) + +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.xz" + 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 \ + $(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 7967361dfc71..cc59b5804ab4 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_{10..14} ) +PYTHON_COMPAT=( python3_{12..14} ) inherit check-reqs python-r1 toolchain-funcs @@ -61,7 +61,6 @@ src_prepare() { src_configure() { my_configure() { econf \ - --disable-static \ $(use_enable openmp) \ $(use_enable cairo) \ --with-boost-python="boost_${EPYTHON/./}" diff --git a/dev-python/graph-tool/metadata.xml b/dev-python/graph-tool/metadata.xml index 8661d8b27fba..4f9491b5d577 100644 --- a/dev-python/graph-tool/metadata.xml +++ b/dev-python/graph-tool/metadata.xml @@ -6,5 +6,5 @@ David Seifert - gentoo-staging + liguros-repo \ No newline at end of file -- cgit v1.3