Merge branch 'add-gci' into 'master'
Add gci
See merge request debian/python-livereload!2
Agustin Henze
5 years ago
0 | python-livereload (2.5.2-1.1) UNRELEASED; urgency=medium | |
0 | python-livereload (2.5.2-1) unstable; urgency=medium | |
1 | 1 | |
2 | * Non-maintainer upload. | |
2 | [ Pierre-Elliott Bécue ] | |
3 | 3 | * New upstream version 2.5.2 |
4 | 4 | * wrap-and-sort |
5 | 5 | * d/control: |
11 | 11 | python3-slimmer |
12 | 12 | - Vcs urls set to salsa |
13 | 13 | - Add the basic python testsuite |
14 | - Drop the obsolete X-Python{,3} entries | |
15 | - Add django in suggestion of both python{,3} packages | |
14 | 16 | * d/compat: Raised level to 11 |
15 | 17 | * d/python-livereload-doc.doc-base: |
16 | 18 | - Updated file paths according to dh |
30 | 32 | * d/patches: |
31 | 33 | - Add patch 0001 to fix two privacy breaches in the documentation of the |
32 | 34 | livereload library. |
35 | - Add patch 0002 to fix a failing test | |
36 | * d/tests/control: | |
37 | - Set up the upstream tests in autopkgtest | |
33 | 38 | |
34 | -- Pierre-Elliott Bécue <becue@crans.org> Thu, 03 May 2018 22:17:45 +0200 | |
39 | [ Agustin Henze ] | |
40 | * Add gci | |
41 | * Add Pierri-Elliott as uploader | |
42 | ||
43 | -- Pierre-Elliott Bécue <becue@crans.org> Wed, 16 May 2018 10:26:11 +0200 | |
35 | 44 | |
36 | 45 | python-livereload (2.5.1-1) unstable; urgency=medium |
37 | 46 |
1 | 1 | Section: python |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Agustin Henze <tin@debian.org> |
4 | Build-Depends: debhelper (>= 11), | |
4 | Uploaders: Pierre-Elliott Bécue <becue@crans.org> | |
5 | Build-Depends: | |
6 | debhelper (>= 11), | |
5 | 7 | dh-python, |
6 | 8 | help2man, |
7 | 9 | python-all, |
11 | 13 | python3-all, |
12 | 14 | python3-setuptools, |
13 | 15 | Standards-Version: 4.1.4 |
14 | X-Python-Version: >= 2.7 | |
15 | X-Python3-Version: >= 3.3 | |
16 | 16 | Homepage: https://github.com/lepture/python-livereload |
17 | 17 | Vcs-Git: https://salsa.debian.org/debian/python-livereload.git |
18 | 18 | Vcs-Browser: https://salsa.debian.org/debian/python-livereload |
19 | Testsuite: autopkgtest-pkg-python | |
20 | 19 | |
21 | 20 | Package: python-livereload |
22 | 21 | Architecture: all |
23 | 22 | Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends} |
24 | 23 | Recommends: node-less, python-pyinotify |
25 | Suggests: coffeescript, node-uglify, python-livereload-doc, python-slimmer | |
24 | Suggests: | |
25 | coffeescript, | |
26 | node-uglify, | |
27 | python-django, | |
28 | python-flask, | |
29 | python-livereload-doc, | |
30 | python-slimmer, | |
26 | 31 | Description: automatic browser refresher |
27 | 32 | It is really boring for Web developers to need to refresh their browser |
28 | 33 | every time they save a (CSS, JavaScript, or HTML) file. LiveReload will |
34 | 39 | Architecture: all |
35 | 40 | Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends} |
36 | 41 | Recommends: node-less, python3-pyinotify |
37 | Suggests: coffeescript, node-uglify, python-livereload-doc, python3-slimmer | |
42 | Suggests: | |
43 | coffeescript, | |
44 | node-uglify, | |
45 | python-livereload-doc, | |
46 | python3-django, | |
47 | python3-flask, | |
48 | python3-slimmer, | |
38 | 49 | Description: automatic browser refresher (Python 3) |
39 | 50 | It is really boring for Web developers to need to refresh their browser |
40 | 51 | every time they save a (CSS, JavaScript, or HTML) file. LiveReload will |
0 | variables: | |
1 | DEBFULLNAME: "Agustin Henze" | |
2 | DEBEMAIL: "<tin@debian.org>" | |
3 | DEBIAN_FRONTEND: noninteractive | |
4 | DEB_BUILD_OPTIONS: nocheck | |
5 | WORKING_DIR: ./debian/output | |
6 | ||
7 | stages: | |
8 | - build | |
9 | - test | |
10 | ||
11 | image: debian:unstable | |
12 | ||
13 | build package: | |
14 | stage: build | |
15 | artifacts: | |
16 | expire_in: 180 day | |
17 | name: "$CI_BUILD_NAME" | |
18 | paths: | |
19 | - ${WORKING_DIR}/ | |
20 | script: | |
21 | - apt-get update | |
22 | - apt-get install eatmydata -y | |
23 | - eatmydata apt-get build-dep -y . | |
24 | - eatmydata apt-get install git-buildpackage -y | |
25 | - gbp pull --ignore-branch | |
26 | - gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} -us -uc | |
27 | ||
28 | run autopkgtest: | |
29 | stage: test | |
30 | script: | |
31 | - apt-get update && apt-get install autopkgtest eatmydata -y --no-install-recommends | |
32 | - eatmydata autopkgtest ${WORKING_DIR}/*.deb -- null | |
33 | ||
34 | run lintian: | |
35 | stage: test | |
36 | script: | |
37 | - apt-get update && apt-get install lintian -y --no-install-recommends | |
38 | - lintian -iI ${WORKING_DIR}/*.changes | |
39 | ||
40 | run reprotest: | |
41 | stage: test | |
42 | image: genericpipeline/reprotest-docker | |
43 | script: | |
44 | - apt-get update && apt-get install eatmydata -y | |
45 | - eatmydata apt-get build-dep -y . | |
46 | - eatmydata reprotest . -- null | |
47 | tags: | |
48 | - privileged | |
49 | ||
50 | run piuparts: | |
51 | stage: test | |
52 | image: genericpipeline/piuparts-docker | |
53 | services: | |
54 | - docker:dind | |
55 | script: | |
56 | - CHROOT_PATH=/tmp/debian-unstable | |
57 | - CONTAINER_ID=$(docker run --rm -d debian:unstable sleep infinity) | |
58 | - docker exec ${CONTAINER_ID} bash -c "apt-get update && apt-get install eatmydata -y" | |
59 | - mkdir -p ${CHROOT_PATH} | |
60 | - docker export ${CONTAINER_ID} | tar -C ${CHROOT_PATH} -xf - | |
61 | # workaround, I'll send a patch to piuparts soon | |
62 | - mknod -m 666 ${CHROOT_PATH}/dev/urandom c 1 9 | |
63 | - piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb | |
64 | tags: | |
65 | - privileged |
0 | From: =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <becue@crans.org> | |
1 | Date: Wed, 16 May 2018 10:20:38 +0200 | |
2 | Subject: Add the repr_str attribute to the test add_count function | |
3 | ||
4 | Without, the following traceback happen | |
5 | ====================================================================== | |
6 | ERROR: test_watch_file (tests.test_watcher.TestWatcher) | |
7 | ---------------------------------------------------------------------- | |
8 | Traceback (most recent call last): | |
9 | File "/tmp/autopkgtest.2Pi2SP/build.cBN/python-livereload-2.5.2/tests/test_watcher.py", line 66, in test_watch_file | |
10 | rv = watcher.examine() | |
11 | File "/tmp/autopkgtest.2Pi2SP/build.cBN/python-livereload-2.5.2/livereload/watcher.py", line 92, in examine | |
12 | func.repr_str, delay)) | |
13 | AttributeError: 'function' object has no attribute 'repr_str' | |
14 | --- | |
15 | tests/test_watcher.py | 2 ++ | |
16 | 1 file changed, 2 insertions(+) | |
17 | ||
18 | diff --git a/tests/test_watcher.py b/tests/test_watcher.py | |
19 | index 40529cd..74cde44 100644 | |
20 | --- a/tests/test_watcher.py | |
21 | +++ b/tests/test_watcher.py | |
22 | @@ -54,6 +54,8 @@ class TestWatcher(unittest.TestCase): | |
23 | def add_count(): | |
24 | watcher.count += 1 | |
25 | ||
26 | + add_count.repr_str = "add_count" | |
27 | + | |
28 | watcher.watch(filepath, add_count) | |
29 | assert watcher.is_changed(filepath) | |
30 |
0 | 0 | 0001-Fix-two-privacy-breaches-in-the-compiled-documentati.patch |
1 | 0002-Add-the-repr_str-attribute-to-the-test-add_count-fun.patch |
0 | 0 | # Yeah, there is a little weird stuff at the first line, but this is not minified |
1 | 1 | python-livereload source: source-is-missing livereload/vendors/livereload.js line length is 480 characters (>256) |
2 | python-livereload source: source-contains-prebuilt-javascript-object livereload/vendors/livereload.js line length is 480 characters (>256) |