[arch-commits] Commit in python-moto/trunk (PKGBUILD remove-dep-upper-bounds.patch)
Chih-Hsuan Yen
yan12125 at archlinux.org
Mon May 6 11:26:10 UTC 2019
Date: Monday, May 6, 2019 @ 11:26:09
Author: yan12125
Revision: 460686
upgpkg: python-moto 1.3.8-1
aiobotocore is still not compatible with moto 1.3.8, but buildbot 2.3.0
requires moto 1.3.8 [1]. I will skip broken tests in aiobotocore later.
[1] https://github.com/buildbot/buildbot/commit/6ab2b33eaf983c7720dfd0f212904afd30df1d1f
Modified:
python-moto/trunk/PKGBUILD
Deleted:
python-moto/trunk/remove-dep-upper-bounds.patch
-------------------------------+
PKGBUILD | 19 +++++++------------
remove-dep-upper-bounds.patch | 19 -------------------
2 files changed, 7 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-06 11:25:38 UTC (rev 460685)
+++ PKGBUILD 2019-05-06 11:26:09 UTC (rev 460686)
@@ -3,8 +3,8 @@
pkgname=python-moto
_pkgname=moto
-pkgver=1.3.7
-pkgrel=2
+pkgver=1.3.8
+pkgrel=1
pkgdesc='Moto is a library to mock out the boto library.'
arch=(any)
url='https://github.com/spulec/moto'
@@ -13,18 +13,17 @@
python-cryptography python-dateutil python-docker python-jinja
python-jsondiff python-jose python-mock python-pyaml
python-pytz python-requests python-responses python-xmltodict
- python-werkzeug)
+ python-werkzeug python-cfn-lint)
checkdepends=(python-flask python-freezegun python-nose python-sure tk)
makedepends=(python-setuptools)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/spulec/moto/archive/$pkgver.tar.gz"
- remove-dep-upper-bounds.patch)
-sha256sums=('5431738fef3bc3b589e37123df496b63d3c1348a49f3632d1c05da566b839cbe'
- 'f7c965571483b5b77419b0448ec98675bf4ec2b657c95dc7320d1eb1f2b81fb9')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/spulec/moto/archive/$pkgver.tar.gz")
+sha256sums=('4463fd4af94501285b3e45b6ba341a9fea17847c3656dc63d2591da4b4ec12b8')
prepare() {
cd $_pkgname-$pkgver
- patch -Np1 -i ../remove-dep-upper-bounds.patch
+ # Remove upper bounds of dependencies
+ sed --in-place=.orig -r 's#<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
}
build() {
@@ -36,10 +35,6 @@
check() {
cd $_pkgname-$pkgver
- # https://github.com/spulec/moto/issues/1924
- export AWS_SECRET_ACCESS_KEY=foobar_secret
- export AWS_ACCESS_KEY_ID=foobar_key
-
TZ=UTC nosetests -sv ./tests/ --exclude='test_iot.*' --exclude='test_lambda.*'
}
Deleted: remove-dep-upper-bounds.patch
===================================================================
--- remove-dep-upper-bounds.patch 2019-05-06 11:25:38 UTC (rev 460685)
+++ remove-dep-upper-bounds.patch 2019-05-06 11:26:09 UTC (rev 460686)
@@ -1,19 +0,0 @@
---- moto-1.3.4/setup.py.orig 2018-08-09 12:30:08.975654988 +0800
-+++ moto-1.3.4/setup.py 2018-08-09 12:31:18.255654986 +0800
-@@ -18,12 +18,12 @@
- "werkzeug",
- "pyaml",
- "pytz",
-- "python-dateutil<3.0.0,>=2.1",
-- "python-jose<3.0.0",
-+ "python-dateutil>=2.1",
-+ "python-jose",
- "mock",
- "docker>=2.5.1",
-- "jsondiff==1.1.1",
-- "aws-xray-sdk<0.96,>=0.93",
-+ "jsondiff>=1.1.1",
-+ "aws-xray-sdk>=0.93",
- "responses>=0.9.0",
- ]
-
More information about the arch-commits
mailing list