dev-python/fenics-ffcx - 0.11.0 (phackerlay)

Search

Install

Install this version:

emerge -a =dev-python/fenics-ffcx-0.11.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/fenics-ffcx-0.11.0

Or alternatively:

emerge --autounmask-write -a =dev-python/fenics-ffcx-0.11.0

Package Information

Description:
Next generation FEniCS Form Compiler for finite element forms
Homepage:
https://github.com/FEniCS/ffcx
License:
LGPL-3 public-domain

Ebuild Details

Version EAPI Keywords Slot
0.11.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_EXT=1

inherit cmake distutils-r1

DESCRIPTION="Next generation FEniCS Form Compiler for finite element forms"
HOMEPAGE="
	https://github.com/FEniCS/ffcx
"
SRC_URI="https://github.com/FEniCS/ffcx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-3 public-domain"
SLOT="0"
KEYWORDS="~amd64"


RDEPEND="
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/cffi[${PYTHON_USEDEP}]
	=dev-python/fenics-basix-${PV::-2}*[${PYTHON_USEDEP}]
	=dev-python/fenics-ufl-2024.2*[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

S=${WORKDIR}/ffcx-${PV}
CMAKE_USE_DIR="${S}/cmake"

src_prepare() {
	cmake_src_prepare
	distutils-r1_src_prepare
}

src_configure () {
	distutils-r1_src_prepare
	cmake_src_configure
}

src_install() {
	cmake_src_install
	distutils-r1_src_install
}

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/numpy[]
	dev-python/cffi[]
	=dev-python/fenics-basix-0.11*[]
	=dev-python/fenics-ufl-2024.2*[]

Manifest for 0.11.0

Type File Size Source URLs
DIST fenics-ffcx-0.11.0.tar.gz 151505 bytes https://github.com/FEniCS/ffcx/archive/refs/tags/v0.11.0.tar.gz