[arch-commits] Commit in python-awkward/trunk (PKGBUILD deserialize.patch)

Konstantin Gizdov kgizdov at archlinux.org
Tue Jan 26 11:49:13 UTC 2021


    Date: Tuesday, January 26, 2021 @ 11:49:13
  Author: kgizdov
Revision: 830691

upgpkg: python-awkward 0.15.3-1

Modified:
  python-awkward/trunk/PKGBUILD
Deleted:
  python-awkward/trunk/deserialize.patch

-------------------+
 PKGBUILD          |   13 +++----------
 deserialize.patch |   15 ---------------
 2 files changed, 3 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 11:33:16 UTC (rev 830690)
+++ PKGBUILD	2021-01-26 11:49:13 UTC (rev 830691)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-awkward
-pkgver=0.15.2
+pkgver=0.15.3
 pkgrel=1
 pkgdesc="Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy"
 url="https://github.com/scikit-hep/awkward-0.x"
@@ -10,16 +10,9 @@
 depends=('python-numpy')
 makedepends=('python-setuptools' 'python-pytest-runner')
 checkdepends=('python-h5py' 'python-pandas')
-source=("https://github.com/scikit-hep/awkward-0.x/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        'deserialize.patch')
-sha512sums=('6311e6d94b6a4cc50b9390f2d53e0ccaf67516debc00178fceddbc99912469c5f3345b43a3ed4b956dc7780e2bd565c884eea632151f1730d6a9581f0adb2018'
-            '1f168fd68560743f68149e34c33be4a177bc5f9eb526fa7a6fa061c5fb97c70577daaa53e8c763bedc9d6708f2a0ffd8eff1eee402ac162039a0841290c49a15')
+source=("https://github.com/scikit-hep/awkward-0.x/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('5acb08af17b5d39283d0c895d4c08c35ef3ed798b9fc8adc9177165919457c4ede596e2cbdab26a082eef452032714e4a78210f43ae19fc8d911b236c72937cb')
 
-prepare() {
-  cd awkward-0.x-$pkgver
-  patch -Np1 -i "${srcdir}/deserialize.patch"
-}
-
 build() {
   cd awkward-0.x-$pkgver
   python setup.py build

Deleted: deserialize.patch
===================================================================
--- deserialize.patch	2021-01-26 11:33:16 UTC (rev 830690)
+++ deserialize.patch	2021-01-26 11:49:13 UTC (rev 830691)
@@ -1,15 +0,0 @@
-diff --git a/awkward0/persist.py b/awkward0/persist.py
-index 29c1597..e96ccca 100644
---- a/awkward0/persist.py
-+++ b/awkward0/persist.py
-@@ -511,8 +511,8 @@ def deserialize(storage, name="", whitelist=whitelist, cache=None, seen=None):
-         schema = schema.decode("ascii")
-     schema = json.loads(schema)
- 
--    if "awkward" not in schema:
--        raise ValueError("JSON object is not an Awkward Array schema (missing 'awkward' field)")
-+    if "awkward" not in schema and "awkward0" not in schema:
-+        raise ValueError("JSON object is not an Awkward Array schema (missing 'awkward' or 'awkward0' field). schema is: {}".format(schema))
- 
-     prefix = schema.get("prefix", "")
-     if seen is None:



More information about the arch-commits mailing list