View | Details | Raw Unified | Return to bug 197083 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.ruby.mk (-19 / +27 lines)
Lines 434-439 Link Here
434
DOC_DIR=	${GEMS_BASE_DIR}/doc
434
DOC_DIR=	${GEMS_BASE_DIR}/doc
435
CACHE_DIR=	${GEMS_BASE_DIR}/cache
435
CACHE_DIR=	${GEMS_BASE_DIR}/cache
436
SPEC_DIR=	${GEMS_BASE_DIR}/specifications
436
SPEC_DIR=	${GEMS_BASE_DIR}/specifications
437
EXT_DIR=	${GEMS_BASE_DIR}/extensions
437
GEM_NAME?=	${PORTNAME}-${PORTVERSION}
438
GEM_NAME?=	${PORTNAME}-${PORTVERSION}
438
GEM_LIB_DIR?=	${GEMS_DIR}/${GEM_NAME}
439
GEM_LIB_DIR?=	${GEMS_DIR}/${GEM_NAME}
439
GEM_DOC_DIR?=	${DOC_DIR}/${GEM_NAME}
440
GEM_DOC_DIR?=	${DOC_DIR}/${GEM_NAME}
Lines 447-452 Link Here
447
		DOC_DIR="${DOC_DIR}" \
448
		DOC_DIR="${DOC_DIR}" \
448
		CACHE_DIR="${CACHE_DIR}" \
449
		CACHE_DIR="${CACHE_DIR}" \
449
		SPEC_DIR="${SPEC_DIR}" \
450
		SPEC_DIR="${SPEC_DIR}" \
451
		EXT_DIR="${EXT_DIR}" \
450
		PORT="${PORTNAME}-${PORTVERSION}" \
452
		PORT="${PORTNAME}-${PORTVERSION}" \
451
		GEM_NAME="${GEM_NAME}" \
453
		GEM_NAME="${GEM_NAME}" \
452
		GEM_LIB_DIR="${GEM_LIB_DIR}" \
454
		GEM_LIB_DIR="${GEM_LIB_DIR}" \
Lines 463-480 Link Here
463
GEMFILES=	${DISTNAME}${EXTRACT_SUFX}
465
GEMFILES=	${DISTNAME}${EXTRACT_SUFX}
464
. endif
466
. endif
465
467
466
RUBYGEM_ARGS=-l --no-update-sources --no-ri --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin
468
GEMSPEC=	${PORTNAME}.gemspec
469
470
RUBYGEM_ARGS=-l --no-update-sources --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin
467
GEM_ENV+=	RB_USER_INSTALL=yes
471
GEM_ENV+=	RB_USER_INSTALL=yes
468
.if defined(NOPORTDOCS)
472
.if defined(NOPORTDOCS)
469
RUBYGEM_ARGS+=	--no-rdoc
473
RUBYGEM_ARGS+=	--no-rdoc --no-ri
474
.else
475
RUBYGEM_ARGS+=	--rdoc --ri
470
.endif
476
.endif
471
477
472
do-extract:
478
do-extract:
473
	@${SETENV} ${GEM_ENV} ${RUBYGEMBIN} unpack --target=${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES}
479
	@${SETENV} ${GEM_ENV} ${RUBYGEMBIN} unpack --target=${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES}
474
	@${TAR} -xOzf ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES} metadata.gz | ${GZCAT} > ${BUILD_WRKSRC}/${GEMFILES}spec
480
	@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} spec --ruby ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES} > ${GEMSPEC} ; then \
481
		if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
482
			${ECHO_MSG} "===> Extraction failed unexpectedly."; \
483
			(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
484
			fi; \
485
		${FALSE}; \
486
		fi)
475
487
476
do-build:
488
do-build:
477
	@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build --force ${GEMFILES}spec ; then \
489
	@(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build --force ${GEMSPEC} ; then \
478
		if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
490
		if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \
479
			${ECHO_MSG} "===> Compilation failed unexpectedly."; \
491
			${ECHO_MSG} "===> Compilation failed unexpectedly."; \
480
			(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
492
			(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \
Lines 483-489 Link Here
483
		fi)
495
		fi)
484
496
485
do-install:
497
do-install:
486
	@(cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS})
498
	(cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS})
