void-packages/srcpkgs/attic/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

31 lines
994 B
Bash

# Template file for 'attic'
pkgname=attic
version=0.14
revision=4
wrksrc="Attic-$version"
build_style=python-module
hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel python3.4-Sphinx"
makedepends="${hostmakedepends/python3.4-setuptools/} acl-devel"
depends="python3.4-msgpack"
python_versions="3.4"
pycompile_version="3.4"
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-$version.tar.gz"
checksum=286728939777ff4e504afd8c24b405dc6361918aeebd22d44ccd01c786172b29
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
}