Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 16:44:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411240 - in head/devel/pybugz: . files
Message-ID:  <201603161644.u2GGiFTi038197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Mar 16 16:44:15 2016
New Revision: 411240
URL: https://svnweb.freebsd.org/changeset/ports/411240

Log:
  devel/pybugz: update to 0.12.1
  
  - Fix manpage and extra config paths
  
  PR:		208061
  Approved by:	crees (maintainer)

Added:
  head/devel/pybugz/files/
  head/devel/pybugz/files/patch-bugz__configfile.py   (contents, props changed)
Modified:
  head/devel/pybugz/Makefile   (contents, props changed)
  head/devel/pybugz/distinfo   (contents, props changed)

Modified: head/devel/pybugz/Makefile
==============================================================================
--- head/devel/pybugz/Makefile	Wed Mar 16 16:06:21 2016	(r411239)
+++ head/devel/pybugz/Makefile	Wed Mar 16 16:44:15 2016	(r411240)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pybugz
-PORTVERSION=	0.11.1
+DISTVERSION=	0.12.1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -19,4 +19,10 @@ USE_PYTHON=	autoplist distutils
 
 GH_ACCOUNT=	williamh
 
+post-patch:
+	${REINPLACE_CMD} 's,share/man,man,' ${WRKSRC}/${PYSETUP}
+	${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \
+		-e 's,/etc,${PREFIX}&,' \
+		${WRKSRC}/man/pybugz.d.5
+
 .include <bsd.port.mk>

Modified: head/devel/pybugz/distinfo
==============================================================================
--- head/devel/pybugz/distinfo	Wed Mar 16 16:06:21 2016	(r411239)
+++ head/devel/pybugz/distinfo	Wed Mar 16 16:44:15 2016	(r411240)
@@ -1,2 +1,2 @@
-SHA256 (williamh-pybugz-0.11.1_GH0.tar.gz) = 05b2cef8a655ab34d9279e6341d16a803af07958e72320125cb30a3fd6bc8eec
-SIZE (williamh-pybugz-0.11.1_GH0.tar.gz) = 23787
+SHA256 (williamh-pybugz-0.12.1_GH0.tar.gz) = aade267d2ee6b02d6872e019ef4ddf8f96e1d81668faa2506e96875fa2981bc7
+SIZE (williamh-pybugz-0.12.1_GH0.tar.gz) = 25606

Added: head/devel/pybugz/files/patch-bugz__configfile.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pybugz/files/patch-bugz__configfile.py	Wed Mar 16 16:44:15 2016	(r411240)
@@ -0,0 +1,11 @@
+--- bugz/configfile.py.orig	2015-09-20 16:13:33 UTC
++++ bugz/configfile.py
+@@ -9,7 +9,7 @@ from bugz.log import log_error
+ def load_config(UserConfig=None):
+     parser = configparser.ConfigParser(default_section='default')
+     DefaultConfigs = sorted(glob.glob(sys.prefix + '/share/pybugz.d/*.conf'))
+-    SystemConfigs = sorted(glob.glob('/etc/pybugz.d/*.conf'))
++    SystemConfigs = sorted(glob.glob(sys.prefix + '/etc/pybugz.d/*.conf'))
+     if UserConfig is not None:
+         UserConfig = os.path.expanduser(UserConfig)
+     else:



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