blob: 073ae5b33046b1153c6ec568524f0ae9578766de (
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
|
# Maintainer:
# Contributor: quellen <lodgerz@gmail.com>
## links
# https://pypi.org/project/amitools
# https://github.com/cnvogelg/amitools
_pkgname="amitools"
pkgname="$_pkgname"
pkgver=0.8.0
pkgrel=3
pkgdesc="Various tools for using AmigaOS programs on other platforms"
url="https://github.com/cnvogelg/amitools"
license=('GPL-2.0-only')
arch=('any')
depends=(
'python'
'python-lhafile'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-setuptools-scm'
'python-wheel'
)
optdepends=(
'python-machine68k: cpu emulator for vamos'
)
_module="amitools"
_pkgsrc="$_module-$pkgver"
_pkgext="tar.gz"
source+=(
"$_pkgsrc.$_pkgext"::"https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.$_pkgext"
)
sha256sums+=(
'3ddf1e145ae28990fa59d4e27728d877446cfc45b02c4807ddad31dcdb6bc4b7'
)
build() {
cd "$_pkgsrc"
python -m build --no-isolation --wheel --skip-dependency-check
}
package() {
cd "$_pkgsrc"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|