499
	${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/
500
	${RMDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR} 2> /dev/null || ${TRUE}
501
.if defined(NOPORTDOCS)
502
	-@${RMDIR} ${STAGEDIR}${PREFIX}/${DOC_DIR}
503
.endif
487
504
488
. if defined(RUBYGEM_AUTOPLIST)
505
. if defined(RUBYGEM_AUTOPLIST)
489
.  if !target(post-install-script)
506
.  if !target(post-install-script)
Lines 491-514 Link Here
491
	@${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
508
	@${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
492
	@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
509
	@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
493
.if !defined(NOPORTDOCS)
510
.if !defined(NOPORTDOCS)
494
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_DOC_DIR} -type f -print | ${SED} -E -e \
511
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \
495
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
512
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
496
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_DOC_DIR} -type d -print | ${SED} -E -e \
497
		's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
498
.endif
513
.endif
499
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \
514
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \
500
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
515
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
501
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type d -print | ${SED} -E -e \
516
	@if [ -d ${STAGEDIR}${PREFIX}/${EXT_DIR} ]; then \
502
		's,^${STAGEDIR}${PREFIX}/?,@dirrm ,' >> ${TMPPLIST}
517
		${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \
503
	@${ECHO_CMD} "@unexec rmdir %D/${GEMS_DIR} 2>/dev/null || true" >> ${TMPPLIST}
518
		's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \
504
.if !defined(NOPORTDOCS)
519
	fi
505
	@${ECHO_CMD} "@unexec rmdir %D/${DOC_DIR} 2>/dev/null || true" >> ${TMPPLIST}
506
.endif
507
	@${ECHO_CMD} "@unexec rmdir %D/${CACHE_DIR} 2>/dev/null || true" >> ${TMPPLIST}
508
	@${ECHO_CMD} "@unexec rmdir %D/${SPEC_DIR} 2>/dev/null || true" >> ${TMPPLIST}
509
	@${ECHO_CMD} "@unexec rmdir %D/${GEMS_BASE_DIR} 2>/dev/null || true" >> ${TMPPLIST}
510
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems 2>/dev/null || true" >> ${TMPPLIST}
511
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby 2>/dev/null || true" >> ${TMPPLIST}
512
.  endif
520
.  endif
513
. endif
521
. endif
514
522
(-)devel/ruby-gems/Makefile (-35 / +16 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gems
4
PORTNAME=	gems
5
PORTVERSION=	1.8.30
5
PORTVERSION=	2.4.5
6
CATEGORIES=	devel ruby
6
CATEGORIES=	devel ruby
7
MASTER_SITES=	https://github.com/rubygems/rubygems/releases/download/v${PORTVERSION}/
7
MASTER_SITES=	http://production.cf.rubygems.org/rubygems/
8
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
9
DISTNAME=	ruby${PORTNAME}-${PORTVERSION}
9
DISTNAME=	ruby${PORTNAME}-${PORTVERSION}
10
DIST_SUBDIR=	ruby
10
DIST_SUBDIR=	ruby
Lines 21-29 Link Here
21
NO_BUILD=	yes
21
NO_BUILD=	yes
22
USES=		tar:tgz
22
USES=		tar:tgz
23
23
24
PLIST_SUB+=	DISTNAME="${DISTNAME}" \
25
		RUBY_VER_SHORT="${RUBY_VER_SHORT}"
26
27
GEMS_BASE_DIR=		lib/ruby/gems
24
GEMS_BASE_DIR=		lib/ruby/gems
28
GEMS_BASE_DIR_P=	${GEMS_BASE_DIR}
25
GEMS_BASE_DIR_P=	${GEMS_BASE_DIR}
29
GEMS_VER_DIR=		${GEMS_BASE_DIR}/${RUBY_VER}
26
GEMS_VER_DIR=		${GEMS_BASE_DIR}/${RUBY_VER}
Lines 34-39 Link Here
34
GEMS_DOC_DIR_P=		${GEMS_DOC_BASE_DIR_P}/%%DISTNAME%%
31
GEMS_DOC_DIR_P=		${GEMS_DOC_BASE_DIR_P}/%%DISTNAME%%
35
RUBY_VER_SHORT=		${RUBY_VER:S/.//}
32
RUBY_VER_SHORT=		${RUBY_VER:S/.//}
36
33
34
GEMS_DIR=		${GEMS_VER_DIR}/gems
35
DOC_DIR=		${GEMS_VER_DIR}/doc
36
CACHE_DIR=		${GEMS_VER_DIR}/cache
37
SPEC_DIR=		${GEMS_VER_DIR}/specifications
38
EXT_DIR=		${GEMS_VER_DIR}/extensions
39
40
PLIST_SUB+=	DISTNAME="${DISTNAME}" \
41
		RUBY_VER_SHORT="${RUBY_VER_SHORT}" \
42
		GEMS_DIR="${GEMS_DIR}" \
43
		DOC_DIR="${DOC_DIR}" \
44
		CACHE_DIR="${CACHE_DIR}" \
45
		SPEC_DIR="${SPEC_DIR}" \
46
		EXT_DIR="${EXT_DIR}"
47
37
OPTIONS_DEFINE=	DOCS
48
OPTIONS_DEFINE=	DOCS
38
49
39
.include <bsd.port.options.mk>
50
.include <bsd.port.options.mk>
Lines 59-94 Link Here
59
.if ${PORT_OPTIONS:MDOCS}
70
.if ${PORT_OPTIONS:MDOCS}
60
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR}/ ! -type d | \
71
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR}/ ! -type d | \
61
	    ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
72
	    ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
62
	@${FIND} -ds ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR}/ -type d -mindepth 1 | \
63
	    ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
64
	@${ECHO_CMD} "@dirrm ${GEMS_DOC_DIR}" >> ${TMPPLIST}
65
.endif
73
.endif
66
74
67
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER}/doc 2>/dev/null || true" >> ${TMPPLIST}
68
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems/${RUBY_VER} 2>/dev/null || true" >> ${TMPPLIST}
69
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby/gems 2>/dev/null || true" >> ${TMPPLIST}
70
	@${ECHO_CMD} "@unexec rmdir %D/lib/ruby 2>/dev/null || true" >> ${TMPPLIST}
71
72
# This target is only meant to be used by the port maintainer.
73
x-generate-plist:
74
	${ECHO} bin/gem > pkg-plist.new
75
	${ECHO} bin/gem%%RUBY_VER_SHORT%% >> pkg-plist.new
76
	${ECHO} %%RUBY_SITELIBDIR%%/gauntlet_rubygems.rb >> pkg-plist.new
77
	${ECHO} %%RUBY_SITELIBDIR%%/rbconfig/datadir.rb >> pkg-plist.new
78
	${ECHO} %%RUBY_SITELIBDIR%%/rubygems.rb >> pkg-plist.new
79
	${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/rubygems -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${RUBY_SITELIBDIR},%%RUBY_SITELIBDIR%%,' >> pkg-plist.new
80
	${ECHO} %%RUBY_SITELIBDIR%%/ubygems.rb >> pkg-plist.new
81
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR} -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR},%%PORTDOCS%%${GEMS_DOC_DIR_P},' >> pkg-plist.new
82
83
	${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/rubygems -type d | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${RUBY_SITELIBDIR},@dirrm %%RUBY_SITELIBDIR%%,' >> pkg-plist.new
84
	${ECHO} @dirrm %%RUBY_SITELIBDIR%%/rbconfig >> pkg-plist.new
85
	${ECHO} @dirrmtry ${GEMS_VER_DIR_P}/specifications >> pkg-plist.new
86
	${ECHO} @dirrmtry ${GEMS_VER_DIR_P}/gems >> pkg-plist.new
87
	${ECHO} @dirrmtry ${GEMS_VER_DIR_P}/cache >> pkg-plist.new
88
	${FIND} ${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR} -type d | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${PREFIX}/${GEMS_DOC_DIR},%%PORTDOCS%%@dirrm ${GEMS_DOC_DIR_P},' >> pkg-plist.new
89
	${ECHO} ${GEMS_DOC_BASE_DIR_P}/.keep_this  >> pkg-plist.new
90
	${ECHO} @dirrmtry ${GEMS_DOC_BASE_DIR_P} >> pkg-plist.new
91
	${ECHO} @dirrmtry ${GEMS_VER_DIR_P} >> pkg-plist.new
92
	${ECHO} @dirrmtry ${GEMS_BASE_DIR_P} >> pkg-plist.new
93
94
.include <bsd.port.mk>
75
.include <bsd.port.mk>
(-)devel/ruby-gems/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ruby/rubygems-1.8.30.tgz) = 3ff089f3cf67413b990b344af167750738a5767f25a889c019a87aa20667721c
1
SHA256 (ruby/rubygems-2.4.5.tgz) = 47d182ba52da02d4400601efbf62f64c25ff83856f8e269f8289333f292566d9
2
SIZE (ruby/rubygems-1.8.30.tgz) = 273966
2
SIZE (ruby/rubygems-2.4.5.tgz) = 446665
(-)devel/ruby-gems/pkg-plist (-13 / +76 lines)
Lines 1-9 Link Here
1
bin/gem
1
bin/gem
2
bin/gem%%RUBY_VER_SHORT%%
2
bin/gem%%RUBY_VER_SHORT%%
3
%%RUBY_SITELIBDIR%%/gauntlet_rubygems.rb
3
%%RUBY_SITELIBDIR%%/gauntlet_rubygems.rb
4
%%RUBY_SITELIBDIR%%/rbconfig/datadir.rb
5
%%RUBY_SITELIBDIR%%/rubygems.rb
4
%%RUBY_SITELIBDIR%%/rubygems.rb
6
%%RUBY_SITELIBDIR%%/rubygems/builder.rb
5
%%RUBY_SITELIBDIR%%/rubygems/available_set.rb
6
%%RUBY_SITELIBDIR%%/rubygems/basic_specification.rb
7
%%RUBY_SITELIBDIR%%/rubygems/command.rb
7
%%RUBY_SITELIBDIR%%/rubygems/command.rb
8
%%RUBY_SITELIBDIR%%/rubygems/command_manager.rb
8
%%RUBY_SITELIBDIR%%/rubygems/command_manager.rb
9
%%RUBY_SITELIBDIR%%/rubygems/commands/build_command.rb
9
%%RUBY_SITELIBDIR%%/rubygems/commands/build_command.rb
Lines 19-24 Link Here
19
%%RUBY_SITELIBDIR%%/rubygems/commands/install_command.rb
19
%%RUBY_SITELIBDIR%%/rubygems/commands/install_command.rb
20
%%RUBY_SITELIBDIR%%/rubygems/commands/list_command.rb
20
%%RUBY_SITELIBDIR%%/rubygems/commands/list_command.rb
21
%%RUBY_SITELIBDIR%%/rubygems/commands/lock_command.rb
21
%%RUBY_SITELIBDIR%%/rubygems/commands/lock_command.rb
22
%%RUBY_SITELIBDIR%%/rubygems/commands/mirror_command.rb
23
%%RUBY_SITELIBDIR%%/rubygems/commands/open_command.rb
22
%%RUBY_SITELIBDIR%%/rubygems/commands/outdated_command.rb
24
%%RUBY_SITELIBDIR%%/rubygems/commands/outdated_command.rb
23
%%RUBY_SITELIBDIR%%/rubygems/commands/owner_command.rb
25
%%RUBY_SITELIBDIR%%/rubygems/commands/owner_command.rb
24
%%RUBY_SITELIBDIR%%/rubygems/commands/pristine_command.rb
26
%%RUBY_SITELIBDIR%%/rubygems/commands/pristine_command.rb
Lines 35-72 Link Here
35
%%RUBY_SITELIBDIR%%/rubygems/commands/unpack_command.rb
37
%%RUBY_SITELIBDIR%%/rubygems/commands/unpack_command.rb
36
%%RUBY_SITELIBDIR%%/rubygems/commands/update_command.rb
38
%%RUBY_SITELIBDIR%%/rubygems/commands/update_command.rb
37
%%RUBY_SITELIBDIR%%/rubygems/commands/which_command.rb
39
%%RUBY_SITELIBDIR%%/rubygems/commands/which_command.rb
40
%%RUBY_SITELIBDIR%%/rubygems/commands/yank_command.rb
41
%%RUBY_SITELIBDIR%%/rubygems/compatibility.rb
38
%%RUBY_SITELIBDIR%%/rubygems/config_file.rb
42
%%RUBY_SITELIBDIR%%/rubygems/config_file.rb
39
%%RUBY_SITELIBDIR%%/rubygems/custom_require.rb
43
%%RUBY_SITELIBDIR%%/rubygems/core_ext/kernel_gem.rb
44
%%RUBY_SITELIBDIR%%/rubygems/core_ext/kernel_require.rb
40
%%RUBY_SITELIBDIR%%/rubygems/defaults.rb
45
%%RUBY_SITELIBDIR%%/rubygems/defaults.rb
41
%%RUBY_SITELIBDIR%%/rubygems/dependency.rb
46
%%RUBY_SITELIBDIR%%/rubygems/dependency.rb
42
%%RUBY_SITELIBDIR%%/rubygems/dependency_installer.rb
47
%%RUBY_SITELIBDIR%%/rubygems/dependency_installer.rb
43
%%RUBY_SITELIBDIR%%/rubygems/dependency_list.rb
48
%%RUBY_SITELIBDIR%%/rubygems/dependency_list.rb
44
%%RUBY_SITELIBDIR%%/rubygems/deprecate.rb
49
%%RUBY_SITELIBDIR%%/rubygems/deprecate.rb
45
%%RUBY_SITELIBDIR%%/rubygems/doc_manager.rb
50
%%RUBY_SITELIBDIR%%/rubygems/doctor.rb
46
%%RUBY_SITELIBDIR%%/rubygems/errors.rb
51
%%RUBY_SITELIBDIR%%/rubygems/errors.rb
47
%%RUBY_SITELIBDIR%%/rubygems/exceptions.rb
52
%%RUBY_SITELIBDIR%%/rubygems/exceptions.rb
48
%%RUBY_SITELIBDIR%%/rubygems/ext.rb
53
%%RUBY_SITELIBDIR%%/rubygems/ext.rb
54
%%RUBY_SITELIBDIR%%/rubygems/ext/build_error.rb
49
%%RUBY_SITELIBDIR%%/rubygems/ext/builder.rb
55
%%RUBY_SITELIBDIR%%/rubygems/ext/builder.rb
56
%%RUBY_SITELIBDIR%%/rubygems/ext/cmake_builder.rb
50
%%RUBY_SITELIBDIR%%/rubygems/ext/configure_builder.rb
57
%%RUBY_SITELIBDIR%%/rubygems/ext/configure_builder.rb
51
%%RUBY_SITELIBDIR%%/rubygems/ext/ext_conf_builder.rb
58
%%RUBY_SITELIBDIR%%/rubygems/ext/ext_conf_builder.rb
52
%%RUBY_SITELIBDIR%%/rubygems/ext/rake_builder.rb
59
%%RUBY_SITELIBDIR%%/rubygems/ext/rake_builder.rb
53
%%RUBY_SITELIBDIR%%/rubygems/format.rb
54
%%RUBY_SITELIBDIR%%/rubygems/gem_openssl.rb
55
%%RUBY_SITELIBDIR%%/rubygems/gem_path_searcher.rb
56
%%RUBY_SITELIBDIR%%/rubygems/gem_runner.rb
60
%%RUBY_SITELIBDIR%%/rubygems/gem_runner.rb
57
%%RUBY_SITELIBDIR%%/rubygems/gemcutter_utilities.rb
61
%%RUBY_SITELIBDIR%%/rubygems/gemcutter_utilities.rb
58
%%RUBY_SITELIBDIR%%/rubygems/indexer.rb
62
%%RUBY_SITELIBDIR%%/rubygems/indexer.rb
63
%%RUBY_SITELIBDIR%%/rubygems/install_default_message.rb
64
%%RUBY_SITELIBDIR%%/rubygems/install_message.rb
59
%%RUBY_SITELIBDIR%%/rubygems/install_update_options.rb
65
%%RUBY_SITELIBDIR%%/rubygems/install_update_options.rb
60
%%RUBY_SITELIBDIR%%/rubygems/installer.rb
66
%%RUBY_SITELIBDIR%%/rubygems/installer.rb
61
%%RUBY_SITELIBDIR%%/rubygems/installer_test_case.rb
67
%%RUBY_SITELIBDIR%%/rubygems/installer_test_case.rb
62
%%RUBY_SITELIBDIR%%/rubygems/local_remote_options.rb
68
%%RUBY_SITELIBDIR%%/rubygems/local_remote_options.rb
63
%%RUBY_SITELIBDIR%%/rubygems/mock_gem_ui.rb
69
%%RUBY_SITELIBDIR%%/rubygems/mock_gem_ui.rb
64
%%RUBY_SITELIBDIR%%/rubygems/old_format.rb
70
%%RUBY_SITELIBDIR%%/rubygems/name_tuple.rb
65
%%RUBY_SITELIBDIR%%/rubygems/package.rb
71
%%RUBY_SITELIBDIR%%/rubygems/package.rb
66
%%RUBY_SITELIBDIR%%/rubygems/package/f_sync_dir.rb
72
%%RUBY_SITELIBDIR%%/rubygems/package/digest_io.rb
73
%%RUBY_SITELIBDIR%%/rubygems/package/file_source.rb
74
%%RUBY_SITELIBDIR%%/rubygems/package/io_source.rb
75
%%RUBY_SITELIBDIR%%/rubygems/package/old.rb
76
%%RUBY_SITELIBDIR%%/rubygems/package/source.rb
67
%%RUBY_SITELIBDIR%%/rubygems/package/tar_header.rb
77
%%RUBY_SITELIBDIR%%/rubygems/package/tar_header.rb
68
%%RUBY_SITELIBDIR%%/rubygems/package/tar_input.rb
69
%%RUBY_SITELIBDIR%%/rubygems/package/tar_output.rb
70
%%RUBY_SITELIBDIR%%/rubygems/package/tar_reader.rb
78
%%RUBY_SITELIBDIR%%/rubygems/package/tar_reader.rb
71
%%RUBY_SITELIBDIR%%/rubygems/package/tar_reader/entry.rb
79
%%RUBY_SITELIBDIR%%/rubygems/package/tar_reader/entry.rb
72
%%RUBY_SITELIBDIR%%/rubygems/package/tar_test_case.rb
80
%%RUBY_SITELIBDIR%%/rubygems/package/tar_test_case.rb
Lines 76-89 Link Here
76
%%RUBY_SITELIBDIR%%/rubygems/platform.rb
84
%%RUBY_SITELIBDIR%%/rubygems/platform.rb
77
%%RUBY_SITELIBDIR%%/rubygems/psych_additions.rb
85
%%RUBY_SITELIBDIR%%/rubygems/psych_additions.rb
78
%%RUBY_SITELIBDIR%%/rubygems/psych_tree.rb
86
%%RUBY_SITELIBDIR%%/rubygems/psych_tree.rb
87
%%RUBY_SITELIBDIR%%/rubygems/rdoc.rb
79
%%RUBY_SITELIBDIR%%/rubygems/remote_fetcher.rb
88
%%RUBY_SITELIBDIR%%/rubygems/remote_fetcher.rb
80
%%RUBY_SITELIBDIR%%/rubygems/require_paths_builder.rb
81
%%RUBY_SITELIBDIR%%/rubygems/requirement.rb
89
%%RUBY_SITELIBDIR%%/rubygems/requirement.rb
90
%%RUBY_SITELIBDIR%%/rubygems/request.rb
91
%%RUBY_SITELIBDIR%%/rubygems/request/connection_pools.rb
92
%%RUBY_SITELIBDIR%%/rubygems/request/http_pool.rb
93
%%RUBY_SITELIBDIR%%/rubygems/request/https_pool.rb
94
%%RUBY_SITELIBDIR%%/rubygems/request_set/gem_dependency_api.rb
95
%%RUBY_SITELIBDIR%%/rubygems/request_set/lockfile.rb
96
%%RUBY_SITELIBDIR%%/rubygems/request_set.rb
97
%%RUBY_SITELIBDIR%%/rubygems/resolver.rb
98
%%RUBY_SITELIBDIR%%/rubygems/resolver/activation_request.rb
99
%%RUBY_SITELIBDIR%%/rubygems/resolver/api_set.rb
100
%%RUBY_SITELIBDIR%%/rubygems/resolver/api_specification.rb
101
%%RUBY_SITELIBDIR%%/rubygems/resolver/best_set.rb
102
%%RUBY_SITELIBDIR%%/rubygems/resolver/composed_set.rb
103
%%RUBY_SITELIBDIR%%/rubygems/resolver/conflict.rb
104
%%RUBY_SITELIBDIR%%/rubygems/resolver/current_set.rb
105
%%RUBY_SITELIBDIR%%/rubygems/resolver/dependency_request.rb
106
%%RUBY_SITELIBDIR%%/rubygems/resolver/git_set.rb
107
%%RUBY_SITELIBDIR%%/rubygems/resolver/git_specification.rb
108
%%RUBY_SITELIBDIR%%/rubygems/resolver/index_set.rb
109
%%RUBY_SITELIBDIR%%/rubygems/resolver/index_specification.rb
110
%%RUBY_SITELIBDIR%%/rubygems/resolver/installed_specification.rb
111
%%RUBY_SITELIBDIR%%/rubygems/resolver/installer_set.rb
112
%%RUBY_SITELIBDIR%%/rubygems/resolver/local_specification.rb
113
%%RUBY_SITELIBDIR%%/rubygems/resolver/lock_set.rb
114
%%RUBY_SITELIBDIR%%/rubygems/resolver/lock_specification.rb
115
%%RUBY_SITELIBDIR%%/rubygems/resolver/requirement_list.rb
116
%%RUBY_SITELIBDIR%%/rubygems/resolver/set.rb
117
%%RUBY_SITELIBDIR%%/rubygems/resolver/spec_specification.rb
118
%%RUBY_SITELIBDIR%%/rubygems/resolver/specification.rb
119
%%RUBY_SITELIBDIR%%/rubygems/resolver/stats.rb
120
%%RUBY_SITELIBDIR%%/rubygems/resolver/vendor_set.rb
121
%%RUBY_SITELIBDIR%%/rubygems/resolver/vendor_specification.rb
82
%%RUBY_SITELIBDIR%%/rubygems/security.rb
122
%%RUBY_SITELIBDIR%%/rubygems/security.rb
123
%%RUBY_SITELIBDIR%%/rubygems/security/policies.rb
124
%%RUBY_SITELIBDIR%%/rubygems/security/policy.rb
125
%%RUBY_SITELIBDIR%%/rubygems/security/signer.rb
126
%%RUBY_SITELIBDIR%%/rubygems/security/trust_dir.rb
83
%%RUBY_SITELIBDIR%%/rubygems/server.rb
127
%%RUBY_SITELIBDIR%%/rubygems/server.rb
84
%%RUBY_SITELIBDIR%%/rubygems/source_index.rb
85
%%RUBY_SITELIBDIR%%/rubygems/spec_fetcher.rb
128
%%RUBY_SITELIBDIR%%/rubygems/spec_fetcher.rb
86
%%RUBY_SITELIBDIR%%/rubygems/specification.rb
129
%%RUBY_SITELIBDIR%%/rubygems/specification.rb
130
%%RUBY_SITELIBDIR%%/rubygems/stub_specification.rb
131
%%RUBY_SITELIBDIR%%/rubygems/source/git.rb
132
%%RUBY_SITELIBDIR%%/rubygems/source/installed.rb
133
%%RUBY_SITELIBDIR%%/rubygems/source/local.rb
134
%%RUBY_SITELIBDIR%%/rubygems/source/lock.rb
135
%%RUBY_SITELIBDIR%%/rubygems/source/specific_file.rb
136
%%RUBY_SITELIBDIR%%/rubygems/source/vendor.rb
137
%%RUBY_SITELIBDIR%%/rubygems/source.rb
138
%%RUBY_SITELIBDIR%%/rubygems/source_list.rb
139
%%RUBY_SITELIBDIR%%/rubygems/source_local.rb
140
%%RUBY_SITELIBDIR%%/rubygems/source_specific_file.rb
87
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
141
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
88
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot.pem
142
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot.pem
89
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
143
%%RUBY_SITELIBDIR%%/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
Lines 95-100 Link Here
95
%%RUBY_SITELIBDIR%%/rubygems/test_utilities.rb
149
%%RUBY_SITELIBDIR%%/rubygems/test_utilities.rb
96
%%RUBY_SITELIBDIR%%/rubygems/text.rb
150
%%RUBY_SITELIBDIR%%/rubygems/text.rb
97
%%RUBY_SITELIBDIR%%/rubygems/uninstaller.rb
151
%%RUBY_SITELIBDIR%%/rubygems/uninstaller.rb
152
%%RUBY_SITELIBDIR%%/rubygems/uri_formatter.rb
153
%%RUBY_SITELIBDIR%%/rubygems/util.rb
154
%%RUBY_SITELIBDIR%%/rubygems/util/list.rb
155
%%RUBY_SITELIBDIR%%/rubygems/util/stringio.rb
98
%%RUBY_SITELIBDIR%%/rubygems/user_interaction.rb
156
%%RUBY_SITELIBDIR%%/rubygems/user_interaction.rb
99
%%RUBY_SITELIBDIR%%/rubygems/validator.rb
157
%%RUBY_SITELIBDIR%%/rubygems/validator.rb
100
%%RUBY_SITELIBDIR%%/rubygems/version.rb
158
%%RUBY_SITELIBDIR%%/rubygems/version.rb
Lines 101-103 Link Here
101
%%RUBY_SITELIBDIR%%/rubygems/version_option.rb
159
%%RUBY_SITELIBDIR%%/rubygems/version_option.rb
102
%%RUBY_SITELIBDIR%%/ubygems.rb
160
%%RUBY_SITELIBDIR%%/ubygems.rb
103
lib/ruby/gems/%%RUBY_VER%%/doc/.keep_this
161
lib/ruby/gems/%%RUBY_VER%%/doc/.keep_this
162
@dir lib/ruby/gems/%%RUBY_VER%%/build_info
163
@dir %%EXT_DIR%%
164
@dir %%CACHE_DIR%%
165
@dir %%GEMS_DIR%%
166
@dir %%SPEC_DIR%%
(-)devel/rubygem-activemessaging/files/patch-gemspec (-19 lines)
Lines 1-23 Link Here
1
--- ./activemessaging-0.13.0.gemspec.orig	2014-08-23 19:10:52.008995535 +0000
2
+++ ./activemessaging-0.13.0.gemspec	2014-08-23 19:10:47.000000000 +0000
3
@@ -18,20 +18,6 @@
4
 date: 2014-06-18 00:00:00.000000000 Z
