openbsd-ports/security/py-cryptodome/Makefile
2020-02-23 13:31:06 +00:00

39 lines
725 B
Makefile

# $OpenBSD: Makefile,v 1.19 2020/02/23 13:31:06 jasper Exp $
COMMENT = self-contained cryptographic library for Python
MODPY_EGG_VERSION = 3.9.7
DISTNAME = pycryptodome-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/py//}
CATEGORIES = security
HOMEPAGE = https://www.pycryptodome.org
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD + Public Domain
PERMIT_PACKAGE = Yes
WANTLIB += pthread
MODULES = lang/python
FLAVORS = python3
FLAVOR ?=
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
SUBST_VARS += AESNI_COMMENT
RUN_DEPENDS = devel/gmp
.include <bsd.port.arch.mk>
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
AESNI_COMMENT =
.else
AESNI_COMMENT = "@comment "
.endif
.include <bsd.port.mk>