blob: 7fd4eb4b8ff587e4bd7cfbbd5fd7322ca397a691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: brokenpip3 <brokenpip3[at]gmail[dot]com>
pkgname=gpt-engineer
pkgver=0.3.1
pkgrel=2
pkgdesc='Specify what you want it to build, the AI asks for clarification, and then builds it.'
arch=(any)
url='https://github.com/gpt-engineer-org/gpt-engineer'
license=('MIT')
depends=(
'python>=3.10'
python-backoff
python-black
python-dataclasses-json
python-dotenv
python-langchain
python-langchain-community
python-openai
python-pyperclip
python-regex
python-tabulate
python-termcolor
python-tiktoken
python-toml
python-tomlkit
python-typer
python-yaml
)
makedepends=(
python-build
python-installer
python-poetry-core
python-wheel
)
install=gpt-engineer.install
source=("https://pypi.org/packages/source/${pkgname::1}/${pkgname}/${pkgname/-/_}-${pkgver}.tar.gz")
# source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e7646c8421a47a12a4e6114c184f40a2e6c2f9fad3af03cf7ed9eb34a545eae0')
build() {
cd "${pkgname/-/_}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname/-/_}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|