From owner-svn-ports-all@FreeBSD.ORG Sun Feb 9 07:50:07 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC83C9E; Sun, 9 Feb 2014 07:50:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C97961D18; Sun, 9 Feb 2014 07:50:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s197o6fB083338; Sun, 9 Feb 2014 07:50:06 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s197o6xv083336; Sun, 9 Feb 2014 07:50:06 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201402090750.s197o6xv083336@svn.freebsd.org> From: Ruslan Makhmatkhanov Date: Sun, 9 Feb 2014 07:50:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343433 - in head/www/trac-OhlohWidgetsMacro: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 07:50:07 -0000 Author: rm Date: Sun Feb 9 07:50:06 2014 New Revision: 343433 URL: http://svnweb.freebsd.org/changeset/ports/343433 QAT: https://qat.redports.org/buildarchive/r343433/ Log: - add upstream patch to fix runtime, using correct url scheme - adopt staging and use auto-generated packing list - bump PORTREVISION PR: 183853 Submitted by: Douglas William Thrift (maintainer) Added: head/www/trac-OhlohWidgetsMacro/files/ head/www/trac-OhlohWidgetsMacro/files/patch-ohloh_widgets__macro.py (contents, props changed) Deleted: head/www/trac-OhlohWidgetsMacro/pkg-plist Modified: head/www/trac-OhlohWidgetsMacro/Makefile Modified: head/www/trac-OhlohWidgetsMacro/Makefile ============================================================================== --- head/www/trac-OhlohWidgetsMacro/Makefile Sun Feb 9 06:05:30 2014 (r343432) +++ head/www/trac-OhlohWidgetsMacro/Makefile Sun Feb 9 07:50:06 2014 (r343433) @@ -1,8 +1,9 @@ -# Created by: Douglas Thrift +# Created by: Douglas Thrift # $FreeBSD$ PORTNAME= OhlohWidgetsMacro PORTVERSION= 0.2 +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= trac- @@ -10,12 +11,13 @@ PKGNAMEPREFIX= trac- MAINTAINER= douglas@douglasthrift.net COMMENT= Trac macro to embed Ohloh widgets +LICENSE= MIT + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycerberus>=0.3:${PORTSDIR}/devel/py-pycerberus \ tracd:${PORTSDIR}/www/trac -LICENSE= MIT - -USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes .include Added: head/www/trac-OhlohWidgetsMacro/files/patch-ohloh_widgets__macro.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trac-OhlohWidgetsMacro/files/patch-ohloh_widgets__macro.py Sun Feb 9 07:50:06 2014 (r343433) @@ -0,0 +1,20 @@ +--- ./ohloh_widgets/macro.py.orig 2013-06-17 12:52:47.000000000 -0700 ++++ ./ohloh_widgets/macro.py 2013-06-17 12:53:17.000000000 -0700 +@@ -46,7 +46,7 @@ + ![[OhlohWidget(project_id, widget_name)]] + + The macro gets two parameters which you can get from Ohloh's widget page +- for your project (!http://www.ohloh.net/p//widgets) when you ++ for your project (!https://www.ohloh.net/p//widgets) when you + look at the embeddable HTML snippet: + + * project_id -- a 6 digit number which identifies your project +@@ -70,7 +70,7 @@ + + def url(self, parameters): + query_string = '' +- url_template = 'http://www.ohloh.net/p/%(project_id)d/widgets/%(widget_name)s.js' ++ url_template = 'https://www.ohloh.net/p/%(project_id)d/widgets/%(widget_name)s.js' + widget_name = parameters.widget_name + if '?' in widget_name: + parameters['widget_name'], query_parameters = widget_name.split('?', 1)