Codebase list python-livereload / debian/2.5.2-1
Merge branch 'add-gci' into 'master' Add gci See merge request debian/python-livereload!2 Agustin Henze 5 years ago
7 changed file(s) with 139 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
0 python-livereload (2.5.2-1.1) UNRELEASED; urgency=medium
0 python-livereload (2.5.2-1) unstable; urgency=medium
11
2 * Non-maintainer upload.
2 [ Pierre-Elliott Bécue ]
33 * New upstream version 2.5.2
44 * wrap-and-sort
55 * d/control:
1111 python3-slimmer
1212 - Vcs urls set to salsa
1313 - Add the basic python testsuite
14 - Drop the obsolete X-Python{,3} entries
15 - Add django in suggestion of both python{,3} packages
1416 * d/compat: Raised level to 11
1517 * d/python-livereload-doc.doc-base:
1618 - Updated file paths according to dh
3032 * d/patches:
3133 - Add patch 0001 to fix two privacy breaches in the documentation of the
3234 livereload library.
35 - Add patch 0002 to fix a failing test
36 * d/tests/control:
37 - Set up the upstream tests in autopkgtest
3338
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
3544
3645 python-livereload (2.5.1-1) unstable; urgency=medium
3746
11 Section: python
22 Priority: optional
33 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),
57 dh-python,
68 help2man,
79 python-all,
1113 python3-all,
1214 python3-setuptools,
1315 Standards-Version: 4.1.4
14 X-Python-Version: >= 2.7
15 X-Python3-Version: >= 3.3
1616 Homepage: https://github.com/lepture/python-livereload
1717 Vcs-Git: https://salsa.debian.org/debian/python-livereload.git
1818 Vcs-Browser: https://salsa.debian.org/debian/python-livereload
19 Testsuite: autopkgtest-pkg-python
2019
2120 Package: python-livereload
2221 Architecture: all
2322 Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
2423 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,
2631 Description: automatic browser refresher
2732 It is really boring for Web developers to need to refresh their browser
2833 every time they save a (CSS, JavaScript, or HTML) file. LiveReload will
3439 Architecture: all
3540 Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
3641 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,
3849 Description: automatic browser refresher (Python 3)
3950 It is really boring for Web developers to need to refresh their browser
4051 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
00 0001-Fix-two-privacy-breaches-in-the-compiled-documentati.patch
1 0002-Add-the-repr_str-attribute-to-the-test-add_count-fun.patch
00 # Yeah, there is a little weird stuff at the first line, but this is not minified
11 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)
0 Test-Command: python3 setup.py test
1 Depends: @,
2 python3-setuptools,
3 python3-django,
4 Restrictions: allow-stderr
5
6 Test-Command: python2 setup.py test
7 Depends: @,
8 python-setuptools,
9 python-django,
10 Restrictions: allow-stderr