|
 |
27163f2 |
Name: python-ffc
|
|
 |
27163f2 |
Version: 2019.1.0.post0
|
|
 |
27163f2 |
%global fenics_version 2019.1
|
|
 |
8f92f9a |
Release: 10%{?dist}
|
|
 |
27163f2 |
Summary: Compiler for finite element variational forms
|
|
 |
27163f2 |
|
|
 |
27163f2 |
License: LGPLv3+
|
|
 |
27163f2 |
URL: https://fenics-ffc.readthedocs.org/
|
|
 |
27163f2 |
Source0: https://bitbucket.org/fenics-project/ffc/downloads/ffc-%{version}.tar.gz
|
|
 |
27163f2 |
Source1: https://bitbucket.org/fenics-project/ffc/downloads/ffc-%{version}.tar.gz.asc
|
|
 |
27163f2 |
Source2: 3083BE4C722232E28AD0828CBED06106DD22BAB3.gpg
|
|
 |
27163f2 |
|
|
 |
89c7886 |
Patch0: https://bitbucket.org/fenics-project/ffc/commits/8d80c72468282e35fd5476b42c5c03595cd38e99/raw#/8d80c72468282e35fd5476b42c5c03595cd38e99.patch
|
|
 |
89c7886 |
|
|
 |
27163f2 |
BuildArch: noarch
|
|
 |
27163f2 |
BuildRequires: python3-devel
|
|
 |
47e3b47 |
BuildRequires: python3dist(setuptools)
|
|
 |
27163f2 |
BuildRequires: python3dist(pytest)
|
|
 |
27163f2 |
BuildRequires: python3dist(numpy)
|
|
 |
27163f2 |
BuildRequires: python3dist(fenics-fiat) >= %{fenics_version}
|
|
 |
27163f2 |
BuildRequires: python3dist(fenics-ufl) >= %{fenics_version}
|
|
 |
27163f2 |
BuildRequires: python3dist(fenics-dijitso) >= %{fenics_version}
|
|
 |
27163f2 |
BuildRequires: cmake
|
|
 |
27163f2 |
BuildRequires: gnupg2
|
|
 |
27163f2 |
# Note: a copy of gtest is bundled and used for tests during build. It
|
|
 |
27163f2 |
# could be unbundled, but I don't think this is worth the trouble in
|
|
 |
27163f2 |
# this case.
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%global _description %{expand:
|
|
 |
27163f2 |
The FEniCS Form Compiler FFC is a compiler for finite element
|
|
 |
27163f2 |
variational forms, translating high-level mathematical descriptions of
|
|
 |
27163f2 |
variational forms into efficient low-level C++ code for finite element
|
|
 |
27163f2 |
assembly.}
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%description %_description
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%package -n python3-ffc
|
|
 |
27163f2 |
Summary: %summary
|
|
 |
27163f2 |
%{?python_provides python3-ffc}
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%description -n python3-ffc %_description
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%prep
|
|
 |
27163f2 |
%{?gpgverify:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'}
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%autosetup -n ffc-%{version} -p1
|
|
 |
27163f2 |
|
|
 |
27163f2 |
sed -r -i '1d' ffc/__main__.py ffc/main.py
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%build
|
|
 |
27163f2 |
%py3_build
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%install
|
|
 |
27163f2 |
%py3_install
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%check
|
|
 |
27163f2 |
# test_evaluate.py uses libs/ffc-factory, which is currently ignored
|
|
 |
27163f2 |
%__python3 -m pytest -v test/ --ignore=test/unit/ufc/finite_element/test_evaluate.py
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%files -n python3-ffc
|
|
 |
27163f2 |
%license COPYING COPYING.LESSER
|
|
 |
27163f2 |
%doc README.rst ChangeLog.rst AUTHORS
|
|
 |
27163f2 |
%doc demo
|
|
 |
27163f2 |
/usr/bin/ffc
|
|
 |
27163f2 |
/usr/bin/ffc-3
|
|
 |
27163f2 |
%{python3_sitelib}/ffc
|
|
 |
27163f2 |
%{python3_sitelib}/fenics_ffc-%{version}-py%{python3_version}.egg-info/
|
|
 |
27163f2 |
%{_mandir}/man1/ffc.1*
|
|
 |
27163f2 |
|
|
 |
27163f2 |
%changelog
|
|
 |
8f92f9a |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.0.post0-10
|
|
 |
8f92f9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
8f92f9a |
|
|
 |
56c7e0c |
* Fri Jun 17 2022 Python Maint <python-maint@redhat.com> - 2019.1.0.post0-9
|
|
 |
56c7e0c |
- Rebuilt for Python 3.11
|
|
 |
56c7e0c |
|
|
 |
b5ca6a9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.0.post0-8
|
|
 |
b5ca6a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
b5ca6a9 |
|
|
 |
4006dbf |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.0.post0-7
|
|
 |
4006dbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
4006dbf |
|
|
 |
c795d78 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2019.1.0.post0-6
|
|
 |
c795d78 |
- Rebuilt for Python 3.10
|
|
 |
c795d78 |
|
|
 |
89c7886 |
* Tue Jan 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2019.1.0.post0-5
|
|
 |
89c7886 |
- Fix compatibility with pytest-6 (#1902616)
|
|
 |
89c7886 |
|
|
 |
6180394 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.0.post0-4
|
|
 |
6180394 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
6180394 |
|
|
 |
4ab2fff |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2019.1.0.post0-3
|
|
 |
4ab2fff |
- Rebuilt for Python 3.9
|
|
 |
4ab2fff |
|
|
 |
43ceaa8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1.0.post0-2
|
|
 |
43ceaa8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
43ceaa8 |
|
|
 |
27163f2 |
* Tue Oct 8 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2019.1.0.post0-1
|
|
 |
27163f2 |
- Initial packaging
|