Date: Sun, 4 Sep 2022 03:54:31 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bf32978bd52b - main - devel/rubygem-ruby-filemagic: Fix build after ruby-gems 3.3.21 updae Message-ID: <202209040354.2843sVrF086469@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf32978bd52b9188cd5826b361f954250c91a559 commit bf32978bd52b9188cd5826b361f954250c91a559 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-09-04 03:48:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-09-04 03:48:17 +0000 devel/rubygem-ruby-filemagic: Fix build after ruby-gems 3.3.21 updae - Bump PORTREVISION for package change Remove non-existent test/pylink from gemspec Reported by: pkg-fallout --- devel/rubygem-ruby-filemagic/Makefile | 5 ++--- devel/rubygem-ruby-filemagic/files/patch-gemspec | 11 +++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/devel/rubygem-ruby-filemagic/Makefile b/devel/rubygem-ruby-filemagic/Makefile index 0356880f0c1a..e6ea5fe39d96 100644 --- a/devel/rubygem-ruby-filemagic/Makefile +++ b/devel/rubygem-ruby-filemagic/Makefile @@ -1,5 +1,6 @@ PORTNAME= ruby-filemagic PORTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= devel ruby MASTER_SITES= RG @@ -9,9 +10,7 @@ COMMENT= Ruby binding to libmagic(3) LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual -USE_RUBY= yes USES= gem - -PLIST_FILES= ${GEM_LIB_DIR}/test/pylink +USE_RUBY= yes .include <bsd.port.mk> diff --git a/devel/rubygem-ruby-filemagic/files/patch-gemspec b/devel/rubygem-ruby-filemagic/files/patch-gemspec new file mode 100644 index 000000000000..3e176570d60e --- /dev/null +++ b/devel/rubygem-ruby-filemagic/files/patch-gemspec @@ -0,0 +1,11 @@ +--- ruby-filemagic.gemspec.orig 2022-09-02 10:22:38 UTC ++++ ruby-filemagic.gemspec +@@ -14,7 +14,7 @@ Gem::Specification.new do |s| + s.email = "jens.wille@gmail.com".freeze + s.extensions = ["ext/filemagic/extconf.rb".freeze] + s.extra_rdoc_files = ["README".freeze, "ChangeLog".freeze, "ext/filemagic/filemagic.c".freeze] +- s.files = ["CONTRIBUTING.md".freeze, "ChangeLog".freeze, "Dockerfile".freeze, "README".freeze, "Rakefile".freeze, "TODO".freeze, "ext/filemagic/extconf.rb".freeze, "ext/filemagic/filemagic.c".freeze, "ext/filemagic/filemagic.h".freeze, "lib/filemagic.rb".freeze, "lib/filemagic/ext.rb".freeze, "lib/filemagic/magic.mgc".freeze, "lib/filemagic/version.rb".freeze, "lib/ruby-filemagic.rb".freeze, "test/excel-example.xls".freeze, "test/filemagic_test.rb".freeze, "test/leaktest.rb".freeze, "test/mahoro.c".freeze, "test/perl".freeze, "test/perl.mgc".freeze, "test/pyfile".freeze, "test/pyfile-compressed.gz".freeze, "test/pylink".freeze] ++ s.files = ["CONTRIBUTING.md".freeze, "ChangeLog".freeze, "Dockerfile".freeze, "README".freeze, "Rakefile".freeze, "TODO".freeze, "ext/filemagic/extconf.rb".freeze, "ext/filemagic/filemagic.c".freeze, "ext/filemagic/filemagic.h".freeze, "lib/filemagic.rb".freeze, "lib/filemagic/ext.rb".freeze, "lib/filemagic/magic.mgc".freeze, "lib/filemagic/version.rb".freeze, "lib/ruby-filemagic.rb".freeze, "test/excel-example.xls".freeze, "test/filemagic_test.rb".freeze, "test/leaktest.rb".freeze, "test/mahoro.c".freeze, "test/perl".freeze, "test/perl.mgc".freeze, "test/pyfile".freeze, "test/pyfile-compressed.gz".freeze] + s.homepage = "http://github.com/blackwinter/ruby-filemagic".freeze + s.licenses = ["Ruby".freeze] + s.post_install_message = "\nruby-filemagic-0.7.3 [2022-01-07]:\n\n* Dockerfile to build native extension (pull request #26 by Pavel Lobashov).\n* Include paths for ARM-based Apple Macs (Apple Silicon) (pull request #35 by\n @545ch4).\n\n".freeze
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209040354.2843sVrF086469>