summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2018-05-19 19:26:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2018-05-19 19:26:26 +0000
commit517e39e6e637418d33a46271c862484f3b491317 (patch)
treebf75186287b5d147757db9b1520aad093a21211d
parent- Update to 0.20180509 (diff)
- Update to 0.8.0
PR: 22740 Submitted by: kai Approved by: wg (maintainer implicit) Sponsored by: iXsystems Inc.
-rw-r--r--www/py-requests-toolbelt/Makefile17
-rw-r--r--www/py-requests-toolbelt/distinfo6
2 files changed, 18 insertions, 5 deletions
diff --git a/www/py-requests-toolbelt/Makefile b/www/py-requests-toolbelt/Makefile
index e5e4d9524b3f..30dbee53e835 100644
--- a/www/py-requests-toolbelt/Makefile
+++ b/www/py-requests-toolbelt/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= requests-toolbelt
-PORTVERSION= 0.7.0
+DISTVERSION= 0.8.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,23 @@ MAINTAINER= wg@FreeBSD.org
COMMENT= Utility belt for advanced users of python-requests
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>2.0.1:www/py-requests@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>2.0.1:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/build/sphinx/html && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+ "! -name .buildinfo -and ! -name objects.inv")
.include <bsd.port.mk>
diff --git a/www/py-requests-toolbelt/distinfo b/www/py-requests-toolbelt/distinfo
index 1c915887cea5..872015fba4ed 100644
--- a/www/py-requests-toolbelt/distinfo
+++ b/www/py-requests-toolbelt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471871735
-SHA256 (requests-toolbelt-0.7.0.tar.gz) = 33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a
-SIZE (requests-toolbelt-0.7.0.tar.gz) = 194062
+TIMESTAMP = 1524999808
+SHA256 (requests-toolbelt-0.8.0.tar.gz) = f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5
+SIZE (requests-toolbelt-0.8.0.tar.gz) = 196129