diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 9 deletions
@@ -1,13 +1,15 @@ pkgbase = python-asciitree pkgdesc = Draws +-- ASCII Trees pkgver = 0.3.3 - pkgrel = 1 + pkgrel = 2 url = http://github.com/mbr/asciitree arch = any license = MIT - depends = python-build - depends = python-installer - depends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-wheel + depends = python source = https://files.pythonhosted.org/packages/source/a/asciitree/asciitree-0.3.3.tar.gz sha256sums = 4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e @@ -3,7 +3,7 @@ _name=asciitree pkgname=python-asciitree pkgver=0.3.3 -pkgrel=1 +pkgrel=2 pkgdesc='Draws +-- ASCII Trees' arch=('any') url='http://github.com/mbr/asciitree' @@ -14,14 +14,12 @@ source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_nam sha256sums=('4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e') build() { - cd "$_name-$pkgver" - python -m build -n -w + python -m build -nw $_name-$pkgver } package() { - cd "$_name-$pkgver" python -m installer \ --compile-bytecode 1 \ --destdir $pkgdir \ - dist/${_name}-${pkgver}-*.whl + $_name-$pkgver/dist/${_name}-${pkgver}-*.whl } |