From 615bd2cb2bd673cc7f65f70667fef72669c97a59 Mon Sep 17 00:00:00 2001 From: Oleg Titov Date: Thu, 2 Jan 2020 11:45:36 -0600 Subject: testing/py3-srsly: upgrade to 2.0.0 - Ref https://github.com/explosion/srsly/releases - Remove ujson-float-check.patch as it was merged upstream --- testing/py3-srsly/APKBUILD | 8 +++----- testing/py3-srsly/ujson-float-check.patch | 22 ---------------------- 2 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 testing/py3-srsly/ujson-float-check.patch diff --git a/testing/py3-srsly/APKBUILD b/testing/py3-srsly/APKBUILD index bf9739747e..95f12900cf 100644 --- a/testing/py3-srsly/APKBUILD +++ b/testing/py3-srsly/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=py3-srsly -pkgver=0.2.0 +pkgver=2.0.0 pkgrel=0 pkgdesc="Modern high-performance serialization utilities for Python" url="https://github.com/explosion/srsly" @@ -11,8 +11,7 @@ depends="python3 py3-numpy py3-tz" makedepends="python3-dev py3-setuptools cython" checkdepends="py3-pytest py3-pytest-timeout py3-mock" subpackages="$pkgname-doc" -source="srsly-$pkgver.tar.gz::https://github.com/explosion/srsly/archive/v$pkgver.tar.gz - ujson-float-check.patch" +source="srsly-$pkgver.tar.gz::https://github.com/explosion/srsly/archive/v$pkgver.tar.gz" builddir="$srcdir/srsly-$pkgver" build() { @@ -29,5 +28,4 @@ package() { install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" } -sha512sums="2ffd145160d2b3003eed55f60e9904458abc9f3d9ba27d79370531ddcaced111643d527bc4b26afddc0ce38fa0a59dd8e8116ee56c4067ea7ba1ed2c1083571c srsly-0.2.0.tar.gz -d8620217181fbedc9e32a5383a41098940a5bdf2d91cfa08842b084865101dd4ec5e8038b37d7f7c4025c8d09dabecdeb199d51c584a21258fcd6abcce9065b5 ujson-float-check.patch" +sha512sums="c0c275f2f006907c9b6cbccbdc3a070473285e9a2fe112c3277e28249254a878cd74648ce8b0b6d60091d8b87ecc01b0af42f86b172c92c7b678446ae036f641 srsly-2.0.0.tar.gz" diff --git a/testing/py3-srsly/ujson-float-check.patch b/testing/py3-srsly/ujson-float-check.patch deleted file mode 100644 index eee9fadc5a..0000000000 --- a/testing/py3-srsly/ujson-float-check.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/srsly/tests/ujson/test_ujson.py b/srsly/tests/ujson/test_ujson.py -index 38facec..7a789ae 100644 ---- a/srsly/tests/ujson/test_ujson.py -+++ b/srsly/tests/ujson/test_ujson.py -@@ -758,7 +758,7 @@ class UltraJSONTests(unittest.TestCase): - self.assertEqual(-1.4567893, ujson.loads("-1.4567893")) - self.assertEqual(-1.567893, ujson.loads("-1.567893")) - self.assertEqual(-1.67893, ujson.loads("-1.67893")) -- self.assertEqual(-1.7893, ujson.loads("-1.7893")) -+ self.assertEqual(-1.7894, ujson.loads("-1.7894")) - self.assertEqual(-1.893, ujson.loads("-1.893")) - self.assertEqual(-1.3, ujson.loads("-1.3")) - -@@ -768,7 +768,7 @@ class UltraJSONTests(unittest.TestCase): - self.assertEqual(1.4567893, ujson.loads("1.4567893")) - self.assertEqual(1.567893, ujson.loads("1.567893")) - self.assertEqual(1.67893, ujson.loads("1.67893")) -- self.assertEqual(1.7893, ujson.loads("1.7893")) -+ self.assertEqual(1.7894, ujson.loads("1.7894")) - self.assertEqual(1.893, ujson.loads("1.893")) - self.assertEqual(1.3, ujson.loads("1.3")) - -- cgit v1.2.3