ports/devel/py-sip/Makefile

40 lines
896 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= automatically generate Python bindings for C and C++ libs
# The following ports often usually need updating together:
# devel/py-sip, www/py-qtwebengine, x11/py-qt5, x11/py-sip-qt5
# API changes fairly often, be sure to test dependent ports when updating.
2023-09-08 05:21:37 +00:00
MODPY_EGG_VERSION= 6.7.11
2023-08-16 22:26:55 +00:00
DISTNAME= sip-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
2023-09-08 05:21:37 +00:00
REVISION= 0
2023-08-16 22:26:55 +00:00
EPOCH= 0
CATEGORIES= devel
HOMEPAGE= https://www.riverbankcomputing.com/software/sip/intro
# SIP license (Python like) or GPLv2/v3
PERMIT_PACKAGE= Yes
WANTLIB += pthread
COMPILER= base-clang ports-gcc
MODULES= lang/python
FLAVORS= python3
FLAVOR= python3
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
RUN_DEPENDS= sysutils/py-packaging${MODPY_FLAVOR} \
devel/py-setuptools${MODPY_FLAVOR} \
devel/py-ply${MODPY_FLAVOR} \
2023-09-08 05:21:37 +00:00
# until we move to python 3.11
RUN_DEPENDS+= textproc/py-tomli${MODPY_FLAVOR}
2023-08-16 22:26:55 +00:00
.include <bsd.port.mk>