diff --git a/srcpkgs/attic/template b/srcpkgs/attic/template index a2f9a04de6..a0ec20593d 100644 --- a/srcpkgs/attic/template +++ b/srcpkgs/attic/template @@ -1,10 +1,10 @@ # Template file for 'attic' pkgname=attic -version=0.13 -revision=3 +version=0.14 +revision=1 wrksrc="Attic-$version" build_style=python-module -hostmakedepends="python3.4-setuptools python3.4-devel libressl-devel" +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" @@ -14,10 +14,18 @@ maintainer="Christian Neukirchen " homepage="https://attic-backup.org/" license="BSD" distfiles="${PYPI_SITE}/A/Attic/Attic-$version.tar.gz" -checksum=fe34a48998d876686987dc926f6cf78e337bff8ea1c120ecf240ff4fe970673f +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() { + vman docs/_build/man/attic-deduplicatingarchiver.1 attic.1 +}