From owner-svn-ports-all@freebsd.org Tue Apr 3 09:52:24 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AAC8F7212B; Tue, 3 Apr 2018 09:52:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8C8D73E27; Tue, 3 Apr 2018 09:52:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5629022DA3; Tue, 3 Apr 2018 09:52:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w339qNYD096412; Tue, 3 Apr 2018 09:52:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w339qNiZ096411; Tue, 3 Apr 2018 09:52:23 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201804030952.w339qNiZ096411@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 3 Apr 2018 09:52:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466329 - head/www/rubygem-sinatra-contrib1 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/rubygem-sinatra-contrib1 X-SVN-Commit-Revision: 466329 X-SVN-Commit-Repository: ports 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.25 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: Tue, 03 Apr 2018 09:52:24 -0000 Author: sunpoet Date: Tue Apr 3 09:52:22 2018 New Revision: 466329 URL: https://svnweb.freebsd.org/changeset/ports/466329 Log: Remove unnecessary rubygem-backports - Bump PORTREVISION for dependency and package change PR: 226786 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 14 days) Modified: head/www/rubygem-sinatra-contrib1/Makefile Modified: head/www/rubygem-sinatra-contrib1/Makefile ============================================================================== --- head/www/rubygem-sinatra-contrib1/Makefile Tue Apr 3 09:52:17 2018 (r466328) +++ head/www/rubygem-sinatra-contrib1/Makefile Tue Apr 3 09:52:22 2018 (r466329) @@ -2,7 +2,7 @@ PORTNAME= sinatra-contrib PORTVERSION= 1.4.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMESUFFIX= 1 @@ -13,8 +13,7 @@ COMMENT= Collection of useful Sinatra extensions LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-backports>=2.0:devel/rubygem-backports \ - rubygem-multi_json>=0:devel/rubygem-multi_json \ +RUN_DEPENDS= rubygem-multi_json>=0:devel/rubygem-multi_json \ rubygem-rack-protection>=0:www/rubygem-rack-protection \ rubygem-rack-test>=0:www/rubygem-rack-test \ rubygem-sinatra1>=1.4:www/rubygem-sinatra1 \ @@ -23,8 +22,14 @@ RUN_DEPENDS= rubygem-backports>=2.0:devel/rubygem-back PORTSCOUT= limit:^1\. NO_ARCH= yes +REINPLACE_ARGS= -i '' USE_RUBY= yes USES= gem + +post-patch: +# Remove backports + @${REINPLACE_CMD} -e '/backports/d' ${WRKSRC}/${GEMSPEC} + @${REINPLACE_CMD} -e '/require "backports"/d' ${WRKSRC}/lib/sinatra/*.rb ${WRKSRC}/lib/sinatra/contrib/setup.rb ${WRKSRC}/spec/streaming_spec.rb .include