python-cffi: update to 1.12.3.
This commit is contained in:
parent
9cc41403cc
commit
aadb64a01c
1 changed files with 14 additions and 5 deletions
|
@ -1,19 +1,28 @@
|
||||||
# Template file for 'python-cffi'
|
# Template file for 'python-cffi'
|
||||||
pkgname=python-cffi
|
pkgname=python-cffi
|
||||||
version=1.11.5
|
version=1.12.3
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="cffi-${version}"
|
wrksrc="cffi-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
pycompile_module="cffi"
|
||||||
hostmakedepends="python-setuptools python3-setuptools libffi-devel"
|
hostmakedepends="python-setuptools python3-setuptools libffi-devel"
|
||||||
makedepends="python-devel python3-devel libffi-devel"
|
makedepends="python-devel python3-devel libffi-devel"
|
||||||
depends="python-pycparser"
|
depends="python-pycparser"
|
||||||
pycompile_module="cffi"
|
checkdepends="python-pytest python3-pytest python-pycparser
|
||||||
|
python3-pycparser"
|
||||||
short_desc="C foreign function interface for Python2"
|
short_desc="C foreign function interface for Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://cffi.readthedocs.io/"
|
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
homepage="https://cffi.readthedocs.io/"
|
||||||
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cffi/cffi-${version}.tar.gz"
|
||||||
checksum=e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4
|
checksum=041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python2 setup.py build_ext -i
|
||||||
|
python2 -m pytest c/ testing/
|
||||||
|
python3 setup.py build_ext -i
|
||||||
|
python3 -m pytest c/ testing/
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in a new issue