void-packages/srcpkgs/python-cffi/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

30 lines
815 B
Bash

# Template file for 'python-cffi'
pkgname=python-cffi
version=1.11.2
revision=1
wrksrc="cffi-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools libffi-devel"
makedepends="python-devel python3-devel libffi-devel"
depends="python-pycparser"
pycompile_module="cffi"
short_desc="C foreign function interface for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://cffi.readthedocs.io/"
license="MIT"
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
checksum=ab87dd91c0c4073758d07334c1e5f712ce8fe48f007b86f8238773963ee700a6
post_install() {
vlicense LICENSE
}
python3-cffi_package() {
depends="python3-pycparser"
pycompile_module="cffi"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}