42 lines
902 B
Makefile
42 lines
902 B
Makefile
# $OpenBSD: Makefile,v 1.5 2015/09/29 10:52:29 sthen Exp $
|
|
|
|
COMMENT= unified interface for interacting with cloud services
|
|
|
|
MODPY_EGG_VERSION= 0.18.0
|
|
DISTNAME= apache-libcloud-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-libcloud-${MODPY_EGG_VERSION}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= https://libcloud.apache.org/
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=libcloud/}
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
RUN_DEPENDS= sysutils/py-lockfile
|
|
|
|
TEST_DEPENDS= devel/flake8 \
|
|
devel/pep8 \
|
|
devel/py-mock \
|
|
sysutils/py-lockfile
|
|
|
|
# python2
|
|
RUN_DEPENDS += devel/py-backports-ssl-match-hostname
|
|
TEST_DEPENDS += devel/py-backports-ssl-match-hostname
|
|
|
|
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>
|