svn commit: r407585 - in head/archivers: py-libarchive-c py3-libarchive-c

Kubilay Kocak koobs at FreeBSD.org
Sun Jan 31 08:21:51 UTC 2016


Author: koobs
Date: Sun Jan 31 08:21:49 2016
New Revision: 407585
URL: https://svnweb.freebsd.org/changeset/ports/407585

Log:
  archivers/py3-libarchive-c: Add Python 3.x version of port
  
  Add a Python 3.x sub-port of py-libarchive-c, in order for a port of the
  Debian diffoscope project to be created, which is Python 3 only. This
  (py3-*) hack^W workaround ensures a py3x-* package can be created by
  default.
  
   - Allow USES to be overriden in base port accordingly
  
  While I'm here
  
   - Enable NO_ARCH
  
  Requested by:	emaste, bapt (for diffoscope, reproducible builds)

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

Modified: head/archivers/py-libarchive-c/Makefile
==============================================================================
--- head/archivers/py-libarchive-c/Makefile	Sun Jan 31 08:21:30 2016	(r407584)
+++ head/archivers/py-libarchive-c/Makefile	Sun Jan 31 08:21:49 2016	(r407585)
@@ -13,13 +13,15 @@ LICENSE=	LGPL20+
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:${PORTSDIR}/devel/py-pytest
 
-USES=		python
+USES?=		python
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
 
 GH_ACCOUNT=	Changaco
 GH_PROJECT=	python-${PORTNAME}
 
+NO_ARCH=	yes
+
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 

Added: head/archivers/py3-libarchive-c/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/py3-libarchive-c/Makefile	Sun Jan 31 08:21:49 2016	(r407585)
@@ -0,0 +1,8 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-libarchive-c
+
+USES=	python:3.3+
+
+.include "${MASTERDIR}/Makefile"


More information about the svn-ports-all mailing list