Package Details: autotrash 0.4.7-1

Git Clone URL: (read-only, click to copy)
Package Base: autotrash
Description: Tool to automatically purge old trashed files
Upstream URL:
Licenses: GPL3
Submitter: MithicSpirit
Maintainer: MithicSpirit
Last Packager: MithicSpirit
Votes: 8
Popularity: 0.63
First Submitted: 2021-01-28 13:40 (UTC)
Last Updated: 2024-05-11 19:58 (UTC)

Required by (0)

Sources (1)

Latest Comments

MithicSpirit commented on 2024-05-12 11:53 (UTC)

@madeiros they are just make dependencies, so you can uninstall them after building (tip: use -r with makepkg). Also, these dependencies are overall quite small (each is an individual haskell package), so it should download pretty quickly without occupying much space. IMO, it's better to have a lot of small dependencies that each do a single thing (UNIX philosophy) than having one massive dependency that bundles a lot of unused cruft.

That said, it's up to you. Do whatever you want with your system.

maderios commented on 2024-05-12 08:34 (UTC)

autotrash needs now 226 new haskell dependencies...just for one man page ! It's crazy... I stay with previous version.

nogweii commented on 2024-05-11 17:50 (UTC)

autotrash has a man page, could you add it to the package? You'll need to add pandoc to the makedepends.

thiagowfx commented on 2021-07-11 18:05 (UTC)

You're right, but I figured we could "kill two birds with one stone", as they say. Thanks for the quick fix!

MithicSpirit commented on 2021-07-11 18:03 (UTC)

The only difference between v0.4.2 (current) and v0.4.3 is some metadata for pypi (see ), so I didn't think an update was necessary for AUR, but I'm updating anyways for the dependency fix.

thiagowfx commented on 2021-07-11 17:30 (UTC)

Also, v0.4.3 is available.

thiagowfx commented on 2021-07-11 17:29 (UTC) (edited on 2021-07-11 17:29 (UTC) by thiagowfx)

python-setuptools needs to be a hard-dependency (depends, not makedepends) otherwise autotrash doesn't work:

Traceback (most recent call last):
  File "/usr/bin/autotrash", line 33, in <module>
    sys.exit(load_entry_point('autotrash==0.4.2', 'console_scripts', 'autotrash')())
  File "/usr/bin/autotrash", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/", line 77, in load
    module = import_module('module'))
  File "/usr/lib/python3.9/importlib/", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/autotrash/", line 1, in <module>
    from pkg_resources import get_distribution, DistributionNotFound
ModuleNotFoundError: No module named 'pkg_resources'

This is also documented in the wiki:

If the resulting package includes executables which import the pkg_resources module, then setuptools must be additionally specified as a depends in the split package_*() functions; alternatively, if the PKGBUILD only installs the Python package for a single version of Python, setuptools should be moved from makedepends to depends.