From owner-svn-ports-all@freebsd.org Sun Jan 31 06:16:02 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32635A74E21; Sun, 31 Jan 2016 06:16:02 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9B0189E; Sun, 31 Jan 2016 06:16:01 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0V6G13A032214; Sun, 31 Jan 2016 06:16:01 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0V6G0CT032210; Sun, 31 Jan 2016 06:16:00 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201601310616.u0V6G0CT032210@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sun, 31 Jan 2016 06:16:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407575 - in head/devel: . py-python-magic X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 06:16:02 -0000 Author: koobs Date: Sun Jan 31 06:16:00 2016 New Revision: 407575 URL: https://svnweb.freebsd.org/changeset/ports/407575 Log: [NEW] devel/py-python-magic: File type identification using libmagic This module uses ctypes to access the libmagic file type identification library. It makes use of the local magic database and supports both textual and MIME-type output. WWW: http://github.com/ahupp/python-magic Requested by: emaste, bapt (for diffoscope / reproducible builds) Added: head/devel/py-python-magic/ head/devel/py-python-magic/Makefile (contents, props changed) head/devel/py-python-magic/distinfo (contents, props changed) head/devel/py-python-magic/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 31 06:11:28 2016 (r407574) +++ head/devel/Makefile Sun Jan 31 06:16:00 2016 (r407575) @@ -4256,6 +4256,7 @@ SUBDIR += py-python-bugzilla SUBDIR += py-python-distutils-extra SUBDIR += py-python-jenkins + SUBDIR += py-python-magic SUBDIR += py-python-pcre SUBDIR += py-python-statsd SUBDIR += py-python2-pythondialog Added: head/devel/py-python-magic/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-magic/Makefile Sun Jan 31 06:16:00 2016 (r407575) @@ -0,0 +1,27 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= python-magic +PORTVERSION= 0.4.10 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= File type identification using libmagic + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= ahupp +GH_TAGNAME= 6e3322 + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/devel/py-python-magic/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-magic/distinfo Sun Jan 31 06:16:00 2016 (r407575) @@ -0,0 +1,2 @@ +SHA256 (ahupp-python-magic-0.4.10-6e3322_GH0.tar.gz) = 966d4069734d4c4f30adaac794b0d39759890a7eda75651961fe20c1f25aa802 +SIZE (ahupp-python-magic-0.4.10-6e3322_GH0.tar.gz) = 133525 Added: head/devel/py-python-magic/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-magic/pkg-descr Sun Jan 31 06:16:00 2016 (r407575) @@ -0,0 +1,5 @@ +This module uses ctypes to access the libmagic file type identification +library. It makes use of the local magic database and supports both +textual and MIME-type output. + +WWW: http://github.com/ahupp/python-magic