mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
python3-parsing: fix build cycle
This commit is contained in:
parent
9f4811b9ba
commit
c135cb7f2a
1 changed files with 14 additions and 6 deletions
|
@ -1,23 +1,31 @@
|
||||||
# Template file for 'python3-parsing'
|
# Template file for 'python3-parsing'
|
||||||
pkgname=python3-parsing
|
pkgname=python3-parsing
|
||||||
version=3.0.9
|
version=3.0.9
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-pep517
|
# This package is used by the python3-pep517 build style; using that style here
|
||||||
make_install_target="dist/pyparsing-${version}-*-*-*.whl"
|
# would create a build cycle
|
||||||
|
build_style=python3-module
|
||||||
# disable tests that need `python3-railroad` (not in repo)
|
# disable tests that need `python3-railroad` (not in repo)
|
||||||
make_check_args="-k not(testEmptyExpressionsAreHandledProperly)"
|
make_check_args="-k not(testEmptyExpressionsAreHandledProperly)"
|
||||||
make_check_target="--ignore=tests/test_diagram.py"
|
make_check_target="--ignore=tests/test_diagram.py"
|
||||||
hostmakedepends="python3-flit_core"
|
hostmakedepends="python3-flit_core python3-installer"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python parsing module"
|
short_desc="Python parsing module"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/pyparsing/pyparsing"
|
homepage="https://github.com/pyparsing/pyparsing"
|
||||||
changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES"
|
changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES"
|
||||||
distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz"
|
distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz"
|
||||||
checksum=7e8ce1684c517f57f945698fd3bbf86b36a2e60cd223f74886d3af04deb06306
|
checksum=7e8ce1684c517f57f945698fd3bbf86b36a2e60cd223f74886d3af04deb06306
|
||||||
|
|
||||||
post_install() {
|
do_build() {
|
||||||
|
python3 -m flit_core.wheel
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
python3 -m installer --destdir "${DESTDIR}" \
|
||||||
|
"dist/pyparsing-${version}-py3-none-any.whl"
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue