Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 08:21:50 +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: r407585 - in head/archivers: py-libarchive-c py3-libarchive-c
Message-ID:  <201601310821.u0V8LogO070584@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-libarchive-c
+
+USES=	python:3.3+
+
+.include "${MASTERDIR}/Makefile"



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