Sascha Steinbiss pushed to branch master at Debian Med / python-awkward


Commits:
9b3d7a70 by Sascha Steinbiss at 2024-02-19T18:52:48+01:00
add myself to d/copyright

- - - - -
e4525de5 by Sascha Steinbiss at 2024-02-19T18:52:54+01:00
complete dependencies

- - - - -
1a8caecf by Sascha Steinbiss at 2024-02-19T18:53:01+01:00
add upstream metadata

- - - - -
b53d7cd6 by Sascha Steinbiss at 2024-02-19T18:53:13+01:00
add minimal autopkgtest

- - - - -


5 changed files:

- debian/control
- debian/copyright
- + debian/tests/control
- + debian/tests/python-test
- + debian/upstream/metadata


Changes:

=====================================
debian/control
=====================================
@@ -31,7 +31,12 @@ Package: python3-awkward
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         ${python3:Depends}
+         ${python3:Depends},
+         python3-packaging,
+         python3-numpy,
+         python3-fsspec,
+         python3-typing-extensions,
+         python3-importlib-metadata
 Description: manipulate JSON-like data with NumPy-like idioms
  Awkward Array is a library for nested, variable-sized data, including
  arbitrary-length lists, records, mixed types, and missing data, using


=====================================
debian/copyright
=====================================
@@ -8,6 +8,7 @@ License: BSD-3-Clause
 
 Files: debian/*
 Copyright: 2024 Andreas Tille <ti...@debian.org>
+           2024 Sascha Steinbiss <sa...@debian.org>
 License: BSD-3-Clause
 
 Files: src/awkward/_operators.py


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: python-test 
+Depends: python3-awkward, python3-numpy
+Restrictions: allow-stderr, skip-not-installable


=====================================
debian/tests/python-test
=====================================
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+# autopkgtest check: Check whether awkward module is importable
+# and does basic tasks
+# Author: Sascha Steinbiss <sa...@debian.org>
+
+import awkward 
+
+array = awkward.Array([[{"x": 1.1, "y": [1]}, {"x": 2.2, "y": [1, 2]}, {"x": 
3.3, "y": [1, 2, 3]}], [], [{"x": 4.4, "y": [1, 2, 3, 4]}, {"x": 5.5, "y": [1, 
2, 3, 4, 5]}]])
+
+import numpy as np
+
+output = np.square(array["y", ..., 1:])


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,14 @@
+Bug-Database: https://github.com/scikit-hep/awkward
+Bug-Submit: https://github.com/scikit-hep/awkward/issues/new
+Repository: https://github.com/scikit-hep/awkward.git
+Repository-Browse: https://github.com/scikit-hep/awkward
+Reference:
+  Author: >
+    Jim Pivarski and Peter Elmer and David Lange
+  Title: >
+    Awkward Arrays in Python, C++, and Numba
+  Journal: EPJ Web Conf.
+  Year: 2018
+  Volume: 245
+  DOI: 10.1051/epjconf/202024505023
+  URL: 
https://www.epj-conferences.org/articles/epjconf/abs/2020/21/epjconf_chep2020_05023/epjconf_chep2020_05023.html



View it on GitLab: 
https://salsa.debian.org/med-team/python-awkward/-/compare/1de0f0d72b215785340b6078f40c721a09f9aa1d...b53d7cd6d377ac201cb28c1567ca8863c1ef3f69

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/python-awkward/-/compare/1de0f0d72b215785340b6078f40c721a09f9aa1d...b53d7cd6d377ac201cb28c1567ca8863c1ef3f69
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to