Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 18:36:59 +0000 (UTC)
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424200 - head/devel/py-oslo.config
Message-ID:  <201610181836.u9IIaxrF023768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: novel
Date: Tue Oct 18 18:36:59 2016
New Revision: 424200
URL: https://svnweb.freebsd.org/changeset/ports/424200

Log:
  devel/py-oslo.config: respect hier(7)
  
   - Use ${PREFIX}/etc instead of /etc for configuration files
   - Bump PORTREVISION
  
  PR:		213542
  Submitted by:	Alexander Nusov (maintainer)

Modified:
  head/devel/py-oslo.config/Makefile

Modified: head/devel/py-oslo.config/Makefile
==============================================================================
--- head/devel/py-oslo.config/Makefile	Tue Oct 18 18:30:24 2016	(r424199)
+++ head/devel/py-oslo.config/Makefile	Tue Oct 18 18:36:59 2016	(r424200)
@@ -3,6 +3,7 @@
 
 PORTNAME=	oslo.config
 PORTVERSION=	3.17.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,4 +24,10 @@ NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+post-patch:
+	@${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" \
+		${WRKSRC}/doc/source/sphinxconfiggen.rst \
+		${WRKSRC}/oslo_config/_list_opts.py \
+		${WRKSRC}/oslo_config/cfg.py
+
 .include <bsd.port.mk>



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