[arch-commits] Commit in python-vmprof/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 15 16:37:44 UTC 2020
Date: Sunday, November 15, 2020 @ 16:37:44
Author: foutrelis
Revision: 754587
Fix build with GCC 10
Modified:
python-vmprof/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-15 16:37:12 UTC (rev 754586)
+++ PKGBUILD 2020-11-15 16:37:44 UTC (rev 754587)
@@ -15,13 +15,17 @@
# https://github.com/vmprof/vmprof-python/issues/215
# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}-python/archive/${pkgver}.tar.gz"
+ "${pkgname}-${pkgver}-gcc10.patch::https://github.com/vmprof/vmprof-python/commit/854191e03004.patch"
"${pkgname}-${pkgver}-pep479.patch")
sha512sums=('1815e3310ea83b241514e7773d89f8ee40425119dc7ba195d1fb513596bd63d64ad5d50b0dc0c33e10157469d2d772c5d6435362042971167238ac86f1689b01'
+ 'fe6eba8adb47c66f4c67d6559a83222e07fde23c75e732961e5e4370dea3fcfbcd1b81522adb37a321e92ba6ad87c58e887e20511c81e20669f39e6e1de87e30'
'ea085605b70a5cbf3629f5da0401747f1082bd7be3dda21ba036d7444cf48cebd3ad79312d70cd2daff652222f52201d4a4aee40c8c10fd15b7a4bb6ec03aa73')
prepare() {
mv -v "${_name}-python-$pkgver" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
+ # https://github.com/vmprof/vmprof-python/pull/203
+ patch -Np1 -i ../"${pkgname}-${pkgver}-gcc10.patch"
# fixing PEP479 problems:
# https://github.com/vmprof/vmprof-python/issues/188
patch -Np1 -i ../"${pkgname}-${pkgver}-pep479.patch"
More information about the arch-commits
mailing list