1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/py3-dockerpty/APKBUILD
2021-04-05 18:18:20 +00:00

30 lines
802 B
Text

# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=py3-dockerpty
pkgver=0.4.1
pkgrel=3
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"