This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH man.sr.ht] Preparations for PEP440 support

Message ID
DKIM signature
Download raw message
Patch: +43 -0
Currrently, builds for patches are broken because the version numbers
generated for them are not valid according to PEP 440 [1].

This has to be solved in several steps, in coordination with the
packaging code. Procedure will be the same as for core.sr.ht:


The only difference is that the extra build step (running `make`) will
remain in `setup.py` (as there is no generic mechanism for this in
`pyproject.toml`). This just means the build process will still always
have to be performed with setuptools as backend.

[1] https://peps.python.org/pep-0440
 pyproject.toml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 pyproject.toml

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..23bcf8c
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,43 @@
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"

name = "mansrht"
dynamic = ["version"]
description = "man.sr.ht website"
readme = "README.md"
authors = [{name = "Drew DeVault", email = "sir@cmpwn.com"}]
dependencies = [
license.text = "AGPL-3.0-only"

repository = "https://git.sr.ht/~sircmpwn/man.sr.ht"

# This defaults to true, but we explicitly specify what we want included in the
# package via packages and tool.setuptools.package-data below.
include-package-data = false
packages = [
script-files = [
"mansrht" = ['default_query.graphql', 'schema.graphqls']
"mansrht.templates" = ['*.html']
"mansrht.static" = ['*']
"mansrht.static.icons" = ['*']


[man.sr.ht/patches/alpine.yml] build failed

builds.sr.ht <builds@sr.ht>
Message ID
<20240524100243.1964348-1-ch@bitfehler.net> (view parent)
DKIM signature
Download raw message
man.sr.ht/patches/alpine.yml: FAILED in 1m2s

[Preparations for PEP440 support][0] from [Conrad Hoffmann][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/52907
[1]: ch@bitfehler.net

✗ #1229927 FAILED man.sr.ht/patches/alpine.yml https://builds.sr.ht/~sircmpwn/job/1229927
Message ID
<20240524100243.1964348-1-ch@bitfehler.net> (view parent)
DKIM signature
Download raw message

To git@git.sr.ht:~sircmpwn/man.sr.ht
   8540644..e0febde  master -> master
Reply to thread Export thread (mbox)