5
 dependencies:
6
 - !ruby/object:Gem::Dependency
7
-  name: activemessaging
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - '>='
11
-      - !ruby/object:Gem::Version
12
-        version: '0'
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - '>='
18
-      - !ruby/object:Gem::Version
19
-        version: '0'
(-)devel/rubygem-analogger/files/patch-gemspec (-6 lines)
Lines 1-18 Link Here
1
--- analogger-0.5.0.gemspec.orig	2013-02-26 02:45:44.000000000 +0000
2
+++ analogger-0.5.0.gemspec	2013-02-26 02:45:54.000000000 +0000
3
@@ -33,7 +33,6 @@
4
 - external
5
 - src
6
 - test
(-)devel/rubygem-apipie-bindings/files/patch-gemspec (-11 / +11 lines)
Lines 1-11 Link Here
1
--- apipie-bindings-0.0.11.gemspec.orig	2014-08-29 16:34:08.000000000 +0200
1
--- apipie-bindings.gemspec.orig	2015-01-21 20:19:48.000000000 +0000
2
+++ apipie-bindings-0.0.11.gemspec	2014-08-29 16:34:20.000000000 +0200
2
+++ apipie-bindings.gemspec	2015-01-21 20:20:23.000000000 +0000
3
@@ -78,7 +78,7 @@
3
@@ -54,7 +54,7 @@
4
     requirements:
4
     s.add_dependency(%q<rest-client>, ["< 1.7", ">= 1.6.5"])
5
     - - ~>
5
     s.add_dependency(%q<oauth>, [">= 0"])
6
       - !ruby/object:Gem::Version
6
     s.add_dependency(%q<awesome_print>, [">= 0"])
