5b0dfb812f
Switch to python3-module. Switch to python3-* pkgs.
29 lines
950 B
Bash
29 lines
950 B
Bash
# Template file for 'attic'
|
|
pkgname=attic
|
|
version=0.16
|
|
revision=7
|
|
wrksrc="Attic-$version"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
|
|
makedepends="${hostmakedepends/python3-setuptools/} acl-devel"
|
|
depends="python3-msgpack python3-llfuse"
|
|
pycompile_module="attic"
|
|
short_desc="A deduplicating backup program for efficient and secure backups"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
homepage="https://attic-backup.org/"
|
|
license="BSD"
|
|
distfiles="${PYPI_SITE}/A/Attic/Attic-0.16.tar.gz"
|
|
checksum=6650cd28072101c2e05941e77b93a62f91da6179785e4e4b4880916c469bba2c
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
|
fi
|
|
}
|
|
post_build() {
|
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vman docs/_build/man/attic-deduplicatingarchiver.1 attic.1
|
|
}
|