blob: 306164d36729eefe038bb7f13ecf21d2b641c3e5 (
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
|
# Maintainer: Philipp A. <flying-sheep@web.de>
# Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>
_name=asciitree
pkgname=python-asciitree
pkgver=0.3.3
pkgrel=2
pkgdesc='Draws +-- ASCII Trees'
arch=('any')
url='http://github.com/mbr/asciitree'
license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e')
build() {
python -m build -nw $_name-$pkgver
}
package() {
python -m installer \
--compile-bytecode 1 \
--destdir $pkgdir \
$_name-$pkgver/dist/${_name}-${pkgver}-*.whl
}
|