svn commit: r463224 - head/devel/rubygem-gh
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Feb 28 15:13:08 UTC 2018
Author: sunpoet
Date: Wed Feb 28 15:13:07 2018
New Revision: 463224
URL: https://svnweb.freebsd.org/changeset/ports/463224
Log:
Remove unnecessary rubygem-backports
- Bump PORTREVISION for dependency and package change
Modified:
head/devel/rubygem-gh/Makefile
Modified: head/devel/rubygem-gh/Makefile
==============================================================================
--- head/devel/rubygem-gh/Makefile Wed Feb 28 15:13:02 2018 (r463223)
+++ head/devel/rubygem-gh/Makefile Wed Feb 28 15:13:07 2018 (r463224)
@@ -3,7 +3,7 @@
PORTNAME= gh
PORTVERSION= 0.15.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel rubygems
MASTER_SITES= RG
@@ -14,14 +14,19 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-addressable>=2.4.0:www/rubygem-addressable \
- rubygem-backports>=0:devel/rubygem-backports \
rubygem-faraday>=0.8:www/rubygem-faraday \
rubygem-multi_json>=1.0:devel/rubygem-multi_json \
rubygem-net-http-persistent2>=2.9:www/rubygem-net-http-persistent2 \
rubygem-net-http-pipeline>=0:www/rubygem-net-http-pipeline
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/gh.rb ${WRKSRC}/lib/gh/parallel.rb
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list