APKBUILD 849 Bytes
Newer Older
1 2 3 4
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-blessings
_pkgname=blessings
5
pkgver=1.6.1
6
pkgrel=3
7
pkgdesc="A Python wrapper around terminal coloring, styling and positioning"
8 9 10
url="https://github.com/erikrose/blessings"
arch="noarch"
license="MIT"
11
depends="python2"
12
makedepends="python2-dev py-setuptools"
13
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
14

15
builddir="$srcdir/$_pkgname-$pkgver"
16 17

build() {
18 19
	cd "$builddir"
	python2 setup.py build
20 21 22
}

package() {
23 24
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
25 26
}

27
sha512sums="7a4b051e448cddde7e8ce24106ce0d5d893eb442b19fff04f9ddf28381dfa1b4bdd4be79b87782162b2ead13597a346f533edb944130f2e5bc39aa936ca48db2  blessings-1.6.1.tar.gz"