Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2016 11:24:29 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407519 - in head/archivers: . py-libarchive-c
Message-ID:  <201601301124.u0UBOToh094342@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Jan 30 11:24:29 2016
New Revision: 407519
URL: https://svnweb.freebsd.org/changeset/ports/407519

Log:
  [NEW] archivers/py-libarchive-c: Python interface to libarchive
  
  A Python interface to libarchive. It uses the standard ctypes module to
  dynamically load and access the C library.
  
  WWW: https://github.com/Changaco/python-libarchive-c
  
  Requested by:	emaste, bapt (for diffoscope / reproducible builds)

Added:
  head/archivers/py-libarchive-c/
  head/archivers/py-libarchive-c/Makefile   (contents, props changed)
  head/archivers/py-libarchive-c/distinfo   (contents, props changed)
  head/archivers/py-libarchive-c/pkg-descr   (contents, props changed)
Modified:
  head/archivers/Makefile

Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile	Sat Jan 30 10:40:33 2016	(r407518)
+++ head/archivers/Makefile	Sat Jan 30 11:24:29 2016	(r407519)
@@ -163,6 +163,7 @@
     SUBDIR += pxz
     SUBDIR += py-attic
     SUBDIR += py-bz2file
+    SUBDIR += py-libarchive-c
     SUBDIR += py-librtfcomp
     SUBDIR += py-lz4
     SUBDIR += py-lzma

Added: head/archivers/py-libarchive-c/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-libarchive-c/Makefile	Sat Jan 30 11:24:29 2016	(r407519)
@@ -0,0 +1,26 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libarchive-c
+PORTVERSION=	2.2
+CATEGORIES=	archivers python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Python interface to libarchive
+
+LICENSE=	LGPL20+
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:${PORTSDIR}/devel/py-pytest
+
+USES=		python
+USE_GITHUB=	yes
+USE_PYTHON=	autoplist distutils
+
+GH_ACCOUNT=	Changaco
+GH_PROJECT=	python-${PORTNAME}
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
+.include <bsd.port.mk>

Added: head/archivers/py-libarchive-c/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-libarchive-c/distinfo	Sat Jan 30 11:24:29 2016	(r407519)
@@ -0,0 +1,2 @@
+SHA256 (Changaco-python-libarchive-c-2.2_GH0.tar.gz) = 1d1e30a26376d6db40a1b5335538f8361451c936569a95b9fb46326ae1765832
+SIZE (Changaco-python-libarchive-c-2.2_GH0.tar.gz) = 40248

Added: head/archivers/py-libarchive-c/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py-libarchive-c/pkg-descr	Sat Jan 30 11:24:29 2016	(r407519)
@@ -0,0 +1,4 @@
+A Python interface to libarchive. It uses the standard ctypes module to
+dynamically load and access the C library.
+
+WWW: https://github.com/Changaco/python-libarchive-c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601301124.u0UBOToh094342>