diff options
author | riggs <riggs@FreeBSD.org> | 2015-07-19 20:01:42 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-07-19 20:01:42 +0800 |
commit | f03598bf88538d9279008da221a262a853341870 (patch) | |
tree | 2a648c8e63cd75c339b12c8e55e4b90f1d1d159d /archivers | |
parent | 5d22a1c8790f68a067f790e5f05f88a5f604d62a (diff) | |
download | freebsd-ports-gnome-f03598bf88538d9279008da221a262a853341870.tar.gz freebsd-ports-gnome-f03598bf88538d9279008da221a262a853341870.tar.zst freebsd-ports-gnome-f03598bf88538d9279008da221a262a853341870.zip |
Add archivers/py-attic: A deduplicating backup program
PR: 199595
Submitted by: tom@hur.st
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-attic/Makefile | 41 | ||||
-rw-r--r-- | archivers/py-attic/distinfo | 2 | ||||
-rw-r--r-- | archivers/py-attic/pkg-descr | 6 |
4 files changed, 50 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 24ed008985ad..6d458a0dc93a 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -159,6 +159,7 @@ SUBDIR += ppmd-7z SUBDIR += ppunpack SUBDIR += pxz + SUBDIR += py-attic SUBDIR += py-liblzma SUBDIR += py-librtfcomp SUBDIR += py-lz4 diff --git a/archivers/py-attic/Makefile b/archivers/py-attic/Makefile new file mode 100644 index 000000000000..c870bbe6cc72 --- /dev/null +++ b/archivers/py-attic/Makefile @@ -0,0 +1,41 @@ +# Created by: Thomas Hurst <tom@hur.st> +# $FreeBSD$ + +PORTNAME= attic +PORTVERSION= 0.16 +CATEGORIES= archivers python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Attic-${PORTVERSION} + +MAINTAINER= tom@hur.st +COMMENT= Deduplicating backup program + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.1.10:${PORTSDIR}/devel/py-msgpack +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.1.10:${PORTSDIR}/devel/py-msgpack + +USES= python:3.2+ +USE_PYTHON= autoplist distutils +USE_OPENSSL= yes + +STRIP_FILES= hashindex.so platform_freebsd.so chunker.so crypto.so +PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1000015 +BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl +RUN_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl +.endif + +regression-test: build + ${SETENV} PYTHONPATH="${PYDISTUTILS_BUILDPATH}:${PYTHONPATH}" \ + ${PYTHON_CMD} -m attic.testsuite.run + +post-install: + ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/,} + +.include <bsd.port.post.mk> diff --git a/archivers/py-attic/distinfo b/archivers/py-attic/distinfo new file mode 100644 index 000000000000..3c081e3094f5 --- /dev/null +++ b/archivers/py-attic/distinfo @@ -0,0 +1,2 @@ +SHA256 (Attic-0.16.tar.gz) = 6650cd28072101c2e05941e77b93a62f91da6179785e4e4b4880916c469bba2c +SIZE (Attic-0.16.tar.gz) = 232455 diff --git a/archivers/py-attic/pkg-descr b/archivers/py-attic/pkg-descr new file mode 100644 index 000000000000..20643fc7dda9 --- /dev/null +++ b/archivers/py-attic/pkg-descr @@ -0,0 +1,6 @@ +Attic is a deduplicating backup program written in Python. The main goal of +Attic is to provide an efficient and secure way to backup data. The data +deduplication technique used makes Attic suitable for daily backups since only +the changes are stored. + +WWW: https://attic-backup.org |