python-pycparser: update to 2.21.
This commit is contained in:
parent
412a44303e
commit
f86fced752
1 changed files with 8 additions and 5 deletions
|
@ -1,18 +1,22 @@
|
||||||
# Template file for 'python-pycparser'
|
# Template file for 'python-pycparser'
|
||||||
pkgname=python-pycparser
|
pkgname=python-pycparser
|
||||||
version=2.20
|
version=2.21
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="pycparser-${version}"
|
wrksrc="pycparser-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="pycparser"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-ply"
|
depends="python-ply"
|
||||||
|
checkdepends="python3-ply python3-pytest"
|
||||||
short_desc="Complete C99 parser in pure Python (Python2)"
|
short_desc="Complete C99 parser in pure Python (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/eliben/pycparser"
|
homepage="https://github.com/eliben/pycparser"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
|
||||||
checksum=2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0
|
checksum=e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 -m pytest
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# replace bundled copy of ply
|
# replace bundled copy of ply
|
||||||
|
@ -25,7 +29,6 @@ post_install() {
|
||||||
|
|
||||||
python3-pycparser_package() {
|
python3-pycparser_package() {
|
||||||
depends="python3-ply"
|
depends="python3-ply"
|
||||||
pycompile_module="pycparser"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue