2014-07-02 12:47:47 +00:00
|
|
|
# Template file for 'attic'
|
|
|
|
pkgname=attic
|
2014-12-18 12:11:32 +00:00
|
|
|
version=0.14
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=4
|
2014-11-07 16:17:45 +00:00
|
|
|
wrksrc="Attic-$version"
|
2014-07-02 12:47:47 +00:00
|
|
|
build_style=python-module
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel python3.4-Sphinx"
|
2014-11-07 16:17:45 +00:00
|
|
|
makedepends="${hostmakedepends/python3.4-setuptools/} acl-devel"
|
|
|
|
depends="python3.4-msgpack"
|
2014-07-02 12:47:47 +00:00
|
|
|
python_versions="3.4"
|
2015-01-11 22:15:10 +00:00
|
|
|
pycompile_version="3.4"
|
2014-07-02 12:47:47 +00:00
|
|
|
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"
|
2014-10-11 20:07:52 +00:00
|
|
|
distfiles="${PYPI_SITE}/A/Attic/Attic-$version.tar.gz"
|
2014-12-18 12:11:32 +00:00
|
|
|
checksum=286728939777ff4e504afd8c24b405dc6361918aeebd22d44ccd01c786172b29
|
2014-11-07 16:17:45 +00:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
|
|
|
fi
|
|
|
|
}
|
2014-12-18 12:11:32 +00:00
|
|
|
post_build() {
|
|
|
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
|
|
|
}
|
|
|
|
post_install() {
|
2015-02-18 17:07:02 +00:00
|
|
|
vlicense LICENSE
|
|
|
|
vman docs/_build/man/attic-deduplicatingarchiver.1 attic.1
|
2014-12-18 12:11:32 +00:00
|
|
|
}
|