7
-        version: '1.0'
7
-    s.add_dependency(%q<mime-types>, ["~> 1.0"])
8
+        version: '2.0'
8
+    s.add_dependency(%q<mime-types>, ["~> 2.0"])
9
   type: :runtime
9
     s.add_dependency(%q<rake>, ["~> 10.1.0"])
10
   prerelease: false
10
     s.add_dependency(%q<thor>, [">= 0"])
11
   version_requirements: !ruby/object:Gem::Requirement
11
     s.add_dependency(%q<minitest>, ["= 4.7.4"])
(-)devel/rubygem-bones/Makefile (-4 lines)
Lines 21-28 Link Here
21
21
22
PLIST_FILES=	bin/bones
22
PLIST_FILES=	bin/bones
23
23
24
post-patch:
25
# adjust gemspec for "rdoc ~> 3.0"
26
	@${REINPLACE_CMD} -e '27,40 d' ${WRKSRC}/${GEM_NAME}.gemspec
27
28
.include <bsd.port.mk>
24
.include <bsd.port.mk>
(-)devel/rubygem-bson1/files/patch-gemspec (+10 lines)
Line 0 Link Here
1
--- bson.gemspec.orig	2014-11-29 13:32:55.000000000 +0000
2
+++ bson.gemspec	2014-11-29 13:33:02.000000000 +0000
3
@@ -12,7 +12,6 @@
4
   s.date = "2014-09-15"
5
   s.description = "A Ruby BSON implementation for MongoDB. For more information about Mongo, see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org."
6
   s.email = "mongodb-dev@googlegroups.com"
7
-  s.executables = ["b2json", "j2bson"]
8
   s.files = ["LICENSE", "VERSION", "bin/b2json", "bin/j2bson", "bson.gemspec", "lib/bson.rb", "lib/bson/bson_c.rb", "lib/bson/bson_java.rb", "lib/bson/bson_ruby.rb", "lib/bson/byte_buffer.rb", "lib/bson/exceptions.rb", "lib/bson/grow.rb", "lib/bson/ordered_hash.rb", "lib/bson/support/hash_with_indifferent_access.rb", "lib/bson/types/binary.rb", "lib/bson/types/code.rb", "lib/bson/types/dbref.rb", "lib/bson/types/min_max_keys.rb", "lib/bson/types/object_id.rb", "lib/bson/types/regex.rb", "lib/bson/types/timestamp.rb"]
9
   s.homepage = "http://www.mongodb.org"
10
   s.licenses = ["Apache License Version 2.0"]
(-)devel/rubygem-clamp/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- clamp.gemspec.orig	2014-11-29 13:43:51.000000000 +0000
2
+++ clamp.gemspec	2014-11-29 13:44:07.000000000 +0000
3
@@ -11,7 +11,7 @@
4
   s.date = "2013-11-14"
5
   s.description = "Clamp provides an object-model for command-line utilities.\nIt handles parsing of command-line options, and generation of usage help.\n"
6
   s.email = "mdub@dogbiscuit.org"
7
-  s.files = [".autotest", ".gitignore", ".rspec", ".travis.yml", "CHANGES.md", "Gemfile", "LICENSE", "README.md", "Rakefile", "clamp.gemspec", "examples/admin", "examples/flipflop", "examples/fubar", "examples/gitdown", "examples/scoop", "examples/speak", "lib/clamp.rb", "lib/clamp/attribute/declaration.rb", "lib/clamp/attribute/definition.rb", "lib/clamp/attribute/instance.rb", "lib/clamp/command.rb", "lib/clamp/errors.rb", "lib/clamp/help.rb", "lib/clamp/option/declaration.rb", "lib/clamp/option/definition.rb", "lib/clamp/option/parsing.rb", "lib/clamp/parameter/declaration.rb", "lib/clamp/parameter/definition.rb", "lib/clamp/parameter/parsing.rb", "lib/clamp/subcommand/declaration.rb", "lib/clamp/subcommand/definition.rb", "lib/clamp/subcommand/execution.rb", "lib/clamp/subcommand/parsing.rb", "lib/clamp/truthy.rb", "lib/clamp/version.rb", "spec/clamp/command_group_spec.rb", "spec/clamp/command_spec.rb", "spec/clamp/option/definition_spec.rb", "spec/clamp/option_module_spec.rb", "spec/clamp/parameter/definition_spec.rb", "spec/spec_helper.rb"]
8
+  s.files = [".autotest", ".gitignore", ".rspec", ".travis.yml", "CHANGES.md", "Gemfile", "LICENSE", "README.md", "Rakefile", "clamp.gemspec", "examples/admin", "examples/flipflop", "examples/fubar", "examples/gitdown", "examples/scoop", "examples/speak", "lib/clamp.rb", "lib/clamp/attribute/declaration.rb", "lib/clamp/attribute/definition.rb", "lib/clamp/attribute/instance.rb", "lib/clamp/command.rb", "lib/clamp/errors.rb", "lib/clamp/help.rb", "lib/clamp/messages.rb", "lib/clamp/option/declaration.rb", "lib/clamp/option/definition.rb", "lib/clamp/option/parsing.rb", "lib/clamp/parameter/declaration.rb", "lib/clamp/parameter/definition.rb", "lib/clamp/parameter/parsing.rb", "lib/clamp/subcommand/declaration.rb", "lib/clamp/subcommand/definition.rb", "lib/clamp/subcommand/execution.rb", "lib/clamp/subcommand/parsing.rb", "lib/clamp/truthy.rb", "lib/clamp/version.rb", "spec/clamp/command_group_spec.rb", "spec/clamp/command_spec.rb", "spec/clamp/option/definition_spec.rb", "spec/clamp/option_module_spec.rb", "spec/clamp/parameter/definition_spec.rb", "spec/spec_helper.rb"]
9
   s.homepage = "http://github.com/mdub/clamp"
10
   s.licenses = ["MIT"]
11
   s.rubygems_version = "2.4.4"
(-)devel/rubygem-clamp/files/patch-i18n (-13 lines)
Lines 1-16 Link Here
1
diff --git a/clamp-0.6.3.gemspec b/clamp-0.6.3.gemspec
2
index 8f51cc3..acab485 100644
3
--- clamp-0.6.3.gemspec
4
+++ clamp-0.6.3.gemspec
5
@@ -43,6 +43,7 @@
6
 - lib/clamp/command.rb
7
 - lib/clamp/errors.rb
8
 - lib/clamp/help.rb
9
+- lib/clamp/messages.rb
10
 - lib/clamp/option/declaration.rb
11
 - lib/clamp/option/definition.rb
12
 - lib/clamp/option/parsing.rb
13
14
diff --git a/lib/clamp/attribute/instance.rb b/lib/clamp/attribute/instance.rb
1
diff --git a/lib/clamp/attribute/instance.rb b/lib/clamp/attribute/instance.rb
15
index 8f51cc3..acab485 100644
2
index 8f51cc3..acab485 100644
16
--- lib/clamp/attribute/instance.rb
3
--- lib/clamp/attribute/instance.rb
(-)devel/rubygem-clio/files/patch-gemspec (-6 lines)
Lines 1-18 Link Here
1
--- clio-0.3.0.gemspec.orig	2013-02-26 02:53:17.000000000 +0000
2
+++ clio-0.3.0.gemspec	2013-02-26 02:53:49.000000000 +0000
3
@@ -27,7 +27,6 @@
4
 - VERSION
5
 - COPYING
6
 files: 
(-)devel/rubygem-debugger/files/patch-debugger-1.6.2.gemspec (-21 lines)
Lines 1-25 Link Here
1
--- debugger-1.6.2.gemspec.orig	2013-07-27 12:49:18.000000000 +0400
2
+++ debugger-1.6.2.gemspec	2013-07-27 13:03:58.000000000 +0400
3
@@ -30,22 +30,6 @@
4
       - !ruby/object:Gem::Version
5
         version: 0.3.1
6
 - !ruby/object:Gem::Dependency
7
-  name: debugger-ruby_core_source
8
-  requirement: !ruby/object:Gem::Requirement
9
-    none: false
10
-    requirements:
11
-    - - ~>
12
-      - !ruby/object:Gem::Version
13
-        version: 1.2.3
14
-  type: :runtime
15
-  prerelease: false
16
-  version_requirements: !ruby/object:Gem::Requirement
17
-    none: false
18
-    requirements:
19
-    - - ~>
20
-      - !ruby/object:Gem::Version
21
-        version: 1.2.3
(-)devel/rubygem-debugger/files/patch-gemspec (+10 lines)
Line 0 Link Here
1
--- debugger.gemspec.orig	2014-11-29 13:54:11.000000000 +0000
2
+++ debugger.gemspec	2014-11-29 13:54:46.000000000 +0000
3
@@ -26,7 +26,6 @@
4
 
5
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
6
       s.add_runtime_dependency(%q<columnize>, [">= 0.3.1"])
7
-      s.add_runtime_dependency(%q<debugger-ruby_core_source>, ["~> 1.2.3"])
8
       s.add_runtime_dependency(%q<debugger-linecache>, ["~> 1.2.0"])
9
       s.add_development_dependency(%q<rake>, ["~> 0.9.2.2"])
10
       s.add_development_dependency(%q<rake-compiler>, ["~> 0.8.0"])
(-)devel/rubygem-kafo/files/patch-gemspec (-19 lines)
Lines 1-23 Link Here
1
--- kafo-0.6.5.gemspec.orig	2014-04-05 03:14:21.000000000 +0200
2
+++ kafo-0.6.5.gemspec	2014-04-05 03:14:50.000000000 +0200
3
@@ -109,20 +109,6 @@
4
       - !ruby/object:Gem::Version
5
         version: '0'
6
 - !ruby/object:Gem::Dependency
7
-  name: puppet
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - '>='
11
-      - !ruby/object:Gem::Version
12
-        version: '0'
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - '>='
18
-      - !ruby/object:Gem::Version
19
-        version: '0'
(-)devel/rubygem-kafo_parsers/Makefile (-2 / +1 lines)
Lines 11-18 Link Here
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
13
14
RUN_DEPENDS=	puppet:${PORTSDIR}/sysutils/puppet \
14
RUN_DEPENDS=	puppet:${PORTSDIR}/sysutils/puppet
15
		rubygem-rdoc>=3.9.0:${PORTSDIR}/devel/rubygem-rdoc
16
15
17
USE_RUBY=	yes
16
USE_RUBY=	yes
18
USE_RUBYGEMS=	yes
17
USE_RUBYGEMS=	yes
(-)devel/rubygem-kafo_parsers/files/patch-gemspec (-19 lines)
Lines 1-23 Link Here
1
--- ./kafo_parsers-0.0.3.gemspec.orig	2014-07-03 18:41:59.959584274 +0300
2
+++ ./kafo_parsers-0.0.3.gemspec	2014-07-03 18:41:59.998583732 +0300
3
@@ -81,20 +81,6 @@
4
       - !ruby/object:Gem::Version
