kmos 2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00

38 lines
705 B
Makefile

# $OpenBSD: Makefile,v 1.26 2021/05/21 19:50:34 kmos Exp $
COMMENT = self-contained cryptographic library for Python
MODPY_EGG_VERSION = 3.10.1
DISTNAME = pycryptodome-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/py//}
REVISION = 0
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
RUN_DEPENDS = devel/gmp
.include <bsd.port.arch.mk>
.if ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mi386}
PKG_ARGS+= -Daesni=1
.else
PKG_ARGS+= -Daesni=0
.endif
.include <bsd.port.mk>