Package Details: shellgpt-git 0.9.4.r0.g1c58566-1

Git Clone URL: https://aur.archlinux.org/shellgpt-git.git (read-only, click to copy)
Package Base: shellgpt-git
Description: A command-line productivity tool powered by OpenAI's ChatGPT (GPT-3.5)
Upstream URL: https://github.com/TheR1D/shell_gpt
Keywords: chatgpt openai shellgpt
Licenses: MIT
Provides: shellgpt-git
Submitter: Feresey
Maintainer: Feresey
Last Packager: Feresey
Votes: 4
Popularity: 0.60
First Submitted: 2023-03-25 13:05 (UTC)
Last Updated: 2023-07-21 07:58 (UTC)

Latest Comments

Feresey commented on 2023-06-19 20:33 (UTC)

@SanPioneer, thanks!

SanPioneer commented on 2023-05-08 22:29 (UTC)

You also need python-typing_extensions

Feresey commented on 2023-04-20 19:17 (UTC)

@jcassee, Thank you for your contribution!

jcassee commented on 2023-04-20 18:36 (UTC)

Hi, not sure how to contribute another way, but I used this patch to build the latest version of shellgpt:

diff --git a/PKGBUILD b/PKGBUILD
index a1c0ce9..b4fddcc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,11 @@ arch=('any')
 url="https://github.com/TheR1D/shell_gpt"
 license=('MIT')
 provides=("${pkgname}")
-makedepends=('git')
+makedepends=(
+    'git'
+    'python'
+    'python-hatchling'
+)
 depends=(
     'python'
     'python-typer'
@@ -23,10 +27,16 @@ depends=(
 source=("git+https://github.com/TheR1D/shell_gpt.git")
 sha256sums=('SKIP')

+build() {
+    cd ${srcdir}/${_pkgname}
+
+    python -m build .
+}
+
 package() {
     cd ${srcdir}/${_pkgname}

+    python -m installer --destdir="$pkgdir" dist/*.whl
     install -D -m644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" LICENSE
     install -D -m644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-    python ./setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
 }