summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6bf1deb8d92968742dc46dbae00ac33bda12ae9f (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
31
32
# Maintainer: Andrew Crerar <crerar@archlinux.org>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Hideaki Takahashi <mymelo+aur@gmail.com>
# Contributor: Vincent Demeester <vincent@sbr.pm>

pkgname=python-dockerpty
pkgver=0.4.1
pkgrel=11
pkgdesc="Python library to use the pseudo-tty of a docker container"
arch=('any')
license=('Apache')
url="https://github.com/d11wtq/dockerpty"
depends=('python-docker-py' 'python-six')
makedepends=('python-setuptools' 'python-docker-py' 'python-six' 'git')
checkdepends=('python-pytest' 'python-expects')
source=("git+https://github.com/d11wtq/dockerpty.git#tag=v$pkgver")
sha512sums=('SKIP')

build() {
  cd "$srcdir/dockerpty"
  python setup.py build
}

check() {
  cd "$srcdir/dockerpty"
  py.test
}

package() {
  cd dockerpty
  python setup.py install --root="${pkgdir}" --optimize=1
}