Package Details: python-plotext 5.2.8-2

Git Clone URL: https://aur.archlinux.org/python-plotext.git (read-only, click to copy)
Package Base: python-plotext
Description: plotting on terminal
Upstream URL: https://github.com/piccolomo/plotext
Licenses: MIT
Submitter: Freed
Maintainer: tonitch
Last Packager: tonitch
Votes: 1
Popularity: 0.000219
First Submitted: 2022-11-18 16:13 (UTC)
Last Updated: 2024-07-25 19:08 (UTC)

Latest Comments

m040601 commented on 2024-08-06 12:14 (UTC) (edited on 2024-08-06 12:16 (UTC) by m040601)

12 days    adding python-build to makedepends                     Anthony Debucquoy

Still not working on my system. Seems to be going fine, all dependencies install, but then something with "wheel" ????

==> Validating source files with sha256sums...
    5.2.8.tar.gz ... Passed
==> Extracting sources...
  -> Extracting 5.2.8.tar.gz with bsdtar
==> Sources are ready.
]==> Making package: python-plotext 5.2.8-2 (Tue 06 Aug 2024 01:11:10 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.12/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        ********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
running egg_info
creating plotext.egg-info
writing plotext.egg-info/PKG-INFO
writing dependency_links to plotext.egg-info/dependency_links.txt
writing entry points to plotext.egg-info/entry_points.txt
writing requirements to plotext.egg-info/requires.txt
writing top-level names to plotext.egg-info/top_level.txt
writing manifest file 'plotext.egg-info/SOURCES.txt'
reading manifest file 'plotext.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'plotext.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        wheel
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-plotext-exit status 4

I also tested installing this tool with,

pipx install plotext

Seems to install and work fine.

frcl commented on 2024-07-23 11:40 (UTC)

For others expieriencing the python error at build:

/usr/bin/python: No module named build.__main__; 'build' is a package and cannot be directly executed

This is actually a missing make dependency. The fix is to install python-build from the official repos.

m040601 commented on 2024-07-23 00:24 (UTC)

@Anthony

The PKGBUILD still does not build on my system,

==> Starting build()...
/usr/bin/python: No module named build.__main__; 'build' is a package and cannot be directly executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-plotext-exit status 4

Can you confirm that it is currently building and working on your system ?

m040601 commented on 2024-04-27 17:40 (UTC) (edited on 2024-04-27 17:43 (UTC) by m040601)

After the Archlinux python update from 3.11 to 3.12 this PKBUILD, "python-plotext" does not build:

yay -S python-plotext

AUR Explicit (1): python-plotext-5.2.8-1
Sync Make Dependency (2): python-shtab-1.6.5-2, python-installer-0.7.0-8
:: (1/1) Downloaded PKGBUILD: python-plotext
  1 python-plotext                   (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
  1 python-plotext                   (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: python-plotext 5.2.8-1 (Sat 27 Apr 2024 06:37:28 PM WEST)
==> Retrieving sources...
  -> Downloading plotext-5.2.8-py3-none-any.whl...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 60210  100 60210    0     0  33089      0  0:00:01  0:00:01 --:--:-- 33089
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    plotext-5.2.8-py3-none-any.whl ... Passed
:: Remove make dependencies after install? [y/N] y
:: (1/1) Parsing SRCINFO: python-plotext
[sudo] gigabyty password for a1:
resolving dependencies...
looking for conflicting packages...

Package (2)             New Version  Net Change

extra/python-installer  0.7.0-8        0.18 MiB
extra/python-shtab      1.6.5-2        0.13 MiB

Total Installed Size:  0.30 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                                            [------------------------------------------] 100%
(2/2) checking package integrity                                          [------------------------------------------] 100%
(2/2) loading package files                                               [------------------------------------------] 100%
(2/2) checking for file conflicts                                         [------------------------------------------] 100%
(2/2) checking available disk space                                       [------------------------------------------] 100%
:: Processing package changes...
(1/2) installing python-installer                                         [------------------------------------------] 100%
(2/2) installing python-shtab                                             [------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[sudo] gigabyty password for a1:
==> Making package: python-plotext 5.2.8-1 (Sat 27 Apr 2024 06:37:40 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found plotext-5.2.8-py3-none-any.whl
==> Validating source files with sha256sums...
    plotext-5.2.8-py3-none-any.whl ... Passed
==> Extracting sources...
  -> Extracting plotext-5.2.8-py3-none-any.whl with bsdtar
==> Sources are ready.
==> Making package: python-plotext 5.2.8-1 (Sat 27 Apr 2024 06:37:45 PM WEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...

And here it fails,

/dev/shm/aurydesty/python-plotext/PKGBUILD: line 22: /dev/shm/aurydesty/python-plotext/pkg/python-plotext/usr/bin/: Is a directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: python-plotext-exit status 4

I am not familiar with python, but here is what the PKGBUILD is doing,

???

19   local bin=${_repo##*/}
22   "$pkgdir/usr/bin/$bin" --print-completion bash > "$bin.bash"
23   "$pkgdir/usr/bin/$bin" --print-completion zsh > "_$bin"
24   "$pkgdir/usr/bin/$bin" --print-completion tcsh > "$bin.csh"

drws commented on 2023-10-31 19:32 (UTC)

The package() function currently produces an error. A workaround is to remove lines 19-27 from the PKGBUILD.