blob: 494975b445425dcc8d6ec5d595c23986e92c5e0f (
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
|
# Maintainer: SZanko szanko at protonmail dot com
pkgname=python-benedict
pkgver=0.33.0
pkgrel=1
pkgdesc="dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities."
arch=('any')
url="https://github.com/fabiocaccamo/python-benedict"
license=('MIT')
depends=(
'python'
'python-beautifulsoup4'
'python-boto3'
'python-ftfy'
'python-mailchecker'
'python-phonenumbers'
'python-dateutil'
'python-fsutil'
'python-openpyxl'
'python-slugify'
'python-pyaml'
'python-requests'
'python-six'
'python-toml'
'python-xlrd'
'python-xmltodict'
)
makedepends=(
'python-build'
'python-installer'
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=(
'161472c40c6e666098097a2ed8b6810aae65bb9919adfb96048a3737b7093242'
)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python3 -m build --wheel --skip-dependency-check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python3 -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|