rpe c9a8fbfd03 Update py-boto to 2.28.0
Too many changes to list here, see:
http://docs.pythonboto.org/en/latest/releasenotes/v2.28.0.html

Notable changes portswise:
- does not depend on py-M2Crypto anymore (currently broken by libressl)
- make it a NOT_TEST port, running the tests needs online user accounts
- update RUN_DEPENDS and make py-sphinx only a build dependency

OK aja@ sthen@
2014-05-12 20:35:50 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2014/05/12 20:35:50 rpe Exp $
COMMENT = python interface to amazon web services
MODPY_EGG_VERSION = 2.28.0
DISTNAME = boto-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = net
HOMEPAGE = https://github.com/boto/boto
MASTER_SITES = ${MASTER_SITE_PYPI:=b/boto/}
MAINTAINER = Jim Razmus II <jim@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = security/py-paramiko \
textproc/py-yaml \
www/py-requests
BUILD_DEPENDS = ${RUN_DEPENDS} \
textproc/py-sphinx \
# XXX The tests are not suited for automatic testing because online
# user accounts at Amazon are necessary for this.
NO_TEST = Yes
DOCDIR = ${PREFIX}/share/doc/py-boto
post-build:
cd ${WRKSRC} && \
PYTHONPATH=${WRKSRC}\
${LOCALBASE}/bin/sphinx-build -N -b text docs/source \
build/doc
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/ref
${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/build/doc/*.txt ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/build/doc/ref/*.txt ${DOCDIR}/ref
.include <bsd.port.mk>