From 7057cc06aae39037d7f0b84b51d7689ffbfe2249 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 20:15:41 +0000 Subject: user/py3-cffi: new package --- user/py3-cffi/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-cffi/APKBUILD (limited to 'user/py3-cffi') diff --git a/user/py3-cffi/APKBUILD b/user/py3-cffi/APKBUILD new file mode 100644 index 000000000..22a0301bd --- /dev/null +++ b/user/py3-cffi/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=py3-cffi +pkgver=1.11.5 +pkgrel=0 +pkgdesc="Interface for Python to call in to C code" +url="https://cffi.readthedocs.io/" +arch="all" +license="MIT" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +subpackages="" +source="https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-$pkgver.tar.gz" +builddir="$srcdir/cffi-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880 cffi-1.11.5.tar.gz" -- cgit v1.2.3-70-g09d2