Package Details: qtodotxt2-git 20220704-1

Git Clone URL: https://aur.archlinux.org/qtodotxt2-git.git (read-only, click to copy)
Package Base: qtodotxt2-git
Description: Cross-platform UI client for todo.txt files
Upstream URL: https://github.com/QTodoTxt/QTodoTxt2
Keywords: qml qt5 todotxt
Licenses: GPL3
Submitter: ivanruvalcaba
Maintainer: None
Last Packager: blakkheim
Votes: 5
Popularity: 0.000000
First Submitted: 2018-01-31 19:28 (UTC)
Last Updated: 2023-01-17 01:38 (UTC)

Latest Comments

1 2 Next › Last »

RenatoXSR commented on 2023-01-17 01:00 (UTC)

Missing dependency python-setuptools.

It fixes the error:

Traceback (most recent call last):
  File "/home/renato/aur/qtodotxt2-git/src/qtodotxt2/setup.py", line 1, in <module>                                         from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'

NoobAlice commented on 2022-12-22 18:44 (UTC) (edited on 2022-12-22 19:27 (UTC) by NoobAlice)

Would you please change the PKGBUILD to include a version function? There have been updates to the git repository in the last year.

This one might be a nice example: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=purple-discord-git

EDIT: Actually, does your PKGBUILD only pull one specific commit? That isn't right. I don't know much about making a PKGBUILD, but I tried this using the purple-discord-git PKGBUILD as an example and it worked for me.

_pkgname=qtodotxt2
pkgname=${_pkgname}-git
pkgver=2.0.1.git
_pkgver=v2.0.1
pkgrel=1
pkgdesc="A cross-platform UI client for todo.txt files"
arch=('i686' 'x86_64')
url="https://github.com/QTodoTxt/QTodoTxt2"
license=('GPL3')
depends=('python-dateutil' 'python-pyqt5' 'qt5-declarative' 'qt5-quickcontrols')
provides=(qtodotxt2)
source=("${_pkgname}::git+${url}.git"
        "qtodotxt.png"
        "qtodotxt2.desktop")
sha256sums=('SKIP'
            '569d8cdb7207662f5b639c0009bab22efed5d0a9165fa28171dce9ec25c2e630'
            '17aca05d232ee2ef4145da119bfefecc5dcefc0ea1c44f4d7d1777662277341d')

pkgver() {
    cd "$srcdir/${_pkgname}/"
    printf "${_pkgver}r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/${_pkgname}"
  python setup.py install --root="$pkgdir/" --optimize=1

  # Desktop file
  install -Dm644 ../qtodotxt2.desktop \
    "${pkgdir}/usr/share/applications/qtodotxt2.desktop"

  # Icons
  install -Dm644 ../qtodotxt.png \
    "${pkgdir}/usr/share/icons/hicolor/48x48/apps/qtodotxt.png"

  # Doc files
  install -Dm644 README.md \
    "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
  install -Dm644 AUTHORS \
    "${pkgdir}/usr/share/doc/${_pkgname}/AUTHORS"
  install -Dm644 TRANSLATION.md \
    "${pkgdir}/usr/share/doc/${_pkgname}/TRANSLATION.md"
}

Rhinoceros commented on 2022-04-10 07:09 (UTC)

One solution is to just rm this directory in the PKGBUILD.

Rhinoceros commented on 2022-04-08 13:02 (UTC)

This package leaves files at /usr/lib/python3.10/site-packages/tests, which seems to be an error, and potentially conflicts with other packages.

echinotrix commented on 2021-12-16 06:42 (UTC)

After a full system update I got the following error message:

Traceback (most recent call last):
  File "/usr/bin/qtodotxt2", line 33, in <module>
    sys.exit(load_entry_point('qtodotxt2==2.0.0a6', 'gui_scripts', 'qtodotxt2')())
  File "/usr/bin/qtodotxt2", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 919, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for qtodotxt2

Can anybody help? Thanks!

Knysliux001 commented on 2021-12-10 12:20 (UTC)

Please add aarch64 to arch=('i686' 'x86_64' 'aarch64') Compiles and works without any issues on pinebook.

ivanruvalcaba commented on 2018-04-21 17:33 (UTC)

@dimosd, Fixed!

Best regards.

dimosd commented on 2018-04-21 08:38 (UTC)

In package(), install -Dm644 ../../qtodotxt2.desktop and ../../qtodotxt.png should be ../qtodotxt2.desktop and ../qtodotxt.png or it breaks building with BUILDDIR=/tmp/makepkg

ivanruvalcaba commented on 2018-03-30 01:59 (UTC)

@fluxboxer, @ddoubledi: Fixed, thanks a lot!

Best regards.

fluxboxer commented on 2018-03-30 00:10 (UTC) (edited on 2018-03-30 00:10 (UTC) by fluxboxer)

"The 'python-dateutil' distribution was not found and is required by qtodotxt2"