Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2019 19:46:58 +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: r508792 - in head/textproc/rubygem-nokogiri: . files
Message-ID:  <201908121946.x7CJkwh6099459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Aug 12 19:46:58 2019
New Revision: 508792
URL: https://svnweb.freebsd.org/changeset/ports/508792

Log:
  Revert rubygem-mini_portile2 change in r502877
  
  - Bump PORTREVISION for dependency change
  
  We do not need mini_portile/mini_portile2. It was removed since r355100 and r494447.
  
  mini_portile2 is used to download and build the libraries which is already handled by our ports framework very well.
  Furthermore, it is not needed when using system libraries (CONFIGURE_ARGS=--use-system-libraries).
  
  Reference:	https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html
  		https://github.com/sparklemotion/nokogiri/blob/v1.10.3/ext/nokogiri/extconf.rb#L447-L471

Added:
  head/textproc/rubygem-nokogiri/files/patch-gemspec
     - copied, changed from r502882, head/textproc/rubygem-nokogiri/files/patch-gemspec
Modified:
  head/textproc/rubygem-nokogiri/Makefile

Modified: head/textproc/rubygem-nokogiri/Makefile
==============================================================================
--- head/textproc/rubygem-nokogiri/Makefile	Mon Aug 12 19:46:53 2019	(r508791)
+++ head/textproc/rubygem-nokogiri/Makefile	Mon Aug 12 19:46:58 2019	(r508792)
@@ -2,7 +2,7 @@
 
 PORTNAME=	nokogiri
 PORTVERSION=	1.10.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
@@ -12,11 +12,12 @@ COMMENT=	HTML, XML, SAX, and Reader parser
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+# Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb
+# and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html
 BUILD_DEPENDS=	${RUN_DEPENDS}
 LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
 		libgpg-error.so:security/libgpg-error
-RUN_DEPENDS=	rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config \
-		rubygem-mini_portile2>=2.4.0:devel/rubygem-mini_portile2
+RUN_DEPENDS=	rubygem-pkg-config>=1.1.7:devel/rubygem-pkg-config
 
 USES=		gem gnome pkgconfig gettext-runtime
 USE_GNOME=	libxml2 libxslt

Copied and modified: head/textproc/rubygem-nokogiri/files/patch-gemspec (from r502882, head/textproc/rubygem-nokogiri/files/patch-gemspec)
==============================================================================
--- head/textproc/rubygem-nokogiri/files/patch-gemspec	Tue May 28 10:44:28 2019	(r502882, copy source)
+++ head/textproc/rubygem-nokogiri/files/patch-gemspec	Mon Aug 12 19:46:58 2019	(r508792)
@@ -1,10 +1,10 @@
---- nokogiri.gemspec.orig	2019-03-02 13:22:07 UTC
+--- nokogiri.gemspec.orig	2019-08-12 17:41:47 UTC
 +++ nokogiri.gemspec
 @@ -26,7 +26,6 @@ Gem::Specification.new do |s|
      s.specification_version = 4
  
      if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
 -      s.add_runtime_dependency(%q<mini_portile2>.freeze, ["~> 2.4.0"])
-       s.add_development_dependency(%q<concourse>.freeze, ["~> 0.15"])
+       s.add_development_dependency(%q<concourse>.freeze, ["~> 0.24"])
        s.add_development_dependency(%q<hoe-bundler>.freeze, ["~> 1.2"])
        s.add_development_dependency(%q<hoe-debugging>.freeze, ["~> 2.0"])



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