2016-05-21 20:40:28 +00:00
|
|
|
# Template file for 'borg'
|
|
|
|
pkgname=borg
|
2016-07-08 10:09:34 +00:00
|
|
|
version=1.0.5
|
|
|
|
revision=1
|
2016-05-21 20:40:28 +00:00
|
|
|
wrksrc="borgbackup-$version"
|
|
|
|
build_style=python-module
|
|
|
|
hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel
|
|
|
|
python3.4-Sphinx python3.4-sphinx_rtd_theme"
|
|
|
|
makedepends="${hostmakedepends/python3.4-setuptools/} acl-devel lz4-devel"
|
2016-06-21 11:22:57 +00:00
|
|
|
depends="python3.4-llfuse python3.4-msgpack python3.4-setuptools"
|
2016-05-21 20:40:28 +00:00
|
|
|
python_versions="3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="borg"
|
|
|
|
short_desc="Deduplicating backup program with compression and encryption"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="https://borgbackup.github.io/"
|
|
|
|
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
|
2016-07-08 10:09:34 +00:00
|
|
|
checksum=a5cfbe7846962405265f74ec3ee352ee4d985e308b6749acdfe88f754fe12777
|
2016-05-21 20:40:28 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
2016-05-21 20:44:35 +00:00
|
|
|
sed -i "s|\(possible_lz4_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
2016-05-21 20:40:28 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
post_build() {
|
|
|
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3.4
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
vman docs/_build/man/borg.1
|
|
|
|
}
|