diff options
Diffstat (limited to 'dev-python/graph-tool')
-rw-r--r-- | dev-python/graph-tool/Manifest | 4 | ||||
-rw-r--r-- | dev-python/graph-tool/graph-tool-2.44.ebuild | 83 | ||||
-rw-r--r-- | dev-python/graph-tool/graph-tool-9999.ebuild | 2 |
3 files changed, 87 insertions, 2 deletions
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index 48ff5650df31..1376b688a5e6 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1,4 +1,6 @@ DIST graph-tool-2.43.tar.bz2 15170272 BLAKE2B 96570242cf2003c262024545a074bcd0f0cf9351b0c8c68035529d38d535411386d5440bb5166cfb70f24ba1540d9ce65324c659564f2ab50358dbd77bafed99 SHA512 e72dec9656acb2bb7ba43e19673fa4ff70ff4819e76bb5f00e9943e4cfe6a85f1e0eaa58c8be2921ebd783ef3d978294a347238f3700a457aaff8a98ea8ed4fc +DIST graph-tool-2.44.tar.bz2 15149379 BLAKE2B d15413f4e8642b96f62d88631c216e600e24aa878b08a173f1a00f1700aa3c6f4b1b3f806956b811b209a2d42ec1178e2488946d96f056f528a046cbd6cc330a SHA512 b90dc541ec77f89fdbb64697ec5e200d9c7c4ec4b8849c75d008b83dab8f54c95bd230f5d72e32d656f86a201ab66eee25aa774b7983355f7af9304b52527e40 EBUILD graph-tool-2.43.ebuild 1828 BLAKE2B 129b774dac80943f0b78f5931a99d14e973bf68fbc9021c0bb9dcf2c9e341f3dfc4265b9e2676688f4a0cb0943dc695aae92bbeef4f7c40c4e1a0088961384ea SHA512 a3d9b51f8bf4023ae67cbf06c912c1acea0dcfd760a05d48e8733755c0f9cb619a7f65d77799250346f94c6bd09357acc87b230efa459f0771c46223aad855db -EBUILD graph-tool-9999.ebuild 1765 BLAKE2B d6bed5ca6e70ec4abf95d1205fb26709b716dd086146b580a0bd4a3b5c3acc97d1a16184a41ae8de1ee43d45223f5875ef52c01ff95a76594029eab7525518ff SHA512 e56fbf37c71b68ff5593ff534c9cb8ebf153022152492498b81ba332fa88099600f58cfebe6acad77f83c45eac98e9067fa703d34a1e8e15375a552ba0662c48 +EBUILD graph-tool-2.44.ebuild 1765 BLAKE2B 0c5b4551e786534df3c7ecb0e6838fd9d72935c6136dad2867a77e3736b588617f4d2ec8ceb0c350511226a857d77eb1d4b3ea4f9828d05180d917e758012f74 SHA512 446b719bf4901da5db5adf2f781461868e8046f72e5a0a408c522f299b91ccdaab6547bcc8f5bad9ddeaa8e042abf1ce29da243605faebca2bf546b790b5a34f +EBUILD graph-tool-9999.ebuild 1765 BLAKE2B 0c5b4551e786534df3c7ecb0e6838fd9d72935c6136dad2867a77e3736b588617f4d2ec8ceb0c350511226a857d77eb1d4b3ea4f9828d05180d917e758012f74 SHA512 446b719bf4901da5db5adf2f781461868e8046f72e5a0a408c522f299b91ccdaab6547bcc8f5bad9ddeaa8e042abf1ce29da243605faebca2bf546b790b5a34f MISC metadata.xml 437 BLAKE2B da394a6ff65e5104c8cad22c123355d6cce752578627e74eaccdbb4ac11ef44c131f2133bc7fb9a35016e47b09dbf5a60a88d5ba25be0a7c6b131747aa85c310 SHA512 460b62839edfaba3f15bcc80aac5900258e243dda4bb85dc3a77492077bf1a09aa308458d40831bc5efd785f40c4a643a7b8360c36045e977102302c03d5877f diff --git a/dev-python/graph-tool/graph-tool-2.44.ebuild b/dev-python/graph-tool/graph-tool-2.44.ebuild new file mode 100644 index 000000000000..5078373af0e5 --- /dev/null +++ b/dev-python/graph-tool/graph-tool-2.44.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +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-1.70:=[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}] + )" +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 560f14da24f9..5078373af0e5 100644 --- a/dev-python/graph-tool/graph-tool-9999.ebuild +++ b/dev-python/graph-tool/graph-tool-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 |