[med-svn] [Git][med-team/python-pyarrow][master] 2 commits: Adjust Build-Depends, work around strange failure in auto_clean

Andreas Tille gitlab at salsa.debian.org
Wed Jul 22 14:30:13 BST 2020



Andreas Tille pushed to branch master at Debian Med / python-pyarrow


Commits:
ea6a9cd7 by Andreas Tille at 2020-07-22T15:22:56+02:00
Adjust Build-Depends, work around strange failure in auto_clean

- - - - -
92884d44 by Andreas Tille at 2020-07-22T15:29:59+02:00
Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
 python-pyarrow (0.17.1-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #<bug>)
+  TODO: Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS
 
  -- Andreas Tille <tille at debian.org>  Wed, 22 Jul 2020 11:45:37 +0200


=====================================
debian/control
=====================================
@@ -3,7 +3,21 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13),
+               dh-python,
+               cmake,
+               cython3,
+               python3-setuptools,
+               python3-all,
+               python3-setuptools-scm,
+               python3-numpy,
+               python3-cffi <!nocheck>,
+               python3-hypothesis <!nocheck>,
+               python3-pandas <!nocheck>,
+#               python3-pickle5 <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-pytest-lazy-fixture <!nocheck>,
+               python3-tz <!nocheck>
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-pyarrow
 Vcs-Git: https://salsa.debian.org/med-team/python-pyarrow.git
@@ -13,7 +27,8 @@ Rules-Requires-Root: no
 Package: python3-pyarrow
 Architecture: any
 Depends: ${shlibs:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         ${python3:Depends}
 Description: Python library for Apache Arrow
  This library provides a Python API for functionality provided by the
  Arrow C++ libraries, along with tools for Arrow integration and


=====================================
debian/rules
=====================================
@@ -3,6 +3,8 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
+export PYBUILD_NAME=pyarrow
+
 include /usr/share/dpkg/default.mk
 # this provides:
 # DEB_SOURCE: the source package name
@@ -18,14 +20,15 @@ include /usr/share/dpkg/default.mk
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@
+	dh $@ --with python3 --buildsystem=pybuild
+
+# FIXME: Workaround strange failure in auto_clean
+override_dh_auto_clean:
+	dh_auto_clean || true
+	rm -rf .pybuild
 
 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:
 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 #	do_stuff_for_testing
 #endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source



View it on GitLab: https://salsa.debian.org/med-team/python-pyarrow/-/compare/3071bb49fefe481fbf50b6bd7197336b824dae49...92884d44ccc15154d84d329936244496cce6b51b

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pyarrow/-/compare/3071bb49fefe481fbf50b6bd7197336b824dae49...92884d44ccc15154d84d329936244496cce6b51b
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/20200722/1eb2f3ce/attachment-0001.html>


More information about the debian-med-commit mailing list