5
         version: '0'
6
 - !ruby/object:Gem::Dependency
7
-  name: puppet
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - '>='
11
-      - !ruby/object:Gem::Version
12
-        version: '0'
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - '>='
18
-      - !ruby/object:Gem::Version
19
-        version: '0'
(-)devel/rubygem-launchy22/files/patch-gemspec (+10 lines)
Line 0 Link Here
1
--- launchy.gemspec.orig	2014-11-30 03:43:33.000000000 +0000
2
+++ launchy.gemspec	2014-11-30 03:43:39.000000000 +0000
3
@@ -11,7 +11,6 @@
4
   s.date = "2013-02-06"
5
   s.description = "Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external application from within ruby programs."
6
   s.email = "jeremy@copiousfreetime.org"
7
-  s.executables = ["launchy"]
8
   s.extra_rdoc_files = ["HISTORY.rdoc", "Manifest.txt", "README.rdoc"]
9
   s.files = ["CONTRIBUTING.md", "HISTORY.rdoc", "LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "bin/launchy", "lib/launchy.rb", "lib/launchy/application.rb", "lib/launchy/applications/browser.rb", "lib/launchy/cli.rb", "lib/launchy/deprecated.rb", "lib/launchy/descendant_tracker.rb", "lib/launchy/detect.rb", "lib/launchy/detect/host_os.rb", "lib/launchy/detect/host_os_family.rb", "lib/launchy/detect/nix_desktop_environment.rb", "lib/launchy/detect/ruby_engine.rb", "lib/launchy/detect/runner.rb", "lib/launchy/error.rb", "lib/launchy/os_family.rb", "lib/launchy/version.rb", "spec/application_spec.rb", "spec/applications/browser_spec.rb", "spec/cli_spec.rb", "spec/detect/host_os_family_spec.rb", "spec/detect/host_os_spec.rb", "spec/detect/nix_desktop_environment_spec.rb", "spec/detect/ruby_engine_spec.rb", "spec/detect/runner_spec.rb", "spec/launchy_spec.rb", "spec/mock_application.rb", "spec/spec_helper.rb", "spec/tattle-host-os.yaml", "spec/version_spec.rb", "tasks/default.rake", "tasks/this.rb"]
10
   s.homepage = "http://github.com/copiousfreetime/launchy"
(-)devel/rubygem-pygments.rb/files/patch-gemspec (-22 lines)
Lines 1-22 Link Here
1
--- pygments.rb.gemspec.orig   2014-05-20 06:53:31.000000000 +0200
2
+++ pygments.rb.gemspec        2014-05-20 06:53:45.000000000 +0200
3
@@ -13,7 +13,7 @@
4
   s.authors = ['Aman Gupta', 'Ted Nyman']
5
   s.email = ['[email protected]']
6
 
7
-  s.add_dependency 'yajl-ruby',   '~> 1.1.0'
8
+  s.add_dependency 'yajl-ruby',   '~> 1.2.0'
9
   s.add_dependency 'posix-spawn', '~> 0.3.6'
10
   s.add_development_dependency 'rake-compiler', '~> 0.7.6'
11
 
12
--- pygments.rb-0.6.0.gemspec.orig     2014-05-20 06:57:41.000000000 +0200
13
+++ pygments.rb-0.6.0.gemspec  2014-05-20 06:54:40.000000000 +0200
14
@@ -19,7 +19,7 @@
15
     requirements:
16
     - - ~>
17
       - !ruby/object:Gem::Version
18
-        version: 1.1.0
19
+        version: 1.2.0
20
   type: :runtime
21
   prerelease: false
22
   version_requirements: !ruby/object:Gem::Requirement
(-)devel/rubygem-rapt/Makefile (+1 lines)
Lines 13-17 Link Here
13
USE_RUBYGEMS=	yes
13
USE_RUBYGEMS=	yes
14
RUBYGEM_AUTOPLIST=	yes
14
RUBYGEM_AUTOPLIST=	yes
15
PLIST_FILES=	bin/rapt
15
PLIST_FILES=	bin/rapt
16
USES=		libtool
16
17
17
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)devel/rubygem-rapt/files/patch-gemspec (-6 lines)
Lines 1-14 Link Here
1
--- rapt-0.2.2.gemspec.orig	2013-02-26 02:37:18.000000000 +0000
2
+++ rapt-0.2.2.gemspec	2013-02-26 02:38:04.000000000 +0000
3
@@ -56,11 +56,9 @@
4
 - test/sandbox/rails_app
5
 - test/sandbox/rails_app/config
6
 - test/sandbox/rails_app/script
(-)devel/rubygem-term-ansicolor/Makefile (-5 lines)
Lines 22-32 Link Here
22
PLIST_FILES=	bin/colortab bin/term_display bin/term_mandel
22
PLIST_FILES=	bin/colortab bin/term_display bin/term_mandel
23
PORTEXAMPLES=	cdiff decolor
23
PORTEXAMPLES=	cdiff decolor
24
24
25
post-patch:
26
# Chop out the cdiff and decolor binaries; these should be installed to
27
# EXAMPLESDIR
28
	@${REINPLACE_CMD} -e '/^- [cd][de][ic][fo][fl]o*r*$$/d' ${WRKSRC}/${GEM_NAME}.gemspec
29
30
post-install:
25
post-install:
31
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
26
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
32
	cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
27
	cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
(-)devel/rubygem-term-ansicolor/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- term-ansicolor.gemspec.orig	2015-01-22 02:35:45.000000000 +0000
2
+++ term-ansicolor.gemspec	2015-01-22 02:36:29.000000000 +0000
3
@@ -11,7 +11,7 @@
4
   s.date = "2014-02-06"
5
   s.description = "This library uses ANSI escape sequences to control the attributes of terminal output"
6
   s.email = "flori@ping.de"
7
-  s.executables = ["cdiff", "decolor", "colortab", "term_mandel", "term_display"]
8
+  s.executables = ["colortab", "term_mandel", "term_display"]
9
   s.extra_rdoc_files = ["README.rdoc", "lib/term/ansicolor.rb", "lib/term/ansicolor/attribute.rb", "lib/term/ansicolor/ppm_reader.rb", "lib/term/ansicolor/rgb_color_metrics.rb", "lib/term/ansicolor/rgb_triple.rb", "lib/term/ansicolor/version.rb"]
10
   s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "Gemfile", "README.rdoc", "Rakefile", "VERSION", "bin/cdiff", "bin/colortab", "bin/decolor", "bin/term_display", "bin/term_mandel", "examples/ColorTest.gif", "examples/Mona_Lisa.jpg", "examples/Stilleben.jpg", "examples/example.rb", "examples/lambda-red-plain.ppm", "examples/lambda-red.png", "examples/lambda-red.ppm", "examples/pacman.jpg", "examples/smiley.png", "examples/wool.jpg", "lib/term/ansicolor.rb", "lib/term/ansicolor/.keep", "lib/term/ansicolor/attribute.rb", "lib/term/ansicolor/ppm_reader.rb", "lib/term/ansicolor/rgb_color_metrics.rb", "lib/term/ansicolor/rgb_triple.rb", "lib/term/ansicolor/version.rb", "term-ansicolor.gemspec", "tests/ansicolor_test.rb", "tests/attribute_test.rb", "tests/ppm_reader_test.rb", "tests/rgb_color_metrics_test.rb", "tests/rgb_triple_test.rb", "tests/test_helper.rb"]
11
   s.homepage = "http://flori.github.com/term-ansicolor"
(-)devel/rubygem-tilt1/files/patch-gemspec (-7 lines)
Lines 1-11 Link Here
1
--- tilt-1.4.1.gemspec.orig	2014-03-22 22:37:21.538619659 +0000
2
+++ tilt-1.4.1.gemspec	2014-03-22 22:39:47.694609404 +0000
3
@@ -381,8 +381,6 @@
4
         version: '0'
5
 description: Generic interface to multiple Ruby template engines
6
 email: r@tomayko.com
7
-executables:
(-)devel/rubygem-toml/Makefile (-3 lines)
Lines 17-23 Link Here
17
USE_RUBYGEMS=	yes
17
USE_RUBYGEMS=	yes
18
RUBYGEM_AUTOPLIST=	yes
18
RUBYGEM_AUTOPLIST=	yes
19
19
20
post-patch:
21
	@${REINPLACE_CMD} -e '18 s|~>|>=|' ${WRKSRC}/${GEM_NAME}.gemspec
22
23
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)devel/rubygem-toml/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- toml.gemspec.orig	2015-01-21 20:38:16.000000000 +0000
2
+++ toml.gemspec	2015-01-21 20:38:37.000000000 +0000
3
@@ -30,7 +30,7 @@
4
       s.add_dependency(%q<rake>, [">= 0"])
5
     end
6
   else
7
-    s.add_dependency(%q<parslet>, ["~> 1.5.0"])
8
+    s.add_dependency(%q<parslet>, [">= 1.5.0"])
9
     s.add_dependency(%q<rake>, [">= 0"])
10
   end
11
 end
(-)devel/rubygem-travis/files/patch-travis-1.7.5.gemspec (-12 lines)
Lines 1-12 Link Here
1
--- travis-1.7.5.gemspec.orig	2015-01-21 16:49:45.809378003 +0300
2
+++ travis-1.7.5.gemspec	2015-01-21 16:51:09.773372219 +0300
3
@@ -142,9 +142,6 @@
4
   name: pry
5
   requirement: !ruby/object:Gem::Requirement
6
     requirements:
7
-    - - "<"
8
-      - !ruby/object:Gem::Version
9
-        version: '0.10'
10
     - - "~>"
11
       - !ruby/object:Gem::Version
12
         version: '0.9'
(-)devel/rubygem-travis/files/patch-travis.gemspec (-11 lines)
Lines 1-11 Link Here
1
--- travis.gemspec.orig	2015-01-21 16:49:45.798378381 +0300
2
+++ travis.gemspec	2015-01-21 16:50:23.063375806 +0300
3
@@ -286,7 +286,7 @@
4
   s.add_dependency "backports"
5
   s.add_dependency "gh",                    "~> 0.13"
6
   s.add_dependency "launchy",               "~> 2.1"
7
-  s.add_dependency "pry",                   "< 0.10", "~> 0.9"
8
+  s.add_dependency "pry",                   "~> 0.9"
9
   s.add_dependency "typhoeus",              "~> 0.6", ">= 0.6.8"
10
   s.add_dependency "pusher-client",         "~> 0.4"
11
   s.add_dependency "addressable",           "~> 2.3"
(-)net/rubygem-amqp-utils/files/patch-versions (-27 lines)
Lines 1-27 Link Here
1
--- amqp-utils-0.5.1.gemspec.orig	2013-07-01 00:25:29.435452053 +0000
2
+++ amqp-utils-0.5.1.gemspec	2013-07-01 00:25:54.044449653 +0000
3
@@ -28,10 +28,9 @@
4
       - !ruby/object:Gem::Version 
5
         hash: 1
