Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage4/python-pyparsing
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
commitdb55b0cb8ec387d6eca65eaebbd428fdc12510ba (patch)
treebfb04428c861d3bd8adf06296bb48fd7c2ccd248 /i486-stage4/python-pyparsing
parentf0626a194c605f3b4f26c0897c6a41af128628ea (diff)
building up to gcc in stage4
Diffstat (limited to 'i486-stage4/python-pyparsing')
-rw-r--r--i486-stage4/python-pyparsing/DESCR22
1 files changed, 22 insertions, 0 deletions
diff --git a/i486-stage4/python-pyparsing/DESCR b/i486-stage4/python-pyparsing/DESCR
new file mode 100644
index 0000000..8c68470
--- /dev/null
+++ b/i486-stage4/python-pyparsing/DESCR
@@ -0,0 +1,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