- Update to alpha-20191222

- Remove python 2.7 support
This commit is contained in:
Antoine Brodin 2019-12-23 12:41:48 +00:00
parent 347d34ed90
commit d5f33c7468
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520713
3 changed files with 9 additions and 19 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libscca
DISTVERSION= alpha-20191104
DISTVERSION= alpha-20191222
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libscca/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@ -13,23 +13,15 @@ COMMENT= Library and tools to access the Windows Prefetch File (SCCA) format
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= libfwnt.so:devel/libfwnt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python2 --enable-python3 --with-libfwnt=${LOCALBASE}
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
CONFIGURE_ARGS= --enable-python --with-libfwnt=${LOCALBASE}
CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
USES= libtool pathfix python:3.5+
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= NLS

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1572894937
SHA256 (libscca-alpha-20191104.tar.gz) = 4669c959fad07f0df8c6ab9962fde28672eea742db2b7bfc99d5b1f04257706a
SIZE (libscca-alpha-20191104.tar.gz) = 1586033
TIMESTAMP = 1577092868
SHA256 (libscca-alpha-20191222.tar.gz) = 04296f115b9ab538e0ec20f4aa87ffb24106b623264c98d0baca3db7c39fe838
SIZE (libscca-alpha-20191222.tar.gz) = 1605320

View file

@ -10,10 +10,8 @@ lib/libscca.a
lib/libscca.so
lib/libscca.so.1
lib/libscca.so.1.0.0
%%PYTHON2_SITELIBDIR%%/pyscca.a
%%PYTHON2_SITELIBDIR%%/pyscca.so
%%PYTHON3_SITELIBDIR%%/pyscca.a
%%PYTHON3_SITELIBDIR%%/pyscca.so
%%PYTHON_SITELIBDIR%%/pyscca.a
%%PYTHON_SITELIBDIR%%/pyscca.so
libdata/pkgconfig/libscca.pc
man/man1/sccainfo.1.gz
man/man3/libscca.3.gz