tis-FreeFem icon

FreeFem

Paquet d’installation silencieuse pour FreeFem

4.16-2
Utilities
Utilities

  • package: tis-FreeFem
  • name: FreeFem
  • version: 4.16-2
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
  • licence: GNU LESSER GENERAL PUBLIC LICENSE
  • locale: all
  • target_os: debian,ubuntu(<=22)
  • impacted_process: FreeFem
  • architecture: x64
  • signature_date:
  • size: 447.57 Mo
  • installed_size: 551.55 Mo
  • homepage : https://github.com/FreeFem/FreeFem-sources

package           : tis-FreeFem
version           : 4.16-2
architecture      : x64
section           : base
priority          : optional
name              : FreeFem
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description       : FreeFEM is a partial differential equation solver for non-linear multi-physics systems in 2D and 3D using the finite element method.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian,ubuntu(<=22)
min_wapt_version  : 2.3
sources           : 
installed_size    : 551553008
impacted_process  : FreeFem
description_fr    : FreeFEM est un solveur d équations aux dérivées partielles pour les systèmes multi-physiques non linéaires en 2D et 3D utilisant la méthode des éléments finis.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU LESSER GENERAL PUBLIC LICENSE
homepage          : https://github.com/FreeFem/FreeFem-sources
package_uuid      : 7454aabf-5874-4fee-af5e-681cac07d8c9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 15f4ff96d137c7579c347c336e8b6c4cf937d828c5c472eb4c980857b835df11
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-03-07T23:14:03.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : qjUmj6xe9r2yclUwasKm2QRypyl10ijaGiznM8C/23wp4q/Npd3sRn+nVVOOMssV9rLtXWZN7JyiU1PGY+ueFPZyXBlHI3+Tq+AEfE+51aavTqNk65YqDhw85m4fIl8yPQfJ8/igBTIbJvg8ZlF+QV1eMmJeRbCHoSiIPhnC0wvDT+1YTNwACqydyNFEIkGhP7J5O/QUBpkJdiJMouKxQb0lx6Y6YTF6Abm2kThdmO+1kdZcAPx57Qpq7xLxkXennZGfiV76zo0s0BP2WvvxuYfz0qbFVKAROfXXnE1W+LYTjqV+gf4ha6LnR2JbmTTvr1DTYuPAZjbviTXmz12y6g==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_deb(glob.glob("FreeFEM*.deb")[0])


def uninstall():
    uninstall_apt("freefem")

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/FreeFem/FreeFem-sources/releases/latest"
    os_dict = {"windows": "win64.exe", "debian_based": ".deb", "darwin": ".dmg"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load["assets"]:
        if ".deb" in to_download["name"] and "22.04" in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    for f in glob.glob('*.deb'):
        if f != latest_bin:
            remove_file(f)


    # Validating update-package-sources
    return package_updated

f12b011a5a8b65eef4ea0dd52c1f39aaa07cf346111c65587449cbf044b3479f : FreeFEM-4.016-amd64-ubuntu22.04.deb
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4e728c35b1542e180f4a944b3ecf23c763fd0c7bcd602a20d2d33776ec0b8e3e : WAPT/control
15f4ff96d137c7579c347c336e8b6c4cf937d828c5c472eb4c980857b835df11 : WAPT/icon.png
46ef56c608462a05d8b89aada5ff58aff7e3f77a9c1b0cf49c957838578e074a : luti.json
a24387200b103ddeed4d3c90f674173cfa6190130f535173e810e497ac957947 : setup.py
afd97df3690c726b9e469efbc413e1d3f0ef7189abbfc90002c5e6deea28465b : update_package.py