Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage3/python-pyparsing
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-10 21:35:47 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-10 21:35:47 +0100
commitc8daadccefa390907f500ca3a2621312e2a2dcb6 (patch)
tree5b14e1edd1893dd75922fc4b6dbf2b4e97d40c36 /i486-stage3/python-pyparsing
parent9d8946a6ecfc19d01d8da12f20572bbfc556977f (diff)
building up to meson
Diffstat (limited to 'i486-stage3/python-pyparsing')
-rw-r--r--i486-stage3/python-pyparsing/DESCR16
1 files changed, 16 insertions, 0 deletions
diff --git a/i486-stage3/python-pyparsing/DESCR b/i486-stage3/python-pyparsing/DESCR
new file mode 100644
index 0000000..8667bc9
--- /dev/null
+++ b/i486-stage3/python-pyparsing/DESCR
@@ -0,0 +1,16 @@
+# 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