- Update to experimental-20191221

- Remove python 2.7 support
This commit is contained in:
Antoine Brodin 2019-12-23 12:32:33 +00:00
parent 75a7837e82
commit 2dc431f19c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520707
3 changed files with 9 additions and 20 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= libvslvm
# If/When moving from experimental to alpha, switch to DISTVERSIONPREFIX to prevent PORTEPOCH
DISTVERSION= experimental-20191104
DISTVERSION= experimental-20191221
CATEGORIES= devel
MASTER_SITES= https://github.com/libyal/libvslvm/releases/download/${PORTVERSION:E}/ \
LOCAL/antoine
@ -14,22 +14,13 @@ COMMENT= Library and tools to access the LVM volume system 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/.//}
GNU_CONFIGURE= yes
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= fuse libtool pathfix pkgconfig
CONFIGURE_ARGS= --enable-python
CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
USES= fuse libtool pathfix pkgconfig 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 = 1572894995
SHA256 (libvslvm-experimental-20191104.tar.gz) = 54ff726e09d55abf14038b196e5b5b5b65b1f7cc2ad7fff356b1382705e6109f
SIZE (libvslvm-experimental-20191104.tar.gz) = 1534482
TIMESTAMP = 1577001175
SHA256 (libvslvm-experimental-20191221.tar.gz) = faf9f79d15d867c726dc2526b4fea5230b59a172419c9a9b186239a85f97f92f
SIZE (libvslvm-experimental-20191221.tar.gz) = 1548716

View file

@ -11,10 +11,8 @@ lib/libvslvm.a
lib/libvslvm.so
lib/libvslvm.so.1
lib/libvslvm.so.1.0.0
%%PYTHON2_SITELIBDIR%%/pyvslvm.a
%%PYTHON2_SITELIBDIR%%/pyvslvm.so
%%PYTHON3_SITELIBDIR%%/pyvslvm.a
%%PYTHON3_SITELIBDIR%%/pyvslvm.so
%%PYTHON_SITELIBDIR%%/pyvslvm.a
%%PYTHON_SITELIBDIR%%/pyvslvm.so
libdata/pkgconfig/libvslvm.pc
man/man1/vslvminfo.1.gz
man/man3/libvslvm.3.gz