diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2020-01-02 11:45:36 -0600 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-02 19:45:34 +0100 |
commit | 615bd2cb2bd673cc7f65f70667fef72669c97a59 (patch) | |
tree | 15e230629820c535f5c7fc5141e95f2f98d05ed1 | |
parent | 73a95d6ab0c13f84c2e03026bc174747fe923db6 (diff) | |
download | aports-615bd2cb2bd673cc7f65f70667fef72669c97a59.tar.bz2 aports-615bd2cb2bd673cc7f65f70667fef72669c97a59.tar.xz |
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
-rw-r--r-- | testing/py3-srsly/APKBUILD | 8 | ||||
-rw-r--r-- | testing/py3-srsly/ujson-float-check.patch | 22 |
2 files changed, 3 insertions, 27 deletions
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 <oleg.titov@gmail.com> # Maintainer: Oleg Titov <oleg.titov@gmail.com> 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")) - |