blob: 07ede54752871c0c281cc89fa23366968471b716 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-sfdutf7
_pkgname=${pkgname#python-}
pkgver=0.1.0
pkgrel=3
pkgdesc='SFDUTF7 encoder/decoder library '
arch=(any)
url="https://github.com/ctrlcctrlv/$_pkgname.py"
license=(Apache-2.0)
depends=(python)
makedepends=(python-{build,installer,wheel}
python-setuptools)
_archive="$_pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
sha256sums=('2f1e61c431de0e04d211280d3b07374f415c778cc1b0b7752e71d0e03ea12f20')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|