summaryrefslogblamecommitdiff
path: root/user/py3-cffi/APKBUILD
blob: 408ed4ab57b16999db1f6c0e33432aff0500e1c5 (plain) (tree)
1
2
3
4
5
6
7


                                                  
             

                      
             




                                                   
                             
                                    

                         
                                                                                                                       
                                    

         



                              



                             


                                                               
                                                                                                                                                                     
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-cffi
_pkgname=cffi
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.14.1
pkgrel=0
pkgdesc="Interface for Python to call in to C code"
url="https://cffi.readthedocs.io/"
arch="all"
license="MIT"
depends="python3 py3-cparser"
makedepends="libffi-dev python3-dev"
checkdepends="py3-pytest"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="bf000904e3d1ece122f49b8c166636c67987e9bf2e34b613d8e013692ed319581f393cd9570d7f050e5c492a8bc1c4cb5bb56eb50c68f9feea973c1e56c951c0  py3-cffi-1.14.1.tar.gz"