6
         segments: 
7
-        - 0
8
-        - 7
9
         - 1
10
-        version: 0.7.1
11
+        - 0
12
+        version: 1.0.0
13
   type: :runtime
14
   version_requirements: *id001
15
 - !ruby/object:Gem::Dependency 
16
@@ -123,9 +122,9 @@
17
         hash: 5
18
         segments: 
19
         - 0
20
-        - 4
21
         - 5
22
-        version: 0.4.5
23
+        - 5
24
+        version: 0.5.5
25
   type: :runtime
26
   version_requirements: *id007
27
 description: |-
(-)net/rubygem-gitlab_omniauth-ldap/files/patch-gemspec (-11 / +11 lines)
Lines 1-11 Link Here
1
--- gitlab_omniauth-ldap-1.1.0.gemspec.orig	2013-10-25 02:24:55.456068284 +0000
1
--- gitlab_omniauth-ldap.gemspec.orig	2014-12-01 04:29:00.000000000 +0000
2
+++ gitlab_omniauth-ldap-1.1.0.gemspec	2013-10-25 02:25:06.863067558 +0000
2
+++ gitlab_omniauth-ldap.gemspec	2014-12-01 04:29:29.000000000 +0000
3
@@ -58,7 +58,7 @@
3
@@ -25,7 +25,7 @@
4
     requirements:
4
       s.add_runtime_dependency(%q<omniauth>, ["~> 1.0"])
5
     - - ~>
5
       s.add_runtime_dependency(%q<net-ldap>, ["~> 0.7.0"])
6
       - !ruby/object:Gem::Version
6
       s.add_runtime_dependency(%q<pyu-ruby-sasl>, ["~> 0.0.3.1"])
7
-        version: 0.1.1
7
-      s.add_runtime_dependency(%q<rubyntlm>, ["~> 0.1.1"])
8
+        version: 0.4.0
8
+      s.add_runtime_dependency(%q<rubyntlm>, ["~> 0.4.0"])
9
   type: :runtime
9
     else
10
   prerelease: false
10
       s.add_dependency(%q<omniauth>, ["~> 1.0"])
11
   version_requirements: !ruby/object:Gem::Requirement
11
       s.add_dependency(%q<net-ldap>, ["~> 0.7.0"])
(-)net/rubygem-twitter/Makefile (-4 lines)
Lines 27-34 Link Here
27
USE_RUBYGEMS=	yes
27
USE_RUBYGEMS=	yes
28
RUBYGEM_AUTOPLIST=	yes
28
RUBYGEM_AUTOPLIST=	yes
29
29
30
post-patch:
31
# adjust gemspec for "http ~> 0.6.0"
32
	@${REINPLACE_CMD} -e '77 s|"~>"|">="|' ${WRKSRC}/${GEM_NAME}.gemspec
33
34
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)net/rubygem-twitter/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- twitter.gemspec.orig	2015-01-21 20:31:06.000000000 +0000
2
+++ twitter.gemspec	2015-01-21 20:31:20.000000000 +0000
3
@@ -25,7 +25,7 @@
4
       s.add_runtime_dependency(%q<buftok>, ["~> 0.2.0"])
5
       s.add_runtime_dependency(%q<equalizer>, ["~> 0.0.9"])
6
       s.add_runtime_dependency(%q<faraday>, ["~> 0.9.0"])
7
-      s.add_runtime_dependency(%q<http>, ["~> 0.6.0"])
8
+      s.add_runtime_dependency(%q<http>, [">= 0.6.0"])
9
       s.add_runtime_dependency(%q<http_parser.rb>, ["~> 0.6.0"])
10
       s.add_runtime_dependency(%q<json>, ["~> 1.8"])
11
       s.add_runtime_dependency(%q<memoizable>, ["~> 0.4.0"])
(-)net/rubygem-twitter-stream/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- twitter-stream.gemspec.orig	2014-12-01 16:17:01.000000000 +0000
2
+++ twitter-stream.gemspec	2014-12-01 16:17:31.000000000 +0000
3
@@ -24,7 +24,7 @@
4
 
5
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
6
       s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.8"])
7
-      s.add_runtime_dependency(%q<simple_oauth>, ["~> 0.1.4"])
8
+      s.add_runtime_dependency(%q<simple_oauth>, ["~> 0.2.0"])
9
       s.add_runtime_dependency(%q<http_parser.rb>, ["~> 0.5.1"])
10
       s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
11
     else
(-)net/rubygem-twitter-stream/files/patch-versions (-15 lines)
Lines 1-15 Link Here
1
--- twitter-stream-0.1.16.gemspec.orig	2013-07-15 23:54:24.000000000 +0900
2
+++ twitter-stream-0.1.16.gemspec	2013-07-15 23:57:27.000000000 +0900
3
@@ -40,9 +40,9 @@
4
       - !ruby/object:Gem::Version 
5
         segments: 
6
         - 0
7
-        - 1
8
-        - 4
9
-        version: 0.1.4
10
+        - 2
11
+        - 0
12
+        version: 0.2.0
13
   type: :runtime
14
   version_requirements: *id002
15
 - !ruby/object:Gem::Dependency 
(-)net-im/rubygem-lita/files/patch-gemspec (-19 lines)
Lines 1-33 Link Here
1
--- lita-3.3.1.gemspec.orig	2014-09-08 22:00:06 UTC
2
+++ lita-3.3.1.gemspec
3
@@ -123,20 +123,6 @@
4
       - !ruby/object:Gem::Version
5
         version: 1.5.2
6
 - !ruby/object:Gem::Dependency
7
-  name: rb-readline
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - ">="
11
-      - !ruby/object:Gem::Version
12
-        version: 0.5.1
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - ">="
18
-      - !ruby/object:Gem::Version
19
-        version: 0.5.1
(-)net-im/rubygem-termtter/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- termtter.gemspec.orig	2014-12-01 02:49:20.000000000 +0000
2
+++ termtter.gemspec	2014-12-01 02:49:41.000000000 +0000
3
@@ -25,7 +25,7 @@
4
 
5
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
6
       s.add_runtime_dependency(%q<json>, ["> 1.1.3"])
7
-      s.add_runtime_dependency(%q<highline>, ["~> 1.5.0"])
8
+      s.add_runtime_dependency(%q<highline>, ["~> 1.6.0"])
9
       s.add_runtime_dependency(%q<termcolor>, ["~> 1.0.0"])
10
       s.add_runtime_dependency(%q<rubytter>, ["~> 1.5.1"])
11
       s.add_runtime_dependency(%q<notify>, ["~> 0.5.1"])
(-)net-im/rubygem-termtter/files/patch-versions (-35 lines)
Lines 1-35 Link Here
1
--- termtter-2.2.1.gemspec.orig	2013-07-01 03:35:35.630666391 +0000
2
+++ termtter-2.2.1.gemspec	2013-07-01 03:35:36.659666334 +0000
3
@@ -33,28 +33,28 @@
4
     requirements:
5
     - - ~>
6
       - !ruby/object:Gem::Version
7
-        version: 1.5.0
8
+        version: 1.6.0
9
   type: :runtime
10
   prerelease: false
11
   version_requirements: !ruby/object:Gem::Requirement
12
     requirements:
13
     - - ~>
14
       - !ruby/object:Gem::Version
15
-        version: 1.5.0
16
+        version: 1.6.0
17
 - !ruby/object:Gem::Dependency
18
   name: termcolor
19
   requirement: !ruby/object:Gem::Requirement
20
     requirements:
21
     - - ~>
22
       - !ruby/object:Gem::Version
23
-        version: 1.0.0
24
+        version: 1.2.0
25
   type: :runtime
26
   prerelease: false
27
   version_requirements: !ruby/object:Gem::Requirement
28
     requirements:
29
     - - ~>
30
       - !ruby/object:Gem::Version
31
-        version: 1.0.0
32
+        version: 1.2.0
33
 - !ruby/object:Gem::Dependency
34
   name: rubytter
35
   requirement: !ruby/object:Gem::Requirement
(-)net-mgmt/rubygem-visage-app/files/patch-versions (-35 lines)
Lines 1-35 Link Here
1
--- Gemfile.lock.orig	2013-02-24 05:57:00.000000000 +0000
2
+++ Gemfile.lock	2013-02-24 05:57:23.000000000 +0000
3
@@ -3,7 +3,7 @@
4
   specs:
5
     visage-app (2.1.0)
6
       errand (= 0.7.3)
7
-      haml (= 3.1.4)
8
+      haml (= 3.1.7)
9
       sinatra (= 1.3.2)
10
       tilt (= 1.3.3)
11
       yajl-ruby (= 1.1.0)
12
--- visage-app-2.1.0.gemspec.orig	2013-02-24 05:57:06.000000000 +0000
13
+++ visage-app-2.1.0.gemspec	2013-02-24 05:57:30.000000000 +0000
14
@@ -25,8 +25,8 @@
15
         segments: 
16
         - 3
17
         - 1
18
-        - 4
19
-        version: 3.1.4
20
+        - 7
21
+        version: 3.1.7
22
   prerelease: false
23
   name: haml
24
   type: :runtime
25
--- visage-app.gemspec.orig	2013-02-24 05:57:12.000000000 +0000
26
+++ visage-app.gemspec	2013-02-24 05:57:39.000000000 +0000
27
@@ -23,7 +23,7 @@
28
   s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
   s.require_paths = ["lib"]
30
 
31
-  s.add_runtime_dependency     "haml",      "= 3.1.4"
32
+  s.add_runtime_dependency     "haml",      "= 3.1.7"
33
   s.add_runtime_dependency     "tilt",      "= 1.3.3"
34
   s.add_runtime_dependency     "sinatra",   "= 1.3.2"
35
   s.add_runtime_dependency     "errand",    "= 0.7.3"
(-)science/rubygem-netcdf/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	netcdf
4
PORTNAME=	netcdf
5
PORTVERSION=	0.6.6.1
5
PORTVERSION=	0.6.6.1
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	science rubygems
7
CATEGORIES=	science rubygems
8
MASTER_SITES=	RG
8
MASTER_SITES=	RG
9
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
9
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
(-)science/rubygem-netcdf/files/patch-extconf.rb (-3 / +222 lines)
Lines 1-6 Link Here
1
--- extconf.rb.orig	Thu Jun 23 09:20:15 2005
1
--- extconf.rb.orig	2015-02-16 19:09:00.954071000 +0000
2
+++ extconf.rb	Tue Jan 17 13:36:39 2006
2
+++ extconf.rb	2015-02-16 19:10:17.025178000 +0000
3
@@ -105,9 +105,6 @@
3
@@ -1,14 +1,30 @@
4
-require "rubygems" unless defined?(Gem)
5
 require "mkmf"
6
+require "rubygems" unless defined?(Gem)
7
 
