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

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

Revision 1.2, Tue Jul 3 05:03:37 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.1: +2 -2 lines

extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.2 2018/07/03 05:03:37 adam Exp $

DISTNAME=      rst2pdf-0.93
PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=    python textproc
MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rst2pdf/}

MAINTAINER=    darcy@NetBSD.org
HOMEPAGE=      http://rst2pdf.ralsina.me/stories/index.html
COMMENT=       Convert restructured text to PDF via reportlab
LICENSE=       mit

USE_LANGUAGES=      # none
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 36 37
REPLACE_PYTHON= rst2pdf/__init__.py

DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip

post-install:
	${MV} ${DESTDIR}${PREFIX}/bin/rst2pdf ${DESTDIR}${PREFIX}/bin/rst2pdf-${PYVERSSUFFIX} || ${TRUE}
	${MV} ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93.dev0-py2.7.egg-info ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93-py2.7.egg-info

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