mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
40 lines
828 B
Makefile
40 lines
828 B
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>
|