we expected and it's easier|safer to do it this way than fiddle with pkg_add now. thanks aja for update tests with a quick bulk.
29 lines
542 B
Makefile
29 lines
542 B
Makefile
# $OpenBSD: Makefile,v 1.3 2019/04/28 20:51:51 sthen Exp $
|
|
|
|
COMMENT = pure-Python implementation of AES block-cipher
|
|
|
|
MODPY_EGG_VERSION = 1.6.1
|
|
DISTNAME = pyaes-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-aes-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = security
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
TEST_DEPENDS = ${FULLPKGNAME}:${FULLPKGPATH}
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && \
|
|
${MODPY_BIN} tests/test-blockfeeder.py \
|
|
${MODPY_BIN} tests/test-aes.py
|
|
|
|
.include <bsd.port.mk>
|