Files
python3-FFC/python3-FFC.spec
Stefan Brüns 2ffba2e698 Accepting request 772420 from home:StefanBruens:branches:science
- update to version 2019.1.0
  * Support NodalEnrichedElement, see demo/NodalMini.ufl
- update to version 2018.1.0
  * Remove python2 support.
- update to version 2017.2.0
  * Some fixes for ufc::eval for esoteric element combinations
  * Reimplement code generation for all ufc classes with new class
    ufc::coordinate_mapping which can map between coordinates,
    compute jacobians, etc. for a coordinate mapping
    parameterized by a specific finite element.
  * New functions in ufc::finite_element:
    - evaluate_reference_basis
    - evaluate_reference_basis_derivatives
    - transform_reference_basis_derivatives
    - tabulate_reference_dof_coordinates
  * New functions in ufc::dofmap: - num_global_support_dofs -
    num_element_support_dofs
  * Improved docstrings for parts of ufc.h
  * FFC now accepts Q and DQ finite element families defined on
    quadrilaterals and hexahedrons
  * Some fixes for ufc_geometry.h for quadrilateral and hexahedron
    cells
- update to version 2017.1.0
  * Change PyPI package name to fenics-ffc.
  * Let ffc -O parameter take an optional integer level like -O2
  * Implement blockwise optimizations in uflacs code generation
  * Expose uflacs optimization parameters through parameter system
- Drop obsolete python3-fixes.patch
- Remove python3-devel build dependency, package is noarch.
- added python3-fixes.patch for correct form compilation
- update to version 2016.2.0 [2016-11-30]
  * Jit compiler now compiles elements separately from forms to avoid duplicate work
  * Add parameter max_signature_length to optionally shorten signatures in the jit cache
  * Move uflacs module into ffc.uflacs
  * Remove installation of pkg-config and CMake files (UFC path and
    compiler flags are available from ffc module)
  * Add dependency on dijitso and remove dependency on instant
  * Add experimental Bitbucket pipelines
  * Tidy the repo after UFC and UFLACS merge, and general spring cleanup. This
    includes removal of instructions how to merge two repos, commit hash
    c8389032268041fe94682790cb773663bdf27286.
  2016.1.0 [2016-06-23]
  * Add function get_ufc_include to get path to ufc.h
  * Merge UFLACS into FFC
  * Generalize ufc interface to non-affine parameterized coordinates
  * Add ufc::coordinate_mapping class
  * Make ufc interface depend on C++11 features requiring gcc version >= 4.8
  * Add function ufc_signature() to the form compiler interface
  * Add function git_commit_hash() 
- package migrated to python3
- update to version 1.6.0 [2015-07-28]
  * Rename and modify a number of UFC interface functions. See docstrings in ufc.h for details.
  * Bump required SWIG version to 3.0.3
  * Disable dual basis (tabulate_coordinates and evaluate_dofs) for enriched
    elements until correct implementation is brought up
- require swig version 3.0.3 and above
- update to version 1.5.0
  * Remove FErari support
  * Add support for new integral type custom_integral
  * Support for new form compiler backend "uflacs", downloaded separately
- Add Requires: python-uflacs to install the new compiler system
- update to version 1.4.0 
  * Add support for integrals that know which coefficients they use
  * Many bug fixes for facet integrals over manifolds
  * Merge UFC into FFC; ChangeLog for UFC appended below
  * Various updates mirroring UFL changes
  * Experimental: New custom integral with user defined quadrature points
- Create new subpackages python-ufc and ufc-devel due to upstream merge of
  ufc into FFC
- Added a patch to correct pkgconfig installation path
   ffc-pkgconfig-path-ufc-1.patch
- Build of ufc requires swig
- Add Requires: python-ufc to install subpackage
- update to version 1.3.0 
  changelog available only in upstream git repository
- update to version 1.2.0
  * New feature: Add basic support for point integrals on vertices
  * New feature: Add general support for m-dimensional cells in 
    n-dimensional space (n >= m, n, m = 1, 2, 3) 
- update to version 1.1.0
  * Fix bug for Conditionals related to DG constant Coefficients.
  * Fix bug for Conditionals, precedence rules for And and Or.
  * Changed data structure from list to deque when pop(0) operation
    is needed, speeding up split_expression operation considerable
  * Other minor fixes
- Requires python(abi) on recent products
- first package

OBS-URL: https://build.opensuse.org/request/show/772420
OBS-URL: https://build.opensuse.org/package/show/science/python3-FFC?expand=0&rev=2
2020-02-09 04:10:44 +00:00

74 lines
2.4 KiB
RPMSpec

#
# spec file for package python-FFC
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define modname FFC
%define pyname ffc
Name: python3-%{modname}
Version: 2019.1.0
Release: 0
Summary: A compiler for multilinear forms by generating code
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://fenicsproject.org
Source0: https://bitbucket.org/fenics-project/%{pyname}/downloads/%{pyname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-setuptools
Requires: python3-ufl = %{version}
Requires: python3-dijitso = %{version}
Requires: python3-FIAT = %{version}
Requires: python3-six
Requires: ufc-devel = %{version}
%description
FFC works as a compiler for multilinear forms by generating code (C++)
for the evaluation of a multilinear form given in mathematical notation.
This new approach to form evaluation makes it possible to combine generality
with efficiency; the form can be given in mathematical notation and the
generated code is as efficient as hand-optimized code.
%package -n ufc-devel
Summary: Development and header files for UFC
Group: Development/Libraries/C and C++
%description -n ufc-devel
This package contains the development files for UFC (Unified Form-assembly Code)
%prep
%setup -q -n %{pyname}-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --root %{buildroot} --prefix=%{_prefix}
%files
%doc ChangeLog.rst README.rst
%license COPYING COPYING.LESSER
%{_bindir}/%{pyname}
%{_bindir}/%{pyname}-3
%exclude %{python3_sitelib}/%{pyname}/backends/ufc/*.h
%{python3_sitelib}/%{pyname}
%{python3_sitelib}/*-%{version}-py%{py3_ver}.egg-info
%{_mandir}/man1/*
%files -n ufc-devel
%{python3_sitelib}/%{pyname}/backends/ufc/*.h
%changelog