Package Details: beeref 0.3.3-1

Git Clone URL: https://aur.archlinux.org/beeref.git (read-only, click to copy)
Package Base: beeref
Description: Reference Image Viewer
Upstream URL: https://beeref.org/
Licenses: GPL-3.0-or-later
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 3
Popularity: 0.000000
First Submitted: 2021-07-23 18:47 (UTC)
Last Updated: 2024-05-05 23:00 (UTC)

Latest Comments

Smjert commented on 2023-12-21 13:24 (UTC)

@pitbuster Same, the issue is in the upstream repository, the setup.py file is missing one of the packages/folders present on the repo.

The original setup.py packages:

    packages=[
        'beeref',
        'beeref.actions',
        'beeref.assets',
        'beeref.documentation',
        'beeref.fileio',
    ],

Should be:

    packages=[
        'beeref',
        'beeref.actions',
        'beeref.assets',
        'beeref.documentation',
        'beeref.fileio',
        'beeref.widgets',
    ],

I'll open a PR upstream.

pitbuster commented on 2023-12-17 17:28 (UTC)

I am getting the following error:

Traceback (most recent call last):
  File "/usr/bin/beeref", line 33, in <module>
    sys.exit(load_entry_point('BeeRef==0.3.2', 'gui_scripts', 'beeref')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/beeref", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/beeref/__main__.py", line 30, in <module>
    from beeref.view import BeeGraphicsView
  File "/usr/lib/python3.11/site-packages/beeref/view.py", line 30, in <module>
    from beeref import widgets
ImportError: cannot import name 'widgets' from 'beeref' (/usr/lib/python3.11/site-packages/beeref/__init__.py)

Maybe there is a missing dependency?

teletortoise commented on 2023-12-12 20:44 (UTC)

Original repo coming back to life. Up to you if you wanna watch before changing back. https://github.com/rbreu/beeref

tecnotercio commented on 2023-06-02 05:17 (UTC)

@pitbuster: I have updated the PKGBUILD. Thanks for the notice.

pitbuster commented on 2023-05-28 15:12 (UTC)

It seems that the original repo is totally abandonded. There is a fork which launched version 0.3. Here is a PKGBUILD for that fork

# Maintainer: Tércio Martins <echo dGVyY2lvd2VuZGVsQGdtYWlsLmNvbQo= | base64 -d>

_pkgname=BeeRef
pkgname=${_pkgname,,}
pkgver=0.3.1
pkgrel=1
pkgdesc="Reference Image Viewer"
arch=('any')
url="https://beeref.org/"
_url="https://github.com/mini-ninja-64/${pkgname}"
license=('GPL3')
depends=('hicolor-icon-theme' 'python-exif' 'python-pyqt6' 'python-rectangle-packer' 'sqlite')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-pdm')
source=("${pkgname}-${pkgver}.tar.gz::${_url}/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('SKIP')

_xdg_desktop_name=org.${pkgname}.${_pkgname}

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  sed -i "s/Comment=.*/Comment=Reference Image Viewer/" ${pkgname}.desktop
  sed -i "s/Exec=.*/Exec=${pkgname}/" ${pkgname}.desktop
  sed -i "s/Icon=.*/Icon=${_xdg_desktop_name}/" ${pkgname}.desktop
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python -m installer --destdir="$pkgdir" dist/*.whl

  install -Dm 644 beeref.desktop \
                  "${pkgdir}/usr/share/applications/${_xdg_desktop_name}.desktop"

  install -Dm 644 "${pkgname}/assets/logo.svg" \
                  "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_xdg_desktop_name}.svg"

  install -Dm 644 "${pkgname}/assets/logo.png" \
                  "${pkgdir}/usr/share/icons/hicolor/400x400/apps/${_xdg_desktop_name}.png"
}

pitbuster commented on 2023-05-23 23:23 (UTC)

This needs python-rectangle-packer as a dependency (and also a rebuild if you installed it before the python 3.11 upgrade)

adro commented on 2023-01-17 08:49 (UTC) (edited on 2023-01-17 08:50 (UTC) by adro)

I have this error when trying to launch BeeRef:

Traceback (most recent call last):
  File "/usr/bin/beeref", line 33, in <module>
    sys.exit(load_entry_point('BeeRef==0.2.0', 'gui_scripts', 'beeref')())
  File "/usr/bin/beeref", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/beeref/__main__.py", line 29, in <module>
    from beeref.view import BeeGraphicsView
  File "/usr/lib/python3.10/site-packages/beeref/view.py", line 28, in <module>
    from beeref import fileio
  File "/usr/lib/python3.10/site-packages/beeref/fileio/__init__.py", line 22, in <module>
    from beeref.fileio.image import load_image
  File "/usr/lib/python3.10/site-packages/beeref/fileio/image.py", line 24, in <module>
    import exif
  File "/usr/lib/python3.10/site-packages/exif/__init__.py", line 18, in <module>
    from exif._datatypes import Flash, FlashMode, FlashReturn
  File "/usr/lib/python3.10/site-packages/exif/_datatypes.py", line 25, in <module>
    tiff_byte_order = EnumX(
TypeError: EnumX.__init__() got multiple values for argument 'nbytes'