Blob Blame History Raw
Name:           python-ffc
Version:        2019.1.0.post0
%global fenics_version 2019.1
Release:        6%{?dist}
Summary:        Compiler for finite element variational forms

License:        LGPLv3+
Source2:        3083BE4C722232E28AD0828CBED06106DD22BAB3.gpg


BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)
BuildRequires:  python3dist(pytest)
BuildRequires:  python3dist(numpy)
BuildRequires:  python3dist(fenics-fiat) >= %{fenics_version}
BuildRequires:  python3dist(fenics-ufl) >= %{fenics_version}
BuildRequires:  python3dist(fenics-dijitso) >= %{fenics_version}
BuildRequires:  cmake
BuildRequires:  gnupg2
# Note: a copy of gtest is bundled and used for tests during build. It
# could be unbundled, but I don't think this is worth the trouble in
# this case.

%global _description %{expand:
The FEniCS Form Compiler FFC is a compiler for finite element
variational forms, translating high-level mathematical descriptions of
variational forms into efficient low-level C++ code for finite element

%description %_description

%package -n python3-ffc
Summary: %summary
%{?python_provides python3-ffc}

%description -n python3-ffc %_description

%{?gpgverify:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'}

%autosetup -n ffc-%{version} -p1

sed -r -i '1d' ffc/ ffc/



# uses libs/ffc-factory, which is currently ignored
%__python3 -m pytest -v test/ --ignore=test/unit/ufc/finite_element/

%files -n python3-ffc
%doc README.rst ChangeLog.rst AUTHORS
%doc demo

* Fri Jun 04 2021 Python Maint <> - 2019.1.0.post0-6
- Rebuilt for Python 3.10

* Tue Jan 26 2021 Zbigniew Jędrzejewski-Szmek <> - 2019.1.0.post0-5
- Fix compatibility with pytest-6 (#1902616)

* Wed Jul 29 2020 Fedora Release Engineering <> - 2019.1.0.post0-4
- Rebuilt for

* Tue May 26 2020 Miro Hrončok <> - 2019.1.0.post0-3
- Rebuilt for Python 3.9

* Thu Jan 30 2020 Fedora Release Engineering <> - 2019.1.0.post0-2
- Rebuilt for

* Tue Oct  8 2019 Zbigniew Jędrzejewski-Szmek <> - 2019.1.0.post0-1
- Initial packaging