blob: cfb34ab6fe8b499929c3cb66056cf1b9517c1125 (
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
|
# $NetBSD: Makefile,v 1.42 2022/02/07 21:00:11 adam Exp $
DISTNAME= pycryptodome-3.14.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.pycryptodome.org/
COMMENT= Cryptographic and hash functions for Python
LICENSE= public-domain AND python-software-foundation
# XXX is this needed?
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh
.include "../../lang/python/egg.mk"
# Python 3 builds of this package get an extra "abi3" suffix added
.if ${_PYTHON_VERSION} != 27
PLIST_SUBST+= SOEXT="abi3.so"
.else
PLIST_SUBST+= SOEXT="so"
.endif
BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|