aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-ptyprocess/APKBUILD
blob: 1f1a6f8f13f9964dc9ec3f506d887d853c70a4c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                          

                      
            
        



                                               

                            
                   
                                                                                                          

                                    


                                                                   
         
                              

 

                           

 

                                                               

 
 
                                                                                                                                                                      
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-ptyprocess
_pkgname=ptyprocess
pkgver=0.7.0
pkgrel=1
pkgdesc="Run a subprocess in a pseudo terminal"
url="https://github.com/pexpect/ptyprocess"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
checkdepends="bash"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-ptyprocess" # Backwards compatibility
provides="py-ptyprocess=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

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


sha512sums="791d8f2e79900627215ce80ce67ee9c79173dbc08297c6219d5058f9b80c5e323b93049e6836a70c4073f43548d22e3cf310f2e9948ef12f96bcaa15b0ddb2f3  ptyprocess-0.7.0.tar.gz"