blob: fbad6927fdb4ab366e9efff31441b410daaffd27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.29 2020/08/31 23:07:04 wiz Exp $
DISTNAME= WeasyPrint-51
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= https://weasyprint.org/
COMMENT= Converts HTML/CSS documents to PDF
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
DEPENDS+= pango>=1.29.3:../../devel/pango
DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20:../../converters/py-cairosvg
DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.9.0:../../graphics/py-cairocffi
DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.9.1:../../textproc/py-pyphen
DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py-tinycss2
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_VERSIONED_DEPENDENCIES+= setuptools
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} weasyprint weasyprint-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
|