Edit

IABSD.fr/ports/security/py-josepy/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2018-04-14 13:21:41
    Hash : f836ded5
    Message : update to py-josepy-1.1.0

  • security/py-josepy/Makefile
  • # $OpenBSD: Makefile,v 1.3 2018/04/14 13:21:41 sthen Exp $
    
    COMMENT=	Javascript Object Signing and Encryption (JOSE)
    
    CATEGORIES=	security devel
    
    MODPY_EGG_VERSION= 1.1.0
    DISTNAME=	josepy-${MODPY_EGG_VERSION}
    PKGNAME=	py-${DISTNAME}
    
    FLAVORS=	python3
    FLAVOR?=
    
    # Apache 2.0
    PERMIT_PACKAGE_CDROM= Yes
    
    MAINTAINER=	Stuart Henderson <sthen@openbsd.org>
    
    MODULES=	lang/python
    MODPY_PI=	Yes
    MODPY_SETUPTOOLS= Yes
    SUBST_VARS=	MODPY_FLAVOR
    
    RUN_DEPENDS=	devel/py-six${MODPY_FLAVOR} \
    		security/py-cryptography${MODPY_FLAVOR} \
    		security/py-openssl${MODPY_FLAVOR}
    
    BUILD_DEPENDS=	${RUN_DEPENDS}
    
    # 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>