[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 08:29:39 UTC 2020
Date: Thursday, November 12, 2020 @ 08:29:39
Author: foutrelis
Revision: 751331
Add still-in-review fix for Python 3.9
Modified:
python-bleach/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 08:05:05 UTC (rev 751330)
+++ PKGBUILD 2020-11-12 08:29:39 UTC (rev 751331)
@@ -13,10 +13,18 @@
'python-setuptools')
checkdepends=('python-pytest')
-source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
+source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz
+ $pkgname-py39.patch::https://github.com/mozilla/bleach/commit/9ba905729f17.patch)
-sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080')
+sha256sums=('52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080'
+ '5b47567a3d47c8e4464b63d5d50abc38da55f2a67d2fa2f7c65041191ea6c156')
+prepare() {
+ cd "$srcdir"/bleach-$pkgver
+ # https://github.com/mozilla/bleach/pull/565
+ patch -Np1 -i ../$pkgname-py39.patch
+}
+
build() {
cd "$srcdir"/bleach-$pkgver
python setup.py build
More information about the arch-commits
mailing list