Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2019 14:13:06 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520808 - head/devel/libewf
Message-ID:  <201912241413.xBOED6kF061800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Dec 24 14:13:06 2019
New Revision: 520808
URL: https://svnweb.freebsd.org/changeset/ports/520808

Log:
  Remove python 2.7 support

Modified:
  head/devel/libewf/Makefile
  head/devel/libewf/pkg-plist

Modified: head/devel/libewf/Makefile
==============================================================================
--- head/devel/libewf/Makefile	Tue Dec 24 14:12:34 2019	(r520807)
+++ head/devel/libewf/Makefile	Tue Dec 24 14:13:06 2019	(r520808)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libewf
 PORTVERSION=	20140807
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libyal/libewf-legacy/releases/download/${PORTVERSION}/ \
 		LOCAL/antoine
@@ -13,27 +14,19 @@ COMMENT=	Library for support of the Expert Witness Com
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \
-		python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//}
-RUN_DEPENDS=	python${PYTHON2_DEFAULT}:lang/python${PYTHON2_DEFAULT:S/.//} \
-		python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//}
 LIB_DEPENDS=	libsmdev.so:devel/libsmdev \
 		libsmraw.so:devel/libsmraw \
 		libuuid.so:misc/e2fsprogs-libuuid
 
-USES=		fuse libtool pathfix pkgconfig
+USES=		fuse libtool pathfix pkgconfig python:3.5+
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python2 --enable-python3 --with-libsmdev=${LOCALBASE} \
+CONFIGURE_ARGS=	--enable-python --with-libsmdev=${LOCALBASE} \
 		--with-libsmraw=${LOCALBASE} \
 		--with-libuuid=${LOCALBASE} --with-openssl=no
-CONFIGURE_ENV=	PYTHON2_CONFIG=${LOCALBASE}/bin/python${PYTHON2_DEFAULT}-config \
-		PYTHON3=${LOCALBASE}/bin/python${PYTHON3_DEFAULT} \
-		PYTHON3_CONFIG=${LOCALBASE}/bin/python${PYTHON3_DEFAULT}-config
+CONFIGURE_ENV=	PYTHON_CONFIG=${PYTHON_CMD}-config
 INSTALL_TARGET=	install-strip
-PLIST_SUB=	PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \
-		PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages
 
 OPTIONS_DEFINE=	NLS
 

Modified: head/devel/libewf/pkg-plist
==============================================================================
--- head/devel/libewf/pkg-plist	Tue Dec 24 14:12:34 2019	(r520807)
+++ head/devel/libewf/pkg-plist	Tue Dec 24 14:13:06 2019	(r520808)
@@ -17,10 +17,8 @@ lib/libewf.a
 lib/libewf.so
 lib/libewf.so.2
 lib/libewf.so.2.0.0
-%%PYTHON2_SITELIBDIR%%/pyewf.a
-%%PYTHON2_SITELIBDIR%%/pyewf.so
-%%PYTHON3_SITELIBDIR%%/pyewf.a
-%%PYTHON3_SITELIBDIR%%/pyewf.so
+%%PYTHON_SITELIBDIR%%/pyewf.a
+%%PYTHON_SITELIBDIR%%/pyewf.so
 libdata/pkgconfig/libewf.pc
 man/man1/ewfacquire.1.gz
 man/man1/ewfacquirestream.1.gz



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