borg: adapt to python-msgpack -> msgpack name change.
Closes: #10721 [via git-merge-pr]
This commit is contained in:
parent
3a5ccceae8
commit
8230f01f6b
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'borg'
|
# Template file for 'borg'
|
||||||
pkgname=borg
|
pkgname=borg
|
||||||
version=1.1.4
|
version=1.1.4
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="borgbackup-${version}"
|
wrksrc="borgbackup-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
|
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
|
||||||
|
@ -21,6 +21,9 @@ export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i '/guzzle/d' docs/conf.py
|
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() {
|
post_build() {
|
||||||
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
||||||
|
|
Loading…
Reference in New Issue