8
-hoge = Gem::GemPathSearcher.new.find("narray")
9
-narray_fullname = hoge.full_name
10
-narray_installpath = hoge.installation_path
11
-narray_include = "#{narray_installpath}/gems/#{narray_fullname}/"
12
-narray_lib = "#{narray_installpath}/gems/#{narray_fullname}/"
13
+ar = ARGV.grep( /^--with-netcdf-version=/ )
14
+if ar.length > 0
15
+  ncversion = ar[0].sub(/^--with-netcdf-version=/,"")
16
+else
17
+  ncversion = nil
18
+end
19
 
20
-dir_config('narray',narray_include,narray_lib)
21
-dir_config('netcdf','/usr/local')
22
+if Gem.respond_to?(:find_files)
23
+  require "rbconfig"
24
+  so = RbConfig::CONFIG["DLEXT"]
25
+  narray_include = File.expand_path(File.dirname(Gem.find_files("narray.h")[0]))
26
+  narray_lib = File.expand_path(File.dirname(Gem.find_files("narray." + so)[0]))
27
+else
28
+  gem_home=(`gem environment GEM_HOME`).chomp
29
+  narray_dir = Dir.glob("#{gem_home}/gems/narray-*").sort[-1]
30
+  if narray_dir
31
+    narray_include = narray_lib = narray_dir
32
+  else
33
+    narray_include = narray_lib = [ $sitearchdir, $vendorarchdir]
34
+  end
35
+end
36
+dir_config('narray', narray_include, narray_lib)
37
+
38
+dir_config('netcdf', '/usr/local')
39
 
40
 if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
41
 print <<EOS
42
@@ -22,66 +38,26 @@
43
    exit(-1)
44
 end
45
 
46
-if xsystem("ncdap-config --libs")
47
-  libncdods = "nc-dap"
48
-  cflags = `ncdap-config --cflags`.gsub(/\n/, " ")
49
-  libs = `ncdap-config --libs`.gsub(/\n/, " ")
50
-  prefix_dods = `ncdap-config --prefix`.gsub(/\n/, "")
51
-elsif xsystem("opendap-config --libs")
52
-  libncdods = "nc-dods"
53
-  cflags = `opendap-config --cflags`.gsub(/\n/, " ")
54
-  libs = `opendap-config --libs-nc`.gsub(/\n/, " ")
55
-  prefix_dods = `opendap-config --prefix`.gsub(/\n/, "")
56
-end
57
-
58
-if File.directory?("/usr/include/netcdf")  #-- for Vine linux
59
-  cflags = "-I/usr/include/netcdf"
60
-  libs = "-L/usr/lib"
61
-  $CFLAGS += ' ' + cflags
62
-  $LOCAL_LIBS += ' ' + libs
63
-end
64
- 
65
-if (enable_config('opendap',true) && ( xsystem("opendap-config --libs") ||
66
-                                       xsystem("ncdap-config --libs") ) )
67
-
68
-  dir_config(libncdods,prefix_dods)
69
-
70
-  if (!have_library(libncdods))
71
-    print <<-EOS
72
-    ** ERROR ** Library not found: nc-dods (OPeNDAP/DODS-enabled NetCDF lib)
73
-    Install it, or run extconf.rb with option --disable-opendap.
74
-                                              ^^^^^^^^^^^^^^^^^
75
-    EOS
76
-    exit(-1)
77
+unless  ncversion 
78
+  # configure netcdf version
79
+  if xsystem("nc-config --version")
80
+    ncversion = `nc-config --version`.chomp!.sub!(/^n.* /i,"") # rm "netCDF "
81
+    ncversion.sub!(/^([^\.]+\.[^\.]+\.[^\.]+).+$/,'\1') # e.g. 4.2.1.1 -> 4.2.1
82
   else
83
-    print <<-EOS
84
-    ** Message **  Compiling with OPeNDAP/DODS-enabled NetCDF library.
85
- 
86
-    This is because the command opendap-config is found in your system.
87
-    If you want to use the ordinary (non-DODS) version of NetCDF,
88
-    run extconf.rb with option --disable-opendap.
89
-                               ^^^^^^^^^^^^^^^^^
90
-    EOS
91
+    ncversion = "3.0.0"   # assume version 3 (only for compilation)
92
+      # For compilation, there is no difference among subversions of netcdf 3
93
   end
94
+end
95
 
96
-  $CFLAGS += ' '+cflags
97
-  $LOCAL_LIBS += ' ' + libs
98
+ncver0 = ncversion[0..0]  # "3" or "4"
99
+ncver = ncversion.gsub(/\./,'')
100
+unless /^\d\d\d$/ =~ ncver   # 3 digits
101
+  raise("Invalid netcdf version: #{ncversion}. Use --with-netcdf-version=") 
102
+end
103
+$CFLAGS += ' -DNCVER='+ncver
104
 
105
-  # non portable treatments: should be improved (by Horinouchi)
106
-  CONFIG['LDSHARED'].sub!(/gcc/,'g++')
107
-  $LIBS.sub!(/-lc\s/,'') ; $LIBS.sub!(/-lc$/,'')
108
-  print <<-EOS
109
-    ** Warning **  non-portable treatments are made, 
110
-    which was sucessfull redhat linux 9:
111
-     * gcc was replaced with g++ in CONFIG['LDSHARED']
112
-     * -lc library was removed if in $LIBS 
113
-
114
-  EOS
115
-  #  p '@@@'
116
-  #  ary = []
117
-  #  CONFIG.each{|k,v| ary.push([k,v])}
118
-  #  ary.sort.each{|x| p x}
119
-else
120
+case ncver0
121
+when "4"
122
   if xsystem("nc-config --libs") # for NetCDF 4
123
     cflags = `nc-config --cflags`.gsub(/\n/, " ")
124
     libs = `nc-config --libs`.gsub(/\n/, " ")
125
@@ -91,23 +67,82 @@
126
     $CFLAGS += ' ' + cflags
127
     $LOCAL_LIBS += ' ' + libs
128
   end
129
-  if ( ! ( have_header("netcdf.h") && have_library("netcdf") ) )then
130
-    print <<-EOS
131
-    ** configure error **  
132
-       Header netcdf.h or the compiled netcdf library is not found. 
133
-       If you have the library installed under /netcdfdir (that is, netcdf.h is
134
-       in /netcdfdir/include and the library in /netcdfdir/lib/),
135
-       try the following:
136
+when "3"
137
+  # for NetCDF 3, which needs external libraries for OpenDAP
138
+  if xsystem("ncdap-config --libs")
139
+    libncdods = "nc-dap"
140
+    cflags = `ncdap-config --cflags`.gsub(/\n/, " ")
141
+    libs = `ncdap-config --libs`.gsub(/\n/, " ")
142
+    prefix_dods = `ncdap-config --prefix`.gsub(/\n/, "")
143
+  elsif xsystem("opendap-config --libs")
144
+    libncdods = "nc-dods"
145
+    cflags = `opendap-config --cflags`.gsub(/\n/, " ")
146
+    libs = `opendap-config --libs-nc`.gsub(/\n/, " ")
147
+    prefix_dods = `opendap-config --prefix`.gsub(/\n/, "")
148
+  end
149
+  if (enable_config('opendap',true) && ( xsystem("opendap-config --libs") ||
150
+                                         xsystem("ncdap-config --libs") ) )
151
+
152
+    dir_config(libncdods,prefix_dods)
153
 
154
-       % ruby extconf.rb --with-netcdf-dir=/netcdfdir
155
+    if (!have_library(libncdods))
156
+      print <<-EOS
157
+      ** ERROR ** Library not found: nc-dods (OPeNDAP/DODS-enabled NetCDF lib)
158
+      Install it, or run extconf.rb with option --disable-opendap.
159
+                                                ^^^^^^^^^^^^^^^^^
160
+      EOS
161
+      exit(-1)
162
+    else
163
+      print <<-EOS
164
+      ** Message **  Compiling with OPeNDAP/DODS-enabled NetCDF library.
165
+
166
+      This is because the command opendap-config is found in your system.
167
+      If you want to use the ordinary (non-DODS) version of NetCDF,
168
+      run extconf.rb with option --disable-opendap.
169
+                                 ^^^^^^^^^^^^^^^^^
170
+      EOS
171
+    end
172
+
173
+    $CFLAGS += ' '+cflags
174
+    $LOCAL_LIBS += ' ' + libs
175
+
176
+    # non portable treatments: should be improved (by Horinouchi)
177
+    CONFIG['LDSHARED'].sub!(/gcc/,'g++')
178
+    $LIBS.sub!(/-lc\s/,'') ; $LIBS.sub!(/-lc$/,'')
179
+    print <<-EOS
180
+      ** Warning **  non-portable treatments are made, 
181
+      which was sucessfull redhat linux 9:
182
+       * gcc was replaced with g++ in CONFIG['LDSHARED']
183
+       * -lc library was removed if in $LIBS 
184
 
185
-       Alternatively, you can specify the two directory separately
186
-       with --with-netcdf-include and --with-netcdf-lib.
187
     EOS
188
-    exit(-1)
189
+    #  p '@@@'
190
+    #  ary = []
191
+    #  CONFIG.each{|k,v| ary.push([k,v])}
192
+    #  ary.sort.each{|x| p x}
193
+  else
194
+    if ( ! ( have_header("netcdf.h") && have_library("netcdf") ) )then
195
+      print <<-EOS
196
+      ** configure error **  
197
+         Header netcdf.h or the compiled netcdf library is not found. 
198
+         If you have the library installed under /netcdfdir (that is, netcdf.h is
199
+         in /netcdfdir/include and the library in /netcdfdir/lib/),
200
+         try the following:
201
+
202
+         % ruby extconf.rb --with-netcdf-dir=/netcdfdir
203
+
204
+         Alternatively, you can specify the two directory separately
205
+         with --with-netcdf-include and --with-netcdf-lib.
206
+      EOS
207
+      exit(-1)
208
+    end
209
   end
210
+else
211
+  raise "Netcdf version #{ncver0} is not supported"
212
 end
213
 
214
+
215
+
216
 if /cygwin|mingw/ =~ RUBY_PLATFORM
217
    have_library("narray") || raise("ERROR: narray library is not found")
218
 end
219
@@ -128,9 +163,9 @@
4
       newmkfl.puts("")         
220
       newmkfl.puts("")         
5
       newmkfl.puts("test: all")            # insert the "test" target
221
       newmkfl.puts("test: all")            # insert the "test" target
6
       newmkfl.puts("\t\t@cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..") 
222
       newmkfl.puts("\t\t@cd test && ruby test.rb && echo 'test did not fail :-p (please ignore the warnings)' && cd ..") 
Lines 7-12 Link Here
7
-   when /lib\/netcdf/
223
-   when /lib\/netcdf/
8
-      line = line.chomp! + "/"
224
-      line = line.chomp! + "/"
9
-      newmkfl.puts(line)
225
-      newmkfl.puts(line)
226
+#   when /lib\/netcdf/
227
+#      line = line.chomp! + "/"
228
+#      newmkfl.puts(line)
10
    else
229
    else
11
       newmkfl.puts(line)
230
       newmkfl.puts(line)
