blob: 47f536fd079ea22781a5b3d25348e5c1ed14a21a (
plain) (
blame)
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
|
# 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 py3-iniconfig"
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"
|