Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 09:06:54 +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: r453526 - head/devel/libfwsi
Message-ID:  <201711050906.vA596sGt068344@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Nov  5 09:06:54 2017
New Revision: 453526
URL: https://svnweb.freebsd.org/changeset/ports/453526

Log:
  - Update to experimental-20171103
  - Build python2 and python3 bindings
  - Remove DOCS option, the 2 text files do not carry useful information

Modified:
  head/devel/libfwsi/Makefile
  head/devel/libfwsi/distinfo
  head/devel/libfwsi/pkg-plist

Modified: head/devel/libfwsi/Makefile
==============================================================================
--- head/devel/libfwsi/Makefile	Sun Nov  5 09:04:32 2017	(r453525)
+++ head/devel/libfwsi/Makefile	Sun Nov  5 09:06:54 2017	(r453526)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libfwsi
 # If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
-DISTVERSION=	experimental-20170117
+DISTVERSION=	experimental-20171103
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/libyal/libfwsi/releases/download/${PORTVERSION:E}/ \
 		LOCAL/antoine
@@ -14,23 +14,27 @@ COMMENT=	Library to access the Windows Shell Item form
 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/.//}
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-python
-USES=		libtool pathfix python
+CONFIGURE_ARGS=	--enable-python2 --enable-python3
+CONFIGURE_ENV=	PYTHON2_CONFIG=${LOCALBASE}/bin/python${PYTHON2_DEFAULT}-config \
+		PYTHON3=${LOCALBASE}/bin/python${PYTHON3_DEFAULT} \
+		PYTHON3_CONFIG=${LOCALBASE}/bin/python${PYTHON3_DEFAULT}-config
+USES=		libtool pathfix
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
+PLIST_SUB=	PYTHON2_SITELIBDIR=lib/python${PYTHON2_DEFAULT}/site-packages \
+		PYTHON3_SITELIBDIR=lib/python${PYTHON3_DEFAULT}/site-packages
 
-OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_DEFINE=	NLS
 
 NLS_USES=	gettext
 NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
 NLS_CONFIGURE_OFF=	--disable-nls
-
-PORTDOCS=	AUTHORS ChangeLog
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/libfwsi/distinfo
==============================================================================
--- head/devel/libfwsi/distinfo	Sun Nov  5 09:04:32 2017	(r453525)
+++ head/devel/libfwsi/distinfo	Sun Nov  5 09:06:54 2017	(r453526)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484682661
-SHA256 (libfwsi-experimental-20170117.tar.gz) = 7353ec339895f99f3e70ddd57c5c82227319013614613be70066826c13f6e3bd
-SIZE (libfwsi-experimental-20170117.tar.gz) = 1301587
+TIMESTAMP = 1509734033
+SHA256 (libfwsi-experimental-20171103.tar.gz) = a51929beab0b36f7bb479e5af42b28b58e74a68599b8a93ed82cd6199a0e7ae5
+SIZE (libfwsi-experimental-20171103.tar.gz) = 1278450

Modified: head/devel/libfwsi/pkg-plist
==============================================================================
--- head/devel/libfwsi/pkg-plist	Sun Nov  5 09:04:32 2017	(r453525)
+++ head/devel/libfwsi/pkg-plist	Sun Nov  5 09:06:54 2017	(r453526)
@@ -9,7 +9,9 @@ lib/libfwsi.a
 lib/libfwsi.so
 lib/libfwsi.so.1
 lib/libfwsi.so.1.0.0
-%%PYTHON_SITELIBDIR%%/pyfwsi.a
-%%PYTHON_SITELIBDIR%%/pyfwsi.so
+%%PYTHON2_SITELIBDIR%%/pyfwsi.a
+%%PYTHON2_SITELIBDIR%%/pyfwsi.so
+%%PYTHON3_SITELIBDIR%%/pyfwsi.a
+%%PYTHON3_SITELIBDIR%%/pyfwsi.so
 libdata/pkgconfig/libfwsi.pc
 man/man3/libfwsi.3.gz



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