[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-Excelerator

File: [cvs.NetBSD.org] / pkgsrc / textproc / py-Excelerator / Makefile (download)

Revision 1.18, Tue Jul 3 05:03:36 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.17: +2 -2 lines

extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.18 2018/07/03 05:03:36 adam Exp $

DISTNAME=	pyexcelerator-${VERSION}
PKGNAME=	${PYPKGPREFIX}-Excelerator-${VERSION}
PKGREVISION=	1
VERSION=	0.6.4.1
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pyexcelerator/}
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://sourceforge.net/projects/pyexcelerator/
COMMENT=	Python library for generating Excel 97/2000/XP/2003 files

USE_LANGUAGES=	#none

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37

EGG_NAME=	pyExcelerator-${VERSION}

REPLACE_PYTHON+=	pyExcelerator/BIFFRecords.py
REPLACE_PYTHON+=	pyExcelerator/Bitmap.py
REPLACE_PYTHON+=	pyExcelerator/Cell.py
REPLACE_PYTHON+=	pyExcelerator/Column.py
REPLACE_PYTHON+=	pyExcelerator/CompoundDoc.py
REPLACE_PYTHON+=	pyExcelerator/ExcelFormula.py
REPLACE_PYTHON+=	pyExcelerator/ExcelFormulaLexer.py
REPLACE_PYTHON+=	pyExcelerator/ExcelMagic.py
REPLACE_PYTHON+=	pyExcelerator/Formatting.py
REPLACE_PYTHON+=	pyExcelerator/ImportXLS.py
REPLACE_PYTHON+=	pyExcelerator/Row.py
REPLACE_PYTHON+=	pyExcelerator/Style.py
REPLACE_PYTHON+=	pyExcelerator/UnicodeUtils.py
REPLACE_PYTHON+=	pyExcelerator/Workbook.py
REPLACE_PYTHON+=	pyExcelerator/Worksheet.py
REPLACE_PYTHON+=	pyExcelerator/__init__.py

INSTALLATION_DIRS=	share/doc/py-Excelerator share/examples/py-Excelerator

PYTHON_SELF_CONFLICT=	yes

post-install:
	for f in CHANGES.txt LICENSE.txt README.txt THANKS.txt TODO.txt ; do \
		${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/doc/py-Excelerator/ ; \
	done
	for f in ${WRKSRC}/examples/*.py ${WRKSRC}/tools/*.py ; do \
		${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/examples/py-Excelerator/ ; \
	done

.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"