Package Details: python-flet 0.25.1-1

Git Clone URL: https://aur.archlinux.org/python-flet.git (read-only, click to copy)
Package Base: python-flet
Description: Easily build realtime web, mobile and desktop apps in your favorite language and securely share them with your team.
Upstream URL: https://flet.dev/
Licenses: Apache
Submitter: patlefort
Maintainer: patlefort
Last Packager: patlefort
Votes: 0
Popularity: 0.000000
First Submitted: 2023-02-22 05:05 (UTC)
Last Updated: 2024-11-30 00:31 (UTC)

Latest Comments

1 2 Next › Last »

patlefort commented on 2024-09-06 06:26 (UTC)

I now use fvm instead of flutter-engine. If you want to build the engine from source, use fvm-sourcebuild.

andrejr commented on 2024-05-12 15:36 (UTC)

The file checksum is incorrect.

GPereira commented on 2023-05-31 16:31 (UTC)

That wasn't a clean install. After cleanup I could build the package by running:

mv /opt/flutter/.git-refs /opt/flutter/.git

before installing python-flet and after installing flutter

GPereira commented on 2023-05-31 16:19 (UTC)

@patlefort both folders are already present after a fresh install of the flutter package and have a different set of files inside (some but not all have the same name). What are you suggesting?

patlefort commented on 2023-05-24 21:23 (UTC)

The flutter package have issues that needs to be resolved. For now you can change the .git-refs to .git in /opt/flutter.

andrejr commented on 2023-05-24 09:33 (UTC)

This package is unbuildable:

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: python-flet 0.7.4-1 (Wed 24 May 2023 11:32:55 CEST)
==> Retrieving sources...
  -> Found flet-0.7.4.tar.gz
  -> Found flet-linux.patch
==> Validating source files with sha256sums...
    flet-0.7.4.tar.gz ... Passed
    flet-linux.patch ... Passed
==> Making package: python-flet 0.7.4-1 (Wed 24 May 2023 11:32:56 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found flet-0.7.4.tar.gz
  -> Found flet-linux.patch
==> Validating source files with sha256sums...
    flet-0.7.4.tar.gz ... Passed
    flet-linux.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting flet-0.7.4.tar.gz with bsdtar
==> Starting prepare()...
patching file sdk/python/packages/flet/src/flet/flet.py
Hunk #1 succeeded at 623 (offset 26 lines).
==> Sources are ready.
python-flet-0.7.4-1: parsing pkg list...
==> Making package: python-flet 0.7.4-1 (Wed 24 May 2023 11:32:58 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
~/.cache/paru/clone/python-flet/src/flet-0.7.4/client ~/.cache/paru/clone/python-flet/src/flet-0.7.4
Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to install Flutter, see the instructions at:
       https://flutter.dev/get-started
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'python-flet-0.7.4-1':
error: packages failed to build: python-flet-0.7.4-1

GPereira commented on 2023-05-21 13:57 (UTC)

No idea how to fix these issues while using the flutter package from AUR, I don't want to have a manual setup that would require manual intervention in the future

GPereira commented on 2023-05-21 13:56 (UTC)

The previous errors happen because flutter doctor tool expects the flutter installation path to be a git cloned repository and tries to use git to perform various tasks like derive the version from the git branch it is checked out and so on. That's why while trying to detect the version it fails and sets it as unknown

GPereira commented on 2023-05-21 13:54 (UTC)

I could not setup flutter using the flutter package. It has issues detecting its own version when I run after a fresh install:

cat /opt/flutter/version

it outputs:

3.10.1

if I run flutter doctor and check the contents again it outputs:

0.0.0-unknown

That is why while installing this flet package it outputs:

Resolving dependencies... 
The current Flutter SDK version is 0.0.0-unknown.

Because url_strategy 0.2.0 requires Flutter SDK version >=1.20.0 and no
  versions of url_strategy match >0.2.0 <0.3.0, url_strategy ^0.2.0 is
  forbidden.
So, because flet_client depends on url_strategy ^0.2.0, version solving
  failed.
==> ERROR: A failure occurred in build().
    Aborting...

patlefort commented on 2023-05-08 16:39 (UTC) (edited on 2023-05-21 22:21 (UTC) by patlefort)

I can't reproduce that error. Is your flutter setup correctly? I'm using flutter package setup with required permissions.