Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage4/python-pyparsing/DESCR
blob: 8c68470fb254133f28b2ba9bb8247d542ec4db9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# we bootstrap via python-pip-bootstrap, so we can not depend on the
# cycle introduced by low-level python modules
sed -i "/makedepends=/s/'python-setuptools'//" PKGBUILD
sed -i "/makedepends=/s/'python2-setuptools'//" PKGBUILD

# we don't want subversion, take official tarball
sed -i "/makedepends=/s/'subversion'//" PKGBUILD
sed -i 's@source=.*@source=(https://pypi.python.org/packages/3c/ec/a94f8cf7274ea60b5413df054f82a8980523efd712ec55a59e7c3357cf7c/pyparsing-2.2.0.tar.gz#md5=0214e42d63af850256962b6744c948d9)@' PKGBUILD
sed -i 's/pyparsing_$pkgver/pyparsing-$pkgver/g' PKGBUILD
sed -i 's@pyparsing-$pkgver/src@pyparsing-$pkgver@g' PKGBUILD
sed -i 's@pyparsing-$pkgver-py2/src@pyparsing-$pkgver-py2@g' PKGBUILD

# remove a really weird sed
sed -i 's/sed/#sed/g' PKGBUILD

ADDITIONAL_INSTALL_PACKAGE=python2-pyparsing

# check() fails, calling a unit test script which doesn't exist
#python: can't open file 'unitTests.py': [Errno 2] No such file or directory
#==> ERROR: A failure occurred in check().
#    Aborting...
SKIP_CHECK=1