aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-shellingham/APKBUILD
blob: e55788a6ff5da7b1122953732572fbaba88d455c (plain) (blame)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-shellingham
_realname=shellingham
pkgver=1.3.1
pkgrel=1
pkgdesc="Python3 module to poke around and find out running shell"
options="!check" # Requires unpackaged dependencies
url="https://github.com/sarugaku/shellingham"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/shellingham/archive/$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ba728bed5b3c0d715e8557f8364e98eebc006a4375b6e1a9c4be92571cd71c7bf6856571f3bf66879c8075fdfebc0a54a6a5190c40811b028616c5b28808d832  py3-shellingham-1.3.1.tar.gz"