From owner-svn-ports-all@freebsd.org Fri Apr 28 20:24:46 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E5E8D54E22; Fri, 28 Apr 2017 20:24:46 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E50018EB; Fri, 28 Apr 2017 20:24:45 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3SKOiWw039592; Fri, 28 Apr 2017 20:24:44 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3SKOiGf039587; Fri, 28 Apr 2017 20:24:44 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201704282024.v3SKOiGf039587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 28 Apr 2017 20:24:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439630 - in head/devel/rubygem-native-package-installer: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 20:24:46 -0000 Author: sunpoet Date: Fri Apr 28 20:24:44 2017 New Revision: 439630 URL: https://svnweb.freebsd.org/changeset/ports/439630 Log: Add FreeBSD support (accepted and merged by upstream) - Fix LICENSE - Add LICENSE_FILE - Add NO_ARCH - Update pkg-descr - Update WWW - Bump PORTREVISION for package change Added: head/devel/rubygem-native-package-installer/files/ head/devel/rubygem-native-package-installer/files/patch-gemspec (contents, props changed) head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform-freebsd.rb (contents, props changed) head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform.rb (contents, props changed) Modified: head/devel/rubygem-native-package-installer/Makefile head/devel/rubygem-native-package-installer/pkg-descr (contents, props changed) Modified: head/devel/rubygem-native-package-installer/Makefile ============================================================================== --- head/devel/rubygem-native-package-installer/Makefile Fri Apr 28 20:24:38 2017 (r439629) +++ head/devel/rubygem-native-package-installer/Makefile Fri Apr 28 20:24:44 2017 (r439630) @@ -2,14 +2,17 @@ PORTNAME= native-package-installer PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG -MAINTAINER= ruby@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Helper to install native packages on "gem install" -LICENSE= LGPL21+ +LICENSE= LGPL3+ +LICENSE_FILE_LGPL3= ${WRKSRC}/doc/text/lgpl-3.txt +NO_ARCH= yes USE_RUBY= yes USES= gem Added: head/devel/rubygem-native-package-installer/files/patch-gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-native-package-installer/files/patch-gemspec Fri Apr 28 20:24:44 2017 (r439630) @@ -0,0 +1,11 @@ +--- native-package-installer.gemspec.orig 2017-04-28 06:48:19 UTC ++++ native-package-installer.gemspec +@@ -11,7 +11,7 @@ Gem::Specification.new do |s| + s.date = "2017-04-10" + s.description = "Users need to install native packages to install an extension library\nthat depends on native packages. It bores users because users need to\ninstall native packages and an extension library separately.\n\nnative-package-installer helps to install native packages on \"gem install\".\nUsers can install both native packages and an extension library by one action,\n\"gem install\".".freeze + s.email = ["kou@clear-code.com".freeze] +- s.files = ["README.md".freeze, "Rakefile".freeze, "doc/text/gpl-3.txt".freeze, "doc/text/lgpl-3.txt".freeze, "lib/native-package-installer.rb".freeze, "lib/native-package-installer/executable-finder.rb".freeze, "lib/native-package-installer/platform.rb".freeze, "lib/native-package-installer/platform/alt-linux.rb".freeze, "lib/native-package-installer/platform/arch-linux.rb".freeze, "lib/native-package-installer/platform/debian.rb".freeze, "lib/native-package-installer/platform/fedora.rb".freeze, "lib/native-package-installer/platform/homebrew.rb".freeze, "lib/native-package-installer/platform/macports.rb".freeze, "lib/native-package-installer/platform/redhat.rb".freeze, "lib/native-package-installer/platform/suse.rb".freeze, "lib/native-package-installer/platform/unknown.rb".freeze, "lib/native-package-installer/version.rb".freeze, "test/run-test.rb".freeze, "test/test-executable-finder.rb".freeze] ++ s.files = ["README.md".freeze, "Rakefile".freeze, "doc/text/gpl-3.txt".freeze, "doc/text/lgpl-3.txt".freeze, "lib/native-package-installer.rb".freeze, "lib/native-package-installer/executable-finder.rb".freeze, "lib/native-package-installer/platform.rb".freeze, "lib/native-package-installer/platform/alt-linux.rb".freeze, "lib/native-package-installer/platform/arch-linux.rb".freeze, "lib/native-package-installer/platform/debian.rb".freeze, "lib/native-package-installer/platform/fedora.rb".freeze, "lib/native-package-installer/platform/freebsd.rb".freeze, "lib/native-package-installer/platform/homebrew.rb".freeze, "lib/native-package-installer/platform/macports.rb".freeze, "lib/native-package-installer/platform/redhat.rb".freeze, "lib/native-package-installer/platform/suse.rb".freeze, "lib/native-package-installer/platform/unknown.rb".freeze, "lib/native-package-installer/version.rb".freeze, "test/run-test.rb".freeze, "test/test-executable-finder.rb".freeze] + s.homepage = "https://github.com/ruby-gnome2/native-package-installer".freeze + s.licenses = ["LGPL-3+".freeze] + s.rubygems_version = "2.6.11".freeze Added: head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform-freebsd.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform-freebsd.rb Fri Apr 28 20:24:44 2017 (r439630) @@ -0,0 +1,43 @@ +--- lib/native-package-installer/platform/freebsd.rb.orig 2017-04-27 16:32:17 UTC ++++ lib/native-package-installer/platform/freebsd.rb +@@ -0,0 +1,40 @@ ++# Copyright (C) 2017 Ruby-GNOME2 Project Team ++# ++# This library is free software: you can redistribute it and/or modify ++# it under the terms of the GNU Lesser General Public License as published by ++# the Free Software Foundation, either version 3 of the License, or ++# (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU Lesser General Public License for more details. ++# ++# You should have received a copy of the GNU Lesser General Public License ++# along with this program. If not, see . ++ ++class NativePackageInstaller ++ module Platform ++ class FreeBSD ++ Platform.register(self) ++ ++ class << self ++ def current_platform? ++ ExecutableFinder.exist?("pkg") ++ end ++ end ++ ++ def package(spec) ++ spec[:freebsd] ++ end ++ ++ def install_command ++ "pkg install -y" ++ end ++ ++ def need_super_user_priviledge? ++ true ++ end ++ end ++ end ++end Added: head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-native-package-installer/files/patch-lib-native-package-installer-platform.rb Fri Apr 28 20:24:44 2017 (r439630) @@ -0,0 +1,10 @@ +--- lib/native-package-installer/platform.rb.orig 2017-04-27 16:20:10 UTC ++++ lib/native-package-installer/platform.rb +@@ -33,6 +33,7 @@ class NativePackageInstaller + end + end + ++require "native-package-installer/platform/freebsd" + require "native-package-installer/platform/debian" + require "native-package-installer/platform/fedora" + require "native-package-installer/platform/redhat" Modified: head/devel/rubygem-native-package-installer/pkg-descr ============================================================================== --- head/devel/rubygem-native-package-installer/pkg-descr Fri Apr 28 20:24:38 2017 (r439629) +++ head/devel/rubygem-native-package-installer/pkg-descr Fri Apr 28 20:24:44 2017 (r439630) @@ -1,4 +1,7 @@ -native-package-installer helps to install native packages -on "gem install". +Users need to install native packages to install an extension library that +depends on native packages. It bores users because users need to install native +packages and an extension library separately. native-package-installer helps to +install native packages on "gem install". Users can install both native packages +and an extension library by one action, "gem install". -WWW: https://rubygems.org/gems/native-package-installer/ +WWW: https://github.com/ruby-gnome2/native-package-installer