From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
Hi, I freed myself from most maintainer duties, so I'd like to hand over the PyPI package[0] to someone else. Upload process is straightforward: $ python -m build $ twine upload dist/* (but you need to install python-build[1] and twine[2] first) [0]: https://pypi.org/project/offpunk
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-packagers
Hi, I freed myself from most maintainer duties, so I'd like to hand over the PyPI package[0] to someone else. Upload process is straightforward: $ python -m build $ twine upload dist/* (but you need to install python-build[1] and twine[2] first) [0]: https://pypi.org/project/offpunk
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
On 2023-06-07 20:39, Ploum wrote: > I’m also curious to know if python3-sh is widely used/packaged or if > that would be "yet another exotic dependency". You can find such info on Repology: https://repology.org/project/python:sh/versions 139 packages and 26 families is a good number.
From Anna “CyberTailor” to ~lioploum/offpunk-devel
--- offpunk.py | 1 + pyproject.toml | 1 + requirements.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/offpunk.py b/offpunk.py index 02983e0..ddf452d 100755 --- a/offpunk.py +++ b/offpunk.py @@ -3468,6 +3468,7 @@ Marks are temporary until shutdown (not saved to disk).""" output += " - Render HTML (bs4, readability) : " + has(_DO_HTML) output += " - Render Atom/RSS feeds (feedparser) : " + has(_DO_FEED) output += " - Connect to http/https (requests) : " + has(_DO_HTTP) [message trimmed]
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-packagers
On 2023-03-13 16:05, Ploum wrote: > Thanks to all the packagers and especially Anna "Cybertailor" (how do > you prefer we call you?), here’s offpunk 1.9.2. My usual signoff is "Anna (cybertailor) Vyalkova". > This fixes the "--version" issue but also introduce flit as the official > build tool. > > Changelog: > - Switch from setup.py to flit (Anna cybertailor Vyalkova) > - Bump requirements to python >= 3.7 (Anna cybertailor Vyalkova) > - return correct version number (Anna cybertailor Vyalkova)
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
From: Anna “CyberTailor” <cyber+misc@sysrq.in> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 369cc3f..d0e9403 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Topic :: Internet", ] keywords = ["gemini", "browser"] [message trimmed]
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
On 2023-03-12 15:19, Klaus Alexander Seistrup wrote: > The latest `pyproject.toml` suggests Python v3.6+: > > ```toml > requires-python = ">=3.6" > ``` > > Howver, `vermin` seems to think that Python 3.7+ is required: > > ```sh > $ vermin \ > --no-parse-comments \ > --backport argparse \ > --violations \
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
On 2023-03-12 14:16, phoebos wrote: > On Sun, Mar 12, 2023 at 11:47:38 +0500, Anna (cybertailor) Vyalkova wrote: > > Flit is the simplest of PEP517 build systems so I used it. > > There is no "build" step for offpunk. > Flit's own rationale [1] claims that installing a simple Python project > with no compilation steps is *not* as simple as copying a file to the > right place. Why is this the case for offpunk? The only reason this > might not be the case is if offpunk were used as a module by anything > else (which I don't believe it is). > > [1]: https://flit.pypa.io/en/latest/rationale.html > > If Flit is used so that offpunk can be uploaded to PyPI, is that really
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
From: Anna “CyberTailor” <cyber@sysrq.in> See the wiki: https://wiki.archlinux.org/title/Python_package_guidelines --- PKGBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index fe33e58..f6d9ee6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,7 +19,9 @@ depends=( makedepends=( [message trimmed]
From Anna (cybertailor) Vyalkova to ~lioploum/offpunk-devel
From: Anna “CyberTailor” <cyber@sysrq.in>
Flit is the simplest of PEP517 build systems so I used it.
Packagers will need to switch from legacy (setup.py) mode to PEP517, if
not already.
Most offpunk.py changes are stripped whitespace. Relevant are:
- Added module docstring (__doc__ variable)
- Added __version__ variable
These two will be used by Flit so you will need to bump version in one
place only.
---
[message trimmed]