openbsd-ports/devel/py3c/Makefile
stsp 1eb83685d6 import devel/py3c
py3c is a header-only C library which provides a python 2/3 compat layer.

This is required to compile the Python bindings of Subversion 1.14.

with tweaks by jca@, landry@, sthen@
ok jca@ sthen@
2020-05-27 13:43:15 +00:00

32 lines
595 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/05/27 13:43:15 stsp Exp $
COMMENT = python 2/3 compatibility layer for C extensions
GH_ACCOUNT = encukou
GH_PROJECT = py3c
GH_TAGNAME = v1.1
CATEGORIES = devel
HOMEPAGE = https://py3c.readthedocs.io/
MAINTAINER = Stefan Sperling <stsp@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
TEST_DEPENDS = lang/python/${MODPY_DEFAULT_VERSION_2} \
lang/python/${MODPY_DEFAULT_VERSION_3}
CONFIGURE_STYLE = none
ALL_TARGET = py3c.pc
MAKE_FLAGS = prefix=${PREFIX}
USE_GMAKE = Yes
.include <bsd.port.mk>