aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-dockerpty/APKBUILD
blob: bfe9394b335b685b00b9d0d7084dc727a97b2553 (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
27
28
29
30
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-dockerpty
pkgver=0.4.1
pkgrel=2
pkgdesc="Python library to use the pseudo-tty of a docker container"
url="https://github.com/d11wtq/dockerpty"
arch="noarch"
license="Apache-2.0"
depends="python3 docker-py"
makedepends="python3-dev py3-setuptools"
source="https://pypi.io/packages/source/d/dockerpty/dockerpty-$pkgver.tar.gz"
builddir="$srcdir/dockerpty-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="6afbc7ef5e352853b0d908ec047fe16e1fe513fae49ccc83142a77429f808b7e24201d47ebf83e21db4a05272308124516f9be5a57ed6c4e47e73837003562ea  dockerpty-0.4.1.tar.gz"