blob: b1ed948fb589f0674390b93c92aa2ab0402a5963 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-pyparsing
_pkgname=pyparsing
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.3.1
pkgrel=0
pkgdesc="Python parsing module"
url="https://pypi.python.org/pypi/pyparsing"
arch="noarch"
options="!check" # Multiple problems in tests.
license="MIT"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="fc8342780c38fd08c07d0b885c4d6c77d59f38098aa13c3abd05a790ee6caf2065a0bdab33bc290a6e2da123f4ac7e38c049e389b740546499dc48eba7ae431f py3-pyparsing-2.3.1.tar.gz"
|