Edit

IABSD.fr/ports/net/py-libcloud/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2026-06-15 22:31:40
    Hash : b44ba074
    Message : drop now-unused py-test-runner deps, add TDEP on py-fasteners. ok aja

  • net/py-libcloud/Makefile
  • COMMENT=		unified interface for interacting with cloud services
    
    MODPY_DISTV=		3.9.1
    DISTNAME=		apache_libcloud-${MODPY_DISTV}
    PKGNAME=		py-libcloud-${MODPY_DISTV}
    
    CATEGORIES=		net
    
    HOMEPAGE=		https://libcloud.apache.org/
    
    MAINTAINER=		Antoine Jacoutot <ajacoutot@openbsd.org>
    
    # Apache 2.0
    PERMIT_PACKAGE=		Yes
    
    SITES=			${SITE_APACHE:=libcloud/}
    
    MODULES=		lang/python
    
    MODPY_PYBUILD=		setuptools
    
    RUN_DEPENDS=		sysutils/py-lockfile
    
    TEST_DEPENDS=		devel/flake8 \
    			devel/py-fasteners \
    			devel/py-mock \
    			security/py-openssl \
    			sysutils/py-lockfile \
    			www/py-requests-mock
    
    # no need to package the test suite
    post-install:
    	rm -rf ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/libcloud/test/
    
    pre-test:
    	cp ${WRKSRC}/libcloud/test/secrets.py-dist \
    		${WRKSRC}/libcloud/test/secrets.py
    
    .include <bsd.port.mk>