diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-19 17:23:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-06-19 17:23:29 +0000 |
| commit | 83b8707385d7694dc45f12700377e7a9ab04317c (patch) | |
| tree | fce7c5d387947c7e85d611210b10cd505b6813b3 /dev-python | |
| parent | c06afb0c2e4eabc136bee395d65ae7d915020179 (diff) | |
| download | baldeagleos-repo-83b8707385d7694dc45f12700377e7a9ab04317c.tar.gz baldeagleos-repo-83b8707385d7694dc45f12700377e7a9ab04317c.tar.xz baldeagleos-repo-83b8707385d7694dc45f12700377e7a9ab04317c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/graph-tool/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/graph-tool/graph-tool-2.45.ebuild | 84 | ||||
| -rw-r--r-- | dev-python/pyeclib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyeclib/pyeclib-1.6.0-r1.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild (renamed from dev-python/pyfuse3/pyfuse3-3.2.1.ebuild) | 7 |
5 files changed, 92 insertions, 38 deletions
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest index 48975bee706b..1bf7d9244918 100644 --- a/dev-python/graph-tool/Manifest +++ b/dev-python/graph-tool/Manifest @@ -1 +1,2 @@ DIST graph-tool-2.44.tar.bz2 15149379 BLAKE2B d15413f4e8642b96f62d88631c216e600e24aa878b08a173f1a00f1700aa3c6f4b1b3f806956b811b209a2d42ec1178e2488946d96f056f528a046cbd6cc330a SHA512 b90dc541ec77f89fdbb64697ec5e200d9c7c4ec4b8849c75d008b83dab8f54c95bd230f5d72e32d656f86a201ab66eee25aa774b7983355f7af9304b52527e40 +DIST graph-tool-2.45.tar.bz2 15156784 BLAKE2B b9086e5545ace668f703bf06363a382fab734a63d5684d44b62407a06a0464df6a4a9c8c7ccd26e53118c1d24469ed2eb4670939dc0889fafe2f73a2c176101b SHA512 46a4a3a22033c74c69e0ba5ce8f0856d2f35934d52850ef4a542384c8fd327daf56341675a3299a8db87d4a227b5583f0564f8917ecf28081cb1dd4091563490 diff --git a/dev-python/graph-tool/graph-tool-2.45.ebuild b/dev-python/graph-tool/graph-tool-2.45.ebuild new file mode 100644 index 000000000000..e30e2dbde51b --- /dev/null +++ b/dev-python/graph-tool/graph-tool-2.45.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,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}] + 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/pyeclib/Manifest b/dev-python/pyeclib/Manifest index 93330e19229d..b8bb78a8c226 100644 --- a/dev-python/pyeclib/Manifest +++ b/dev-python/pyeclib/Manifest @@ -1,2 +1 @@ -DIST pyeclib-1.6.0.tar.gz 6685306 BLAKE2B 0b758bd500afc7f9d8e38513cc41f1916413d8ad6f3b1bd34d9ff46d6d33321391eaf90164e412154a14d63d4ba61502457bb943e124dd7054a5d5ec20732294 SHA512 507f78388e941e4600f4b77f636ce27b7f63e635f108dd5a452b3f98f779e87d94d8f82239d9d5733846faa5cc574c0474e366d99e44b8f03b70707d352f56c8 DIST pyeclib-1.6.1.tar.gz 6690168 BLAKE2B 4e59c2827487f09a21f49751455fabd9ce672d6edb83befbc06e7aebe66c2f8de5f83a5ddec612fee2ac727fad247d66f36c659ebdf316759cd9e4438c7f085c SHA512 fdb855551e9695c3748d78d43bc306e536ef45476143445520284d4918f2c84757247d217ada2df565d03b1769ef83ac8c82b92b8438c2d40915f8008fd769c4 diff --git a/dev-python/pyeclib/pyeclib-1.6.0-r1.ebuild b/dev-python/pyeclib/pyeclib-1.6.0-r1.ebuild deleted file mode 100644 index afbcf57ec2a9..000000000000 --- a/dev-python/pyeclib/pyeclib-1.6.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" -HOMEPAGE="https://pypi.org/project/PyECLib/" -SRC_URI="mirror://pypi/p/pyeclib/pyeclib-${PV}.tar.gz" -S="${WORKDIR}/pyeclib-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -DEPEND="dev-libs/liberasurecode" -RDEPEND="${DEPEND}" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # https://review.opendev.org/c/openstack/pyeclib/+/798010 - sed -e '/library_dirs/d' -i setup.py || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "jerasure backend" dev-libs/jerasure -} diff --git a/dev-python/pyfuse3/pyfuse3-3.2.1.ebuild b/dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild index 4ec29660fc64..47348fc722d9 100644 --- a/dev-python/pyfuse3/pyfuse3-3.2.1.ebuild +++ b/dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild @@ -30,3 +30,10 @@ BDEPEND="test? ( )" distutils_enable_tests pytest + +python_prepare_all() { + python_setup + # Shipped pre-generated .pyx do not work with Python 3.10. + esetup.py build_cython + distutils-r1_python_prepare_all +} |
