35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'python3-parsing'
|
|
pkgname=python3-parsing
|
|
version=3.1.4
|
|
revision=1
|
|
# This package is used by the python3-pep517 build style; using that style here
|
|
# would create a build cycle
|
|
build_style=python3-module
|
|
# disable tests that need `python3-railroad` (not in repo)
|
|
make_check_args="
|
|
-k not(testEmptyExpressionsAreHandledProperly)
|
|
--ignore=tests/test_diagram.py
|
|
--deselect=tests/test_examples.py::TestExamples::test_range_check
|
|
"
|
|
hostmakedepends="python3-flit_core python3-installer"
|
|
depends="python3"
|
|
checkdepends="python3-pytest-xdist"
|
|
short_desc="Python parsing module"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/pyparsing/pyparsing"
|
|
changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES"
|
|
distfiles="${PYPI_SITE}/p/pyparsing/pyparsing-${version}.tar.gz"
|
|
checksum=f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032
|
|
|
|
do_build() {
|
|
python3 -m flit_core.wheel
|
|
}
|
|
|
|
do_install() {
|
|
python3 -m installer --destdir "${DESTDIR}" \
|
|
"dist/pyparsing-${version}-py3-none-any.whl"
|
|
|
|
vlicense LICENSE
|
|
}
|