Package Details: python-aesedb 0.1.6-1

Git Clone URL: https://aur.archlinux.org/python-aesedb.git (read-only, click to copy)
Package Base: python-aesedb
Description: Asynchronous parser for JET.
Upstream URL: https://github.com/skelsec/aesedb
Licenses: MIT
Submitter: tikrass
Maintainer: tikrass
Last Packager: tikrass
Votes: 0
Popularity: 0.000000
First Submitted: 2022-08-17 20:14 (UTC)
Last Updated: 2024-03-29 09:29 (UTC)

Latest Comments

tikrass commented on 2023-05-07 16:11 (UTC)

Thanks @dreieck for the input. I updated the PKGBUILD and the issues should be resolved.

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

This package installs stuff in generic directories, probe to causing conflicts. Please remove the files from the generic directories:

error: failed to commit transaction (conflicting files)
python-aesedb: /usr/lib/python3.11/site-packages/tests/__init__.py exists in filesystem (owned by openpyn-nordvpn)
python-aesedb: /usr/lib/python3.11/site-packages/tests/__pycache__/__init__.cpython-311.opt-1.pyc exists in filesystem (owned by openpyn-nordvpn)
python-aesedb: /usr/lib/python3.11/site-packages/tests/__pycache__/__init__.cpython-311.pyc exists in filesystem (owned by openpyn-nordvpn)
Errors occurred, no packages were upgraded.

(Maybe more files are there.)

Regards!

dreieck commented on 2023-05-07 15:21 (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!