Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 16:46:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465384 - in head/www/rubygem-sinatra-contrib: . files
Message-ID:  <201803231646.w2NGk5KH009689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Mar 23 16:46:05 2018
New Revision: 465384
URL: https://svnweb.freebsd.org/changeset/ports/465384

Log:
  Update to 2.0.1
  
  - Fix RUN_DEPENDS:
    - Remove unnecessary rubygem-backports
    - Add missing rubygem-mustermann
    - Remove rubygem-rack-test
    - Fix version requirement
  - Take maintainership
  
  Changes:	https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md
  		https://github.com/sinatra/sinatra/commits/master
  PR:		226784
  Submitted by:	sunpoet (myself)
  Approved by:	feld (maintainer)

Deleted:
  head/www/rubygem-sinatra-contrib/files/
Modified:
  head/www/rubygem-sinatra-contrib/Makefile
  head/www/rubygem-sinatra-contrib/distinfo

Modified: head/www/rubygem-sinatra-contrib/Makefile
==============================================================================
--- head/www/rubygem-sinatra-contrib/Makefile	Fri Mar 23 16:46:00 2018	(r465383)
+++ head/www/rubygem-sinatra-contrib/Makefile	Fri Mar 23 16:46:05 2018	(r465384)
@@ -1,27 +1,30 @@
 # $FreeBSD$
 
 PORTNAME=	sinatra-contrib
-PORTVERSION=	2.0.0
-PORTREVISION=	1
+PORTVERSION=	2.0.1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
-MAINTAINER=	feld@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 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 \
-		rubygem-rack-protection>=0:www/rubygem-rack-protection \
-		rubygem-rack-test>=0:www/rubygem-rack-test \
-		rubygem-sinatra>=2.0:www/rubygem-sinatra \
-		rubygem-tilt>=2.0:devel/rubygem-tilt
+RUN_DEPENDS=	rubygem-multi_json>=0:devel/rubygem-multi_json \
+		rubygem-mustermann>=1.0:devel/rubygem-mustermann \
+		rubygem-rack-protection>=${PORTVERSION}:www/rubygem-rack-protection \
+		rubygem-sinatra>=${PORTVERSION}:www/rubygem-sinatra \
+		rubygem-tilt>=1.3:devel/rubygem-tilt
 
 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
 
 .include <bsd.port.mk>

Modified: head/www/rubygem-sinatra-contrib/distinfo
==============================================================================
--- head/www/rubygem-sinatra-contrib/distinfo	Fri Mar 23 16:46:00 2018	(r465383)
+++ head/www/rubygem-sinatra-contrib/distinfo	Fri Mar 23 16:46:05 2018	(r465384)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1513260490
-SHA256 (rubygem/sinatra-contrib-2.0.0.gem) = ae3738592081f3dd2407aa71acee4819e9d615c29b47162c30637526665ac5f6
-SIZE (rubygem/sinatra-contrib-2.0.0.gem) = 31744
+TIMESTAMP = 1518889868
+SHA256 (rubygem/sinatra-contrib-2.0.1.gem) = 4880cc28bca78fcb667491b1d008e46cc74ae2662acccd7e31655492795d6633
+SIZE (rubygem/sinatra-contrib-2.0.1.gem) = 33792



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