[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)
This commit is contained in:
Kubilay Kocak 2016-01-30 11:24:29 +00:00
parent decd47b3e9
commit b802b166a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407519
4 changed files with 33 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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