+ py3-pandas is the only consumer, so removed py2, py3 only port.

+ Taking MAINTAINER (again).
This commit is contained in:
mariani 2020-03-20 14:48:44 +00:00
parent d98f32a2bf
commit 9b99efc79a
2 changed files with 8 additions and 4 deletions

View File

@ -1,16 +1,18 @@
# $OpenBSD: Makefile,v 1.6 2019/07/12 20:50:13 sthen Exp $
# $OpenBSD: Makefile,v 1.7 2020/03/20 14:48:44 mariani Exp $
COMMENT = extract data from xls and xlsx spreadsheet files
MODPY_EGG_VERSION = 1.2.0
DISTNAME = xlrd-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
REVISION = 2
CATEGORIES = textproc devel
HOMEPAGE = http://www.python-excel.org/
MAINTAINER= Elias M. Mariani <marianielias@gmail.com>
# BSD-style
PERMIT_PACKAGE = Yes
@ -22,7 +24,7 @@ MODPY_PYTEST = Yes
PORTHOME = ${WRKDIR}
FLAVORS = python3
FLAVOR ?=
FLAVOR = python3
post-install:
mv ${PREFIX}/bin/runxlrd.py ${PREFIX}/bin/runxlrd${MODPY_BIN_SUFFIX}

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.2 2019/03/04 21:43:45 mariani Exp $
@comment $OpenBSD: PLIST,v 1.3 2020/03/20 14:48:44 mariani Exp $
@conflict py-xlrd-*
@pkgpath textproc/py-xlrd
bin/runxlrd${MODPY_BIN_SUFFIX}
lib/python${MODPY_VERSION}/site-packages/xlrd/
lib/python${MODPY_VERSION}/site-packages/xlrd-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/