12
    end
231
    end
(-)security/rubygem-ezcrypto/files/patch-gemspec (-6 lines)
Lines 1-18 Link Here
1
--- ezcrypto-0.7.2.gemspec.orig	2013-02-27 02:35:45.000000000 +0000
2
+++ ezcrypto-0.7.2.gemspec	2013-02-27 02:36:42.000000000 +0000
3
@@ -51,7 +51,6 @@
4
 - test/protectedsigner.pem
5
 - test/sf-class2-root.crt
6
 - test/sf_intermediate.crt
(-)sysutils/rubygem-hammer_cli/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- hammer_cli.gemspec.orig	2015-01-22 02:42:09.000000000 +0000
2
+++ hammer_cli.gemspec	2015-01-22 02:42:46.000000000 +0000
3
@@ -64,7 +64,7 @@
4
     s.add_dependency(%q<json>, [">= 0"])
5
     s.add_dependency(%q<rb-readline>, [">= 0"])
6
     s.add_dependency(%q<fastercsv>, [">= 0"])
7
-    s.add_dependency(%q<mime-types>, ["~> 1.0"])
8
+    s.add_dependency(%q<mime-types>, [">= 1.0"])
9
     s.add_dependency(%q<apipie-bindings>, ["~> 0.0.10"])
10
   end
11
 end
(-)sysutils/rubygem-hammer_cli/files/patch-versions (-19 lines)
Lines 1-32 Link Here
1
--- hammer_cli-0.1.4.gemspec.orig	2014-12-10 22:09:22.000000000 +0100
2
+++ hammer_cli-0.1.4.gemspec	2014-12-10 22:10:25.000000000 +0100
3
@@ -138,20 +138,6 @@
4
       - !ruby/object:Gem::Version
5
         version: '0'
6
 - !ruby/object:Gem::Dependency
7
-  name: rb-readline
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - '>='
11
-      - !ruby/object:Gem::Version
12
-        version: '0'
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - '>='
18
-      - !ruby/object:Gem::Version
19
-        version: '0'
(-)textproc/rubygem-nokogiri/files/patch-gemspec (-19 lines)
Lines 1-23 Link Here
1
--- ./nokogiri-1.6.3.1.gemspec.orig	2014-08-23 23:55:51.304817727 +0000
2
+++ ./nokogiri-1.6.3.1.gemspec	2014-08-23 23:56:09.655816514 +0000
3
@@ -15,20 +15,6 @@
4
 date: 2014-07-22 00:00:00.000000000 Z
5
 dependencies:
6
 - !ruby/object:Gem::Dependency
7
-  name: mini_portile
8
-  requirement: !ruby/object:Gem::Requirement
9
-    requirements:
10
-    - - '='
11
-      - !ruby/object:Gem::Version
12
-        version: 0.6.0
13
-  type: :runtime
14
-  prerelease: false
15
-  version_requirements: !ruby/object:Gem::Requirement
16
-    requirements:
17
-    - - '='
18
-      - !ruby/object:Gem::Version
19
-        version: 0.6.0
(-)textproc/rubygem-nokogiri14/files/patch-gemspec (-6 lines)
Lines 1-20 Link Here
1
--- nokogiri-1.4.7.gemspec.orig	2014-08-26 20:40:15.000000000 +0000
2
+++ nokogiri-1.4.7.gemspec	2014-08-26 20:40:32.000000000 +0000
3
@@ -77,7 +77,7 @@
4
 - aaronp@rubyforge.org
5
 - mike.dalessio@gmail.com
6
 executables: 
(-)textproc/rubygem-sass-rails/files/patch-gemspec (-11 / +11 lines)
Lines 1-11 Link Here
1
--- sass-rails-3.2.6.gemspec.orig	2014-02-19 03:55:59.669617961 +0000
1
--- sass-rails.gemspec.orig	2014-12-01 21:52:39.000000000 +0000
2
+++ sass-rails-3.2.6.gemspec	2014-02-19 03:55:59.699618518 +0000
2
+++ sass-rails.gemspec	2014-12-01 21:53:01.000000000 +0000
3
@@ -43,7 +43,7 @@
3
@@ -24,7 +24,7 @@
4
   name: tilt
4
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
5
   requirement: !ruby/object:Gem::Requirement
5
       s.add_runtime_dependency(%q<sass>, [">= 3.1.10"])
6
     requirements:
6
       s.add_runtime_dependency(%q<railties>, ["~> 3.2.0"])
7
-    - - "~>"
7
-      s.add_runtime_dependency(%q<tilt>, ["~> 1.3"])
8
+    - - ">="
8
+      s.add_runtime_dependency(%q<tilt>, [">= 1.3"])
9
       - !ruby/object:Gem::Version
9
     else
10
         version: '1.3'
10
       s.add_dependency(%q<sass>, [">= 3.1.10"])
11
   type: :runtime
11
       s.add_dependency(%q<railties>, ["~> 3.2.0"])
(-)textproc/rubygem-sass32/files/patch-gemspec (-7 lines)
Lines 1-13 Link Here
1
--- ./sass-3.2.19.gemspec.orig	2014-04-03 02:37:49.625126621 +0000
2
+++ ./sass-3.2.19.gemspec	2014-04-03 02:37:58.207126119 +0000
3
@@ -46,10 +46,6 @@
4
         It's translated to well-formatted, standard CSS using the
5
         command line tool or a web-framework plugin.
6
 email: sass-lang@googlegroups.com
7
-executables:
(-)www/rubygem-actionpack/files/patch-gemspec (-11 lines)
Lines 1-11 Link Here
1
--- actionpack-3.2.19.gemspec.orig	2014-07-02 19:24:30.502461548 +0000
2
+++ actionpack-3.2.19.gemspec	2014-07-02 19:24:31.347461949 +0000
3
@@ -133,7 +133,7 @@
4
   requirement: &id008 !ruby/object:Gem::Requirement 
5
     none: false
6
     requirements: 
7
-    - - ~>
8
+    - - ">="
9
       - !ruby/object:Gem::Version 
10
         hash: 5
11
         segments: 
(-)www/rubygem-gitlab-gollum-lib/files/patch-gemspec (-20 / +20 lines)
Lines 1-20 Link Here
1
--- gitlab-gollum-lib-1.1.0.gemspec.orig	2014-08-31 05:45:21.688401723 +0000
1
--- gitlab-gollum-lib.gemspec.orig	2015-01-22 02:57:29.000000000 +0000
2
+++ gitlab-gollum-lib-1.1.0.gemspec	2014-08-31 05:45:42.784398809 +0000
2
+++ gitlab-gollum-lib.gemspec	2015-01-22 02:57:52.000000000 +0000
3
@@ -79,7 +79,7 @@
3
@@ -63,7 +63,7 @@
4
     requirements:
4
     s.add_dependency(%q<github-markup>, ["< 1.0.0", ">= 0.7.5"])
5
     - - ~>
5
     s.add_dependency(%q<github-markdown>, ["~> 0.5.3"])
6
       - !ruby/object:Gem::Version
6
     s.add_dependency(%q<sanitize>, ["~> 2.0.3"])
7
-        version: 1.5.9
7
-    s.add_dependency(%q<nokogiri>, ["~> 1.5.9"])
8
+        version: 1.6.0
8
+    s.add_dependency(%q<nokogiri>, [">= 1.5.9"])
9
   type: :runtime
9
     s.add_dependency(%q<stringex>, ["~> 1.5.1"])
10
   prerelease: false
10
     s.add_dependency(%q<RedCloth>, ["~> 4.2.9"])
11
   version_requirements: !ruby/object:Gem::Requirement
11
     s.add_dependency(%q<mocha>, ["~> 0.13.2"])
12
@@ -205,7 +205,7 @@
12
@@ -72,7 +72,7 @@
13
     requirements:
13
     s.add_dependency(%q<wikicloth>, ["~> 0.8.0"])
14
     - - ~>
14
     s.add_dependency(%q<rake>, ["~> 10.0.3"])
15
       - !ruby/object:Gem::Version
15
     s.add_dependency(%q<pry>, ["~> 0.9.12"])
16
-        version: 0.4.2
16
-    s.add_dependency(%q<rb-readline>, ["~> 0.4.2"])
17
+        version: 0.5.2
17
+    s.add_dependency(%q<rb-readline>, [">= 0.4.2"])
18
   type: :development
18
     s.add_dependency(%q<minitest-reporters>, ["~> 0.14.10"])
19
   prerelease: false
19
     s.add_dependency(%q<nokogiri-diff>, ["~> 0.1.2"])
20
   version_requirements: !ruby/object:Gem::Requirement
20
   end
(-)www/rubygem-jekyll/files/patch-gemspec (+11 lines)
Line 0 Link Here
1
--- jekyll.gemspec.orig	2015-02-16 02:08:36.701573000 +0000
2
+++ jekyll.gemspec	2015-02-16 02:08:56.815699000 +0000
3
@@ -26,7 +26,7 @@
4
 
5
     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
6
       s.add_runtime_dependency(%q<liquid>, ["~> 2.6.1"])
7
-      s.add_runtime_dependency(%q<kramdown>, ["~> 1.3"])
8
+      s.add_runtime_dependency(%q<kramdown>, [">= 1.3"])
9
       s.add_runtime_dependency(%q<mercenary>, ["~> 0.3.3"])
10
       s.add_runtime_dependency(%q<safe_yaml>, ["~> 1.0"])
11
       s.add_runtime_dependency(%q<colorator>, ["~> 0.1"])
(-)www/rubygem-jekyll/files/patch-versions (-11 lines)
Lines 1-11 Link Here
1
--- jekyll-2.5.3.gemspec.orig	2014-08-24 22:22:41.000000000 +0200
2
+++ jekyll-2.5.3.gemspec	2014-08-24 22:23:14.000000000 +0200
3
@@ -28,7 +28,7 @@
4
   name: kramdown
5
   requirement: !ruby/object:Gem::Requirement
6
     requirements:
7
-    - - "~>"
8
+    - - ">="
9
       - !ruby/object:Gem::Version
10
         version: '1.3'
11
   type: :runtime
(-)www/rubygem-railties/files/patch-gemspec (-20 lines)
Lines 1-24 Link Here
1
--- railties-3.2.19.gemspec.orig	2014-07-02 19:26:50.010451747 +0000
2
+++ railties-3.2.19.gemspec	2014-07-02 19:28:44.333443952 +0000
3
@@ -74,21 +74,6 @@
4
   prerelease: false
5
   name: thor
6
 - !ruby/object:Gem::Dependency 
7
-  requirement: &id004 !ruby/object:Gem::Requirement 
8
-    none: false
9
-    requirements: 
10
-    - - ~>
11
-      - !ruby/object:Gem::Version 
12
-        hash: 15
13
-        segments: 
14
-        - 3
15
-        - 4
16
-        version: "3.4"
17
-  type: :runtime
18
-  version_requirements: *id004
19
-  prerelease: false
20
-  name: rdoc

Return to bug 197083