mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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)
This commit is contained in:
parent
e360f901a9
commit
4119b6af1b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407585
@ -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
|
||||
|
||||
|
8
archivers/py3-libarchive-c/Makefile
Normal file
8
archivers/py3-libarchive-c/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../py-libarchive-c
|
||||
|
||||
USES= python:3.3+
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
Loading…
Reference in New Issue
Block a user