On Fri, 16 Mar 2018 17:39:36 +0000, Stuart Henderson
<s...@spacehopper.org> wrote:

> OK to import? 

You need MODPY_PI and SETUPTOOLS that you missed because for py-acme
they are in Makefile.inc ;)

With the following Makefile (space before the '=' and more tabs) ok
danj@ (or just add the MODPY_ and take maintainership :p)

Cheers,
Daniel

# $OpenBSD: Makefile,v 1.14 2017/05/05 13:38:20 sthen Exp $

COMMENT =               Javascript Object Signing and Encryption (JOSE)

CATEGORIES =            security devel

MODPY_EGG_VERSION =     1.0.1
DISTNAME =              josepy-${MODPY_EGG_VERSION}
PKGNAME =               py-${DISTNAME}

# Apache 2.0
PERMIT_PACKAGE_CDROM =  Yes

MODULES =               lang/python
MODPY_SETUPTOOLS =      Yes
MODPY_PI =              Yes

FLAVORS =               python3
FLAVOR ?=

RUN_DEPENDS =           devel/py-six${MODPY_FLAVOR} \
                        security/py-cryptography${MODPY_FLAVOR} \
                        security/py-openssl${MODPY_FLAVOR}

# needs additional dep's which require a chain of updates in ports
NO_TEST =               Yes

post-install:
        mv ${PREFIX}/bin/jws{,${MODPY_BIN_SUFFIX}}

.include <bsd.port.mk>

Reply via email to