[med-svn] [Git][med-team/python-awkward][master] 2 commits: get package to build (but not importable)
Sascha Steinbiss (@satta)
gitlab at salsa.debian.org
Sun Feb 18 17:39:43 GMT 2024
Sascha Steinbiss pushed to branch master at Debian Med / python-awkward
Commits:
4876079d by Sascha Steinbiss at 2024-02-18T18:15:06+01:00
get package to build (but not importable)
- - - - -
a44515b0 by Sascha Steinbiss at 2024-02-18T18:39:20+01:00
add install file
- - - - -
3 changed files:
- debian/control
- + debian/python3-awkward.install
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -1,17 +1,26 @@
Source: python-awkward
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
-Section: science
+Uploaders: Sascha Steinbiss <satta at debian.org>
+Section: python
Priority: optional
-Build-Depends: debhelper-compat (= 13),
- dh-sequence-python3,
+Build-Depends: dh-sequence-python3,
+ python3-setuptools,
+ debhelper-compat (= 13),
pybuild-plugin-pyproject,
- cmake,
- python3-all,
python3-hatchling,
python3-hatch-fancy-pypi-readme,
- python3-pytest <!nocheck>,
- python3-numpy <!nocheck>
+ python3-all,
+ python3-fsspec,
+ python3-typing-extensions,
+ python3-numpy,
+ python3-pytest,
+ python3-scikit-build-core,
+ python3-pyproject-metadata,
+ cmake,
+ libpython3-all-dev,
+ pybind11-dev,
+ rapidjson-dev,
+ nox
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/med-team/python-awkward
Vcs-Git: https://salsa.debian.org/med-team/python-awkward.git
@@ -20,14 +29,15 @@ Rules-Requires-Root: no
Package: python3-awkward
Architecture: any
-Depends: ${shlibs:Depends},
- ${misc:Depends},
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
${python3:Depends}
-Description: Python3 library for nested, variable-sized data
+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
NumPy-like idioms.
.
- Arrays are dynamically typed, but operations on them are compiled and
- fast. Their behavior coincides with NumPy when array dimensions are
- regular and generalizes when they're not.
+ Arrays are dynamically typed, but operations on them are compiled and fast.
+ Their behavior coincides with NumPy when array dimensions are regular and
+ generalizes when they're not.
+
=====================================
debian/python3-awkward.install
=====================================
@@ -0,0 +1 @@
+usr/lib/python3*
=====================================
debian/rules
=====================================
@@ -1,21 +1,25 @@
#!/usr/bin/make -f
-# DH_VERBOSE := 1
-
-export PYBUILD_NAME=awkward
-
-include /usr/share/dpkg/default.mk
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export PYBUILD_DESTDIR = debian/tmp_i_mean_it
+export PYBUILD_TEST_ARGS=-v
+export PY_IGNORE_IMPORTMISMATCH=1
%:
dh $@ --buildsystem=pybuild
-override_dh_auto_configure:
- dh_auto_configure --sourcedir=awkward-cpp --buildsystem=cmake -DSKBUILD_PROJECT_VERSION=$(DEB_VERSION_UPSTREAM)
- dh_auto_configure
+override_dh_auto_clean \
+override_dh_auto_configure \
+override_dh_auto_install: override_%:
+ PYBUILD_NAME=awkward_cpp $* --buildsystem=pybuild --sourcedirectory=awkward-cpp
+ PYBUILD_NAME=awkward $* --buildsystem=pybuild --sourcedirectory=.
override_dh_auto_build:
- dh_auto_build --sourcedir=awkward-cpp --buildsystem=cmake
- dh_auto_build
+ nox -s prepare
+ PYBUILD_NAME=awkward_cpp dh_auto_build --sourcedirectory=awkward-cpp --buildsystem=pybuild
+ PYBUILD_NAME=awkward dh_auto_build --sourcedirectory=. --buildsystem=pybuild
+
+override_dh_install:
+ dh_install --sourcedir=debian/tmp_i_mean_it
+
+override_dh_auto_test:
+ # pass
View it on GitLab: https://salsa.debian.org/med-team/python-awkward/-/compare/5b9cffb2d2ea0df57fe992263b0937ffa60262cf...a44515b004452c9de4b305dfce2b9b36c3c6f986
--
View it on GitLab: https://salsa.debian.org/med-team/python-awkward/-/compare/5b9cffb2d2ea0df57fe992263b0937ffa60262cf...a44515b004452c9de4b305dfce2b9b36c3c6f986
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240218/e21db161/attachment-0001.htm>
More information about the debian-med-commit
mailing list