diff --git a/packages/python2-botocore/PKGBUILD b/packages/python2-botocore/PKGBUILD index d6738c57cbe..f15a5ad33ba 100644 --- a/packages/python2-botocore/PKGBUILD +++ b/packages/python2-botocore/PKGBUILD @@ -4,7 +4,7 @@ pkgname=python2-botocore _pkgname=botocore pkgver=1.13.19 -pkgrel=1 +pkgrel=2 pkgdesc='Low-level, data-driven core of boto 3.' url='https://pypi.org/project/botocore/#files' arch=('any') @@ -13,13 +13,7 @@ depends=('python2' 'python2-urllib3' 'python2-dateutil' 'python2-jmespath' 'python2-docutils') makedepends=('python2-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") - 'setup.py.patch') sha512sums=('86a1f6e5cd5a5f13b9ae2ceb1f113a136604b97888dd71775d7f6627081fa3704acb8f64143c274839658431f1196f2f35f13b3e2bc6d6ddb916cb5693881c5b') - '42e458fd81149780171c4e8b17b0569fa57fa30f645b5775ad895e2e3b13e8d1e8df629c70cc609622335e8655eb712d904c57271dce6dc4e8c35ecb0f3c3d7c') - -prepare() { - patch -p1 < setup.py.patch -} build() { cd "$_pkgname-$pkgver" diff --git a/packages/python2-botocore/setup.py.patch b/packages/python2-botocore/setup.py.patch deleted file mode 100644 index 073012e2d01..00000000000 --- a/packages/python2-botocore/setup.py.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- src/botocore-1.13.14/setup.py 2019-11-08 20:12:56.000000000 +0100 -+++ setup.py 2019-11-15 23:35:31.346664982 +0100 -@@ -23,31 +23,31 @@ - raise RuntimeError("Unable to find version string.") - - --requires = ['jmespath>=0.7.1,<1.0.0', -- 'docutils>=0.10,<0.16'] -+requires = ['jmespath', -+ 'docutils'] - - - if sys.version_info[:2] == (2, 6): - # For python2.6 we have a few other dependencies. - # First we need an ordered dictionary so we use the - # 2.6 backport. -- requires.append('ordereddict==1.1') -+ requires.append('ordereddict') - # Then we need simplejson. This is because we need - # a json version that allows us to specify we want to - # use an ordereddict instead of a normal dict for the - # JSON objects. The 2.7 json module has this. For 2.6 - # we need simplejson. -- requires.append('simplejson==3.3.0') -- requires.append('python-dateutil>=2.1,<2.7.0') -+ requires.append('simplejson') -+ requires.append('python-dateutil') - else: -- requires.append('python-dateutil>=2.1,<2.8.1') -+ requires.append('python-dateutil') - - if sys.version_info[:2] == (2, 6): -- requires.append('urllib3>=1.20,<1.24') -+ requires.append('urllib3') - elif sys.version_info[:2] == (3, 3): -- requires.append('urllib3>=1.20,<1.23') -+ requires.append('urllib3') - else: -- requires.append('urllib3>=1.20,<1.26') -+ requires.append('urllib3') - - - setup( -@@ -65,8 +65,8 @@ - install_requires=requires, - extras_require={ - ':python_version=="2.6"': [ -- 'ordereddict==1.1', -- 'simplejson==3.3.0', -+ 'ordereddict', -+ 'simplejson', - ] - }, - license="Apache License 2.0",