Package Details: python-terminaltables 3.1.10-11

Git Clone URL: https://aur.archlinux.org/python-terminaltables.git (read-only, click to copy)
Package Base: python-terminaltables
Description: Generate simple tables in terminals from a nested list of strings
Upstream URL: https://github.com/matthewdeanmartin/terminaltables
Licenses: MIT
Submitter: dvzrv
Maintainer: noprobelm
Last Packager: noprobelm
Votes: 1
Popularity: 0.000002
First Submitted: 2023-04-13 09:36 (UTC)
Last Updated: 2024-03-11 12:57 (UTC)

Latest Comments

« First ‹ Previous 1 2

dreieck commented on 2023-05-07 15:48 (UTC)

I think you should switch to using python -m build and python -m installer instead of invoking setup.py directly:

/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

e.g. (just the idea, not tested with your package):

[...]
makedepends=(
  'python-build'
  'python-installer'
  'python-wheel'
  'python-setuptools'
  [...]
)
[...]
build() {
  [...]
  python -m build --wheel --no-isolation
  # maybe build documentation, ...
  [...]
}

package() {
  [...]
  python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
  [...]
  # Maybe install documentation, license, ...
  [...]
}

Regards!

noprobelm commented on 2023-04-17 17:59 (UTC) (edited on 2023-04-17 18:33 (UTC) by noprobelm)

This package was recently removed from the community repository and is required by a package I regularly use. In the absence of a maintainer, I am assuming that role.

The PKGBUILD was broken at the time of AUR migration. I've updated the following information (see git history for full details of changes):

  • check(): A pytest failure I've yet to determine the root cause of is prohibiting success of the dependency check function of this PKGBUILD. I've temporarily removed this function until I can determine the cause and notify the remote maintainer.

NOTE: This package uses an archived version of terminaltables. The maintained version can be found at https://github.com/matthewdeanmartin/terminaltables. I will consider updating to the forked version in the future after I've determined the differences (if any).