From ece56a6c5ac85785140c50313f0e2ccaf61f94c6 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 29 Nov 2020 21:10:21 +0100 Subject: [PATCH] Initial refresh of build rules for the new upstream --- debian/changelog | 9 +++++++-- debian/rules | 2 +- debian/tests/control | 2 +- debian/tests/run-testsuite-if-attrs-enabled | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index bd6a27c..6370c9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,15 @@ -python-pyxattr (0.6.1-3) UNRELEASED; urgency=medium +python-pyxattr (0.7.2-1) unstable; urgency=medium + [ Debian Janitor ] * Bump debhelper from old 11 to 12. * Set debhelper-compat version in Build-Depends. * Fix field name typos in debian/copyright. - -- Debian Janitor Thu, 19 Mar 2020 15:41:22 +0000 + [ Iustin Pop ] + * New upstream version, officially dropping Python 2 support, which + allows better compatibility with Python 3, e.g. Path objects support. + + -- Iustin Pop Sun, 29 Nov 2020 21:09:12 +0100 python-pyxattr (0.6.1-2) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index e3d1e8d..f810cba 100755 --- a/debian/rules +++ b/debian/rules @@ -31,7 +31,7 @@ override_dh_strip: override_dh_installdocs: dh_installdocs --link-doc=python3-pyxattr -ppython3-pyxattr-dbg - dh_installdocs -A --remaining-packages README.rst + dh_installdocs -A --remaining-packages README.md override_dh_installchangelogs: dh_installchangelogs -A NEWS diff --git a/debian/tests/control b/debian/tests/control index 1a24a9b..34e448b 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ Tests: simple run-testsuite-if-attrs-enabled -Depends: @, attr +Depends: @, attr, python3-pytest Restrictions: allow-stderr diff --git a/debian/tests/run-testsuite-if-attrs-enabled b/debian/tests/run-testsuite-if-attrs-enabled index 438538e..15782cf 100755 --- a/debian/tests/run-testsuite-if-attrs-enabled +++ b/debian/tests/run-testsuite-if-attrs-enabled @@ -8,9 +8,9 @@ if setfattr -n user.foo -v bar "$TESTFILE"; then echo "Temporary directory '$AUTOPKGTEST_TMP' has extended attributes, running tests" export TEST_DIR="$AUTOPKGTEST_TMP" echo "* testing Python 3" - python3 test/test_xattr.py + python3 tests/test_xattr.py echo "* testing Python 3 debug package" - python3-dbg test/test_xattr.py + python3-dbg tests/test_xattr.py else echo "Temporary directory '$AUTOPKGTEST_TMP' doesn't have extended attributes enabled" echo "Skipping the tests :(" -- 2.39.2