Package Details: offpunk 2.6-1

Git Clone URL: https://aur.archlinux.org/offpunk.git (read-only, click to copy)
Package Base: offpunk
Description: Fork of the command-line Gemini client AV-98 with added offline capabilities
Upstream URL: https://git.sr.ht/~lioploum/offpunk
Licenses: AGPL
Conflicts: av-98-offline, offpunk
Provides: offpunk
Submitter: dcreager
Maintainer: dcreager
Last Packager: dcreager
Votes: 4
Popularity: 0.010520
First Submitted: 2023-11-25 14:46 (UTC)
Last Updated: 2025-02-25 14:21 (UTC)

Dependencies (21)

Required by (0)

Sources (1)

Latest Comments

dcreager commented on 2025-02-25 14:22 (UTC)

Is there a special reason this PKGBUILD has not been updated ?

Nope, I was just slow! This is updated to 2.6 now

m040601 commented on 2025-02-12 17:17 (UTC) (edited on 2025-02-13 11:20 (UTC) by m040601)

Is there a special reason this PKGBUILD has not been updated ? Some special python compatibilityi/issue/dependency thing ?

https://git.sr.ht/~lioploum/offpunk/refs says,

v2.5 13 days ago .tar.gz browse log
Release 2.5 - January 30th 2025

- "abbrevs" has been replaced by "alias"
- "alias" now allows custom command to be aliased
- PEP8-ification by Vincent Jousse
- changing "datetime.UTC" to "datetime.timezone.utc" for retrocompatibility with python < 3.1
- checking if "grep" supports "--color=auto" to supports OpenBSD (reported by Dylan D’Silva)

v2.4 2 months ago .tar.gz browse log
2.4 - November 21st 2024

NEW WEBSITE: Official homepage is now https://offpunk.net (or gemini://offpunk.net). Sources
NEW FEATURE: This release includes work by Bert Livens to add gemini client-side certificates
- Deprecation warning if using Chafa < 1.10
- introducing the "tutorial" command (which is only a link to offpunk.net for now)
- netcache: use client-certificate when going to a url like gemini://username@site.net (by Be
- offpunk/netcache: added the "cert" command to list and create client certificates (Bert Liv
- "open" now accept integer as parameters to open links (suggested by Matthieu Rakotojaona)
- fix cache not being properly accessed when server redirect to same host with standard port
- fix crash when expired certificate due to not_valid_after deprecation
- fix crash in netcache when a port cannot be parsed in the URL
- fix parameter "interactive=False" not being sent to gemini redirections
- fix problem with non-integer version of less (Patch by Peter Cock)
- Gopher: hide lines starting with TAB (drkhsh.at), reported by Dylan D’Silva

dcreager commented on 2024-06-30 21:27 (UTC)

vjousse, digging into this it looks like this is best fixed in the python-readability-lxml package description; it should be updated to depend on python-lxml-html-clean as you have discovered, like Debian did with their analogous package. I will try to report this in the Arch package repo; in the meantime I've added python-lxml-html-clean to optdepends.

vjousse commented on 2024-06-28 06:26 (UTC)

When installing offpunk (with python-readability-lxml installed) I'm getting the following error:

➜ offpunk
Traceback (most recent call last):
  File "/usr/bin/offpunk", line 5, in <module>
    from offpunk import main
  File "/usr/lib/python3.12/site-packages/offpunk.py", line 25, in <module>
    import netcache
  File "/usr/lib/python3.12/site-packages/netcache.py", line 15, in <module>
    import ansicat
  File "/usr/lib/python3.12/site-packages/ansicat.py", line 19, in <module>
    from readability import Document
  File "/usr/lib/python3.12/site-packages/readability/__init__.py", line 3, in <module>
    from .readability import Document
  File "/usr/lib/python3.12/site-packages/readability/readability.py", line 11, in <module>
    from .cleaners import clean_attributes
  File "/usr/lib/python3.12/site-packages/readability/cleaners.py", line 3, in <module>
    from lxml.html.clean import Cleaner
  File "/usr/lib/python3.12/site-packages/lxml/html/clean.py", line 18, in <module>
    raise ImportError(
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.

Installing python-lxml-html-clean fixes this issue.

dcreager commented on 2024-02-15 14:11 (UTC)

Updated to v2.2; PKGBUILD now installs CHANGELOG and CONTRIBUTORS files

m040601 commented on 2024-02-15 05:42 (UTC)

offpunk /usr/share/doc/offpunk/
offpunk /usr/share/doc/offpunk/README.md

The developer maintains a usefull and well written CHANGELOG.

Please dont throw it away, add it also to

offpunk /usr/share/doc/offpunk/CHANGELOG

Thanks in advance.

dcreager commented on 2023-11-25 14:47 (UTC)

This is basically the same PKGBUILD as offpunk-git, but grabbing from specific tagged versions instead of always grabbing git HEAD.