Date: Friday, April 24, 2020 @ 07:29:27 Author: yan12125 Revision: 618976
upgpkg: python-botocore 1.15.42-2; add a patch for docutils-0.16 compatibility (FS#65911) Added: python-botocore/trunk/docutils-0.16.patch Modified: python-botocore/trunk/PKGBUILD ---------------------+ PKGBUILD | 14 +++++++++++--- docutils-0.16.patch | 22 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-04-24 07:26:13 UTC (rev 618975) +++ PKGBUILD 2020-04-24 07:29:27 UTC (rev 618976) @@ -5,7 +5,7 @@ pkgname=python-botocore pkgver=1.15.42 -pkgrel=1 +pkgrel=2 pkgdesc='A low-level interface to a growing number of Amazon Web Services' arch=('any') url="https://github.com/boto/botocore" @@ -12,9 +12,17 @@ license=('Apache') depends=('python-dateutil' 'python-jmespath' 'python-docutils' 'python-urllib3') makedepends=('python-setuptools') -source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) -md5sums=('e11e303e59ed8b80ded90cdaee5fd8fc') +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz + docutils-0.16.patch) +md5sums=('e11e303e59ed8b80ded90cdaee5fd8fc' + 'a7cd91ca093446fa30459a9f43170b29') +prepare() { + cd botocore-$pkgver + # https://github.com/boto/botocore/pull/2011 + patch -Np1 -i ../docutils-0.16.patch +} + build() { cd botocore-$pkgver python setup.py build Added: docutils-0.16.patch =================================================================== --- docutils-0.16.patch (rev 0) +++ docutils-0.16.patch 2020-04-24 07:29:27 UTC (rev 618976) @@ -0,0 +1,22 @@ +From 492c79185ac2f0bec928784a0c48868b973fe6a4 Mon Sep 17 00:00:00 2001 +From: Sebastian P <mo...@users.noreply.github.com> +Date: Fri, 17 Jan 2020 14:19:19 +0100 +Subject: [PATCH] setup.py: Allow use with docutils >=0.16 + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index edc357897..555e5ef9f 100644 +--- a/setup.py ++++ b/setup.py +@@ -25,7 +25,7 @@ def find_version(*file_paths): + + requires = [ + 'jmespath>=0.7.1,<1.0.0', +- 'docutils>=0.10,<0.16', ++ 'docutils>=0.10,<1.0.0', + 'python-dateutil>=2.1,<3.0.0', + ] +