void-packages/srcpkgs/python-cffi/template

25 lines
706 B
Bash

# Template file for 'python-cffi'
pkgname=python-cffi
reverts="1.16.0_1"
version=1.15.1
revision=3
build_style=python2-module
hostmakedepends="python-setuptools libffi-devel"
makedepends="python-devel libffi-devel"
depends="python-pycparser"
short_desc="C foreign function interface for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://cffi.readthedocs.io/"
changelog="https://cffi.readthedocs.io/en/latest/whatsnew.html"
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
checksum=d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
post_install() {
vlicense LICENSE
}