Skip to content

Commit 35f31db

Browse files
committed
Add python-setuptools for Py 3.12 compat
https://aur.archlinux.org/cgit/aur.git/commit/?h=thelounge&id=6164139 Python chose to remove setuptools by default, leading to: Traceback (most recent call last): File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> import gyp # noqa: E402 ^^^^^^^^^^ File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> import gyp.input File "/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersion ModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/build/thelounge-git/src/thelounge/_build/node_modules/node-gyp/lib/configure.js:259:16) gyp ERR! stack at ChildProcess.emit (node:events:519:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) gyp ERR! System Linux 6.8.9-arch1-2 gyp ERR! command "/usr/bin/node" "/build/thelounge-git/src/thelounge/_build/node_modules/sqlite3/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /build/thelounge-git/src/thelounge/_build/node_modules/sqlite3 gyp ERR! node -v v21.7.3 gyp ERR! node-gyp -v v8.4.1 gyp ERR! not ok
1 parent 58c6d21 commit 35f31db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

thelounge-beta/.SRCINFO

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
pkgbase = thelounge-beta
22
pkgdesc = Modern self-hosted web IRC client (Latest release/pre-release)
33
pkgver = 4.4.3
4-
pkgrel = 1
4+
pkgrel = 2
55
url = https://thelounge.chat/
66
arch = any
77
license = MIT
88
makedepends = yarn
99
makedepends = python
10+
makedepends = python-setuptools
1011
makedepends = git
1112
depends = nodejs
1213
provides = thelounge

thelounge-beta/PKGBUILD

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ _pkgname=thelounge
55
pkgname=thelounge-beta
66
_pkgver=4.4.3
77
pkgver=${_pkgver/-/}
8-
pkgrel=1
8+
pkgrel=2
99
pkgdesc='Modern self-hosted web IRC client (Latest release/pre-release)'
1010
url='https://thelounge.chat/'
1111
arch=('any')
1212
license=('MIT')
1313
depends=('nodejs')
1414
options=('!lto')
15-
makedepends=('yarn' 'python' 'git')
15+
makedepends=('yarn' 'python' 'python-setuptools' 'git')
1616
conflicts=('thelounge')
1717
provides=('thelounge')
1818
backup=('etc/thelounge/config.js')

0 commit comments

Comments
 (0)