svn commit: r424200 - head/devel/py-oslo.config
Roman Bogorodskiy
novel at FreeBSD.org
Tue Oct 18 18:37:00 UTC 2016
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>
More information about the svn-ports-head
mailing list