From 59b3daa5d182cb409fc6c79b4c094c6bbfa21a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 29 Mar 2022 18:49:44 +0200 Subject: [PATCH] debian: update packaging --- debian/compat | 1 - debian/control | 8 +++----- debian/rules | 8 +++----- 3 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7f8f011..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/debian/control b/debian/control index afba27b..779c8f5 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,12 @@ Source: pyexcel-io Maintainer: C.W. Section: python Priority: optional -Build-Depends: dh-python, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7) +Build-Depends: dh-python, debhelper-compat (= 12), python3-setuptools, python3-all Standards-Version: 3.9.1 -X-Python-Version: >= 2.7 -Package: python-pyexcel-io +Package: python3-pyexcel-io Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, - python-lml +Depends: ${misc:Depends}, ${python3:Depends}, python3-lml Description: A python library to read and write structured data in csv, zipped csv format and to/from databases Provides one application programming interface(API) to read and write the data in excel format, import the data into and export the data from database. It diff --git a/debian/rules b/debian/rules index 75f4c4a..1aa9879 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,10 @@ #!/usr/bin/make -f export PYBUILD_NAME=pyexcel_io +export PYBUILD_DISABLE=test %: - dh $@ --with python2 --buildsystem=pybuild - -override_dh_auto_test: - echo 'TODO: fix tests' + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_build: - echo 'TODO: fix tests' + # skip, as it may be misled by Makefile