Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2018 09:12:23 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474340 - head/devel/py-osc-lib
Message-ID:  <201807100912.w6A9CN8Y037186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Tue Jul 10 09:12:23 2018
New Revision: 474340
URL: https://svnweb.freebsd.org/changeset/ports/474340

Log:
  - Update to 1.9.0
  - Added LICENSE_FILE
  - Added DOCS option with appropriate dependencies
  - Sorted variables a bit
  - updated WWW
  
  PR:		228696
  Submitted by:	freebsd_ports@k-worx.org
  Approved by:	maintainer
  Sponsored by:	iXsystems Inc.

Modified:
  head/devel/py-osc-lib/Makefile
  head/devel/py-osc-lib/distinfo
  head/devel/py-osc-lib/pkg-descr

Modified: head/devel/py-osc-lib/Makefile
==============================================================================
--- head/devel/py-osc-lib/Makefile	Tue Jul 10 09:08:15 2018	(r474339)
+++ head/devel/py-osc-lib/Makefile	Tue Jul 10 09:12:23 2018	(r474340)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	osc-lib
-PORTVERSION=	1.3.0
+PORTVERSION=	1.9.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,20 +11,43 @@ MAINTAINER=	alexander.nusov@nfvexpress.com
 COMMENT=	OpenStackClient plugin library support
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}stevedore>=1.17.1:devel/py-stevedore@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.16.0:devel/py-keystoneauth1@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cliff>=2.3.0:devel/py-cliff@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}simplejson>=2.2.0:devel/py-simplejson@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.18.0:devel/py-oslo.utils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}os-client-config>=1.22.0:devel/py-os-client-config@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=2.0:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=2.0:devel/py-pbr@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Babel>=2.4.0:devel/py-babel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openstacksdk>=0.9.19:devel/py-openstacksdk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}os-client-config>=1.28.0:devel/py-os-client-config@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	distutils autoplist
+
 NO_ARCH=	yes
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.18.1:textproc/py-openstackdocstheme@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}simplejson>=3.5.1:devel/py-simplejson@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.4.0:devel/py-keystoneauth1@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}cliff>=2.8.0:devel/py-cliff@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}os-client-config>=1.28.0:devel/py-os-client-config@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}openstacksdk>=0.9.19:devel/py-openstacksdk@${PY_FLAVOR}
+DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc/build/html && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+			"! -name .buildinfo -and ! -name objects.inv")
 
 .include <bsd.port.mk>

Modified: head/devel/py-osc-lib/distinfo
==============================================================================
--- head/devel/py-osc-lib/distinfo	Tue Jul 10 09:08:15 2018	(r474339)
+++ head/devel/py-osc-lib/distinfo	Tue Jul 10 09:12:23 2018	(r474340)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485280188
-SHA256 (osc-lib-1.3.0.tar.gz) = 32bf892ba828241f93ae0ef5c94d6b92ac3deb9f061dd4ffb61e05120b4ff365
-SIZE (osc-lib-1.3.0.tar.gz) = 74532
+TIMESTAMP = 1527867499
+SHA256 (osc-lib-1.9.0.tar.gz) = b8a1434c3c903ff68547ecb512e9c7a423db2315b7b63229a207c66472ae722b
+SIZE (osc-lib-1.9.0.tar.gz) = 86263

Modified: head/devel/py-osc-lib/pkg-descr
==============================================================================
--- head/devel/py-osc-lib/pkg-descr	Tue Jul 10 09:08:15 2018	(r474339)
+++ head/devel/py-osc-lib/pkg-descr	Tue Jul 10 09:12:23 2018	(r474340)
@@ -1,4 +1,4 @@
 OpenStackClient (aka OSC) is a command-line client for OpenStack.
 osc-lib is a package of common support modules for writing OSC plugins.
 
-WWW: https://pypi.org/project/osc-lib/
+WWW: https://docs.openstack.org/osc-lib/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807100912.w6A9CN8Y037186>