borg: adapt to python-msgpack -> msgpack name change.

Closes: #10721 [via git-merge-pr]
This commit is contained in:
maxice8 2018-01-12 11:53:47 -02:00 committed by Jürgen Buchmüller
parent 3a5ccceae8
commit 8230f01f6b
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'borg'
pkgname=borg
version=1.1.4
revision=2
revision=3
wrksrc="borgbackup-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
@ -21,6 +21,9 @@ export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
pre_build() {
sed -i '/guzzle/d' docs/conf.py
# python-msgpack had a name transition from python-msgpack to msgpack
# adapt.
sed -i 's|python-msgpack|msgpack|g' setup.py
}
post_build() {
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3