Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1fc8914

Browse files
authored
update dh-virtualenv (#7526)
1 parent 3c8a57f commit 1fc8914

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

changelog.d/7526.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update the version of dh-virtualenv we use to build debs, and add focal to the list of target distributions.

debian/build_virtualenv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ esac
3636
dh_virtualenv \
3737
--install-suffix "matrix-synapse" \
3838
--builtin-venv \
39-
--setuptools \
4039
--python "$SNAKE" \
4140
--upgrade-pip \
4241
--preinstall="lxml" \

debian/changelog

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
<<<<<<< HEAD
21
matrix-synapse-py3 (1.12.3ubuntu1) UNRELEASED; urgency=medium
32

43
* Add information about .well-known files to Debian installation scripts.
54

65
-- Patrick Cloke <patrickc@matrix.org> Mon, 06 Apr 2020 10:10:38 -0400
7-
=======
6+
87
matrix-synapse-py3 (1.12.4) stable; urgency=medium
98

109
* New synapse release 1.12.4.
1110

1211
-- Synapse Packaging team <packages@matrix.org> Thu, 23 Apr 2020 10:58:14 -0400
13-
>>>>>>> master
1412

1513
matrix-synapse-py3 (1.12.3) stable; urgency=medium
1614

docker/Dockerfile-dhvirtualenv

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get install \
2727
wget
2828

2929
# fetch and unpack the package
30-
RUN wget -q -O /dh-virtuenv-1.1.tar.gz https://github.com/spotify/dh-virtualenv/archive/1.1.tar.gz
31-
RUN tar xvf /dh-virtuenv-1.1.tar.gz
30+
RUN mkdir /dh-virtualenv
31+
RUN wget -q -O /dh-virtualenv.tar.gz https://github.com/matrix-org/dh-virtualenv/archive/matrixorg-20200519.tar.gz
32+
RUN tar -xv --strip-components=1 -C /dh-virtualenv -f /dh-virtualenv.tar.gz
3233

3334
# install its build deps
34-
RUN cd dh-virtualenv-1.1/ \
35-
&& env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -yqq --no-install-recommends"
35+
RUN cd /dh-virtualenv \
36+
&& env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -y --no-install-recommends"
3637

3738
# build it
38-
RUN cd dh-virtualenv-1.1 && dpkg-buildpackage -us -uc -b
39+
RUN cd /dh-virtualenv && dpkg-buildpackage -us -uc -b
3940

4041
###
4142
### Stage 1
@@ -68,12 +69,12 @@ RUN apt-get update -qq -o Acquire::Languages=none \
6869
sqlite3 \
6970
libpq-dev
7071

71-
COPY --from=builder /dh-virtualenv_1.1-1_all.deb /
72+
COPY --from=builder /dh-virtualenv_1.2~dev-1_all.deb /
7273

7374
# install dhvirtualenv. Update the apt cache again first, in case we got a
7475
# cached cache from docker the first time.
7576
RUN apt-get update -qq -o Acquire::Languages=none \
76-
&& apt-get install -yq /dh-virtualenv_1.1-1_all.deb
77+
&& apt-get install -yq /dh-virtualenv_1.2~dev-1_all.deb
7778

7879
WORKDIR /synapse/source
7980
ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]

scripts-dev/build_debian_packages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ DISTS = (
2727
"ubuntu:cosmic",
2828
"ubuntu:disco",
2929
"ubuntu:eoan",
30+
"ubuntu:focal",
3031
)
3132

3233
DESC = '''\

0 commit comments

Comments
 (0)