[Python-modules-commits] [python-docutils] 14/14: Run cp with -L argument when copying the test directory for autopkgtests.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Dec 10 10:40:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch master
in repository python-docutils.

commit 7b5a793f62a081c4aa5a1a9d5b4757a1438300a8
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Dec 10 13:39:03 2016 +0300

    Run cp with -L argument when copying the test directory for autopkgtests.
    
    Because CSS files in test/functional/input/data/ are now symlinks.
---
 debian/changelog              | 3 +++
 debian/tests/python-docutils  | 2 +-
 debian/tests/python3-docutils | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c7ee247..558abb5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,9 @@ python-docutils (0.13.1+dfsg-1) UNRELEASED; urgency=medium
     - move-data-to-usr-share.diff: rewrite to match new upstream code.
   * Update debian/watch to point to SourceForge (for the latest release
     upstream uploaded only wheels to PyPI).
+  * Run cp with -L argument when copying the test/ directory for running
+    the autopkgtest, because CSS files in test/functional/input/data/ are
+    now symlinks.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Fri, 09 Dec 2016 18:06:43 +0300
 
diff --git a/debian/tests/python-docutils b/debian/tests/python-docutils
index 41e4aea..c2c9364 100755
--- a/debian/tests/python-docutils
+++ b/debian/tests/python-docutils
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e -u
-cp -r HISTORY.txt docs/ test/ "$ADTTMP"
+cp -rL HISTORY.txt docs/ test/ "$ADTTMP"
 cd "$ADTTMP/test/"
 rm test_writers/test_html4css1_misc.py
 pyversions -i \
diff --git a/debian/tests/python3-docutils b/debian/tests/python3-docutils
index bff5a9a..9280337 100755
--- a/debian/tests/python3-docutils
+++ b/debian/tests/python3-docutils
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e -u
-cp -r HISTORY.txt docs/ test/ "$ADTTMP"
+cp -rL HISTORY.txt docs/ test/ "$ADTTMP"
 cd "$ADTTMP/test/"
 rm test_writers/test_html4css1_misc.py
 2to3-$(py3versions -vd) --no-diffs -j $(nproc) -w . 2>&1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-docutils.git



More information about the Python-modules-commits mailing list