New package: python-cffi-0.8.6
This commit is contained in:
parent
7b25cff4b2
commit
679a147bc4
2 changed files with 28 additions and 0 deletions
27
srcpkgs/python-cffi/template
Normal file
27
srcpkgs/python-cffi/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'python-cffi'
|
||||||
|
pkgname=python-cffi
|
||||||
|
version=0.8.6
|
||||||
|
revision=1
|
||||||
|
wrksrc="cffi-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools libffi-devel"
|
||||||
|
makedepends="python-devel python3.4-devel libffi-devel"
|
||||||
|
depends="python-pycparser"
|
||||||
|
pycompile_module="cffi"
|
||||||
|
short_desc="C foreign function interface for Python2"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="http://cffi.readthedocs.org/"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
|
||||||
|
checksum=2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610
|
||||||
|
|
||||||
|
python3.4-cffi_package() {
|
||||||
|
depends="python3.4-pycparser"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="cffi"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-cffi
Symbolic link
1
srcpkgs/python3.4-cffi
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-cffi
|
Loading…
Add table
Add a link
Reference in a new issue