ports/opt (3.6): ruby-sqlite3: use gem to install, cleanup
commit 49982f5276db8d574f1211e7f05776cbadb5e1f6 Author: Juergen Daubert <jue@jue.li> Date: Wed Jul 29 13:26:35 2020 +0200 ruby-sqlite3: use gem to install, cleanup diff --git a/ruby-sqlite3/.footprint b/ruby-sqlite3/.footprint index aebc392b7..9c283c87e 100644 --- a/ruby-sqlite3/.footprint +++ b/ruby-sqlite3/.footprint @@ -3,10 +3,6 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/ruby/ drwxr-xr-x root/root usr/lib/ruby/gems/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/ -drwxr-xr-x root/root usr/lib/ruby/gems/2.7/build_info/ -drwxr-xr-x root/root usr/lib/ruby/gems/2.7/cache/ --rw-r--r-- root/root usr/lib/ruby/gems/2.7/cache/sqlite3-1.4.2.gem -drwxr-xr-x root/root usr/lib/ruby/gems/2.7/doc/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/ @@ -18,17 +14,6 @@ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/sqlite3-1 -rwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/sqlite3-1.4.2/sqlite3/sqlite3_native.so drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/ --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/.gemtest (EMPTY) --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/.travis.yml --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/API_CHANGES.rdoc --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/CHANGELOG.rdoc --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/ChangeLog.cvs --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/Gemfile --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/LICENSE --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/Manifest.txt --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/README.rdoc --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/Rakefile --rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/appveyor.yml drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/ext/ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/ext/sqlite3/ -rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/sqlite3-1.4.2/ext/sqlite3/.sitearchdir.-.sqlite3.time (EMPTY) diff --git a/ruby-sqlite3/.signature b/ruby-sqlite3/.signature index 477710b5b..9a3aa8f38 100644 --- a/ruby-sqlite3/.signature +++ b/ruby-sqlite3/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/TjUv/c9oIz3lX3Fc1M63ndY7sfQLElmu6Mub5LZbBbSIfmFkNf/25Dxxnjzq/LV44AYeXmGJY0uAXhM34iWcwQ= -SHA256 (Pkgfile) = 0885de90f067d30b91720b6be752c38ab3b9fd3421f282c24d86ea91aa68cd53 -SHA256 (.footprint) = 63a6e9390d64b99ad87d4c2b67f1f4fdf5fbf0a6260843ca4226fd576483a9a5 -SHA256 (ruby-sqlite3-1.4.2.tar.gz) = 7e876104c0feb6e0e69befc3f6055fb7f20f37b13a667c8f9782d22272f37479 +RWSE3ohX2g5d/Rh19DAfcWUFhR7kNJpIt9ym57yUTHUBnQNFCVsdHS17a7ZISURTfiQLyEqAlfKz0FCImighBHCblhF+SfFbFgs= +SHA256 (Pkgfile) = 09bef830f2c57b90eb38bc8a0dacb670c2aeba856b9eac12daacc9d120e3ca3c +SHA256 (.footprint) = e24296e73c4ae3fd2f8eeebd64a1435ae1b8ff269cef7299fcabdee24d892533 +SHA256 (sqlite3-1.4.2.gem) = e8b8ef3b0f75c18e1a7ee62c5678c827e99389e53fa55eb7a9a5f57459004a52 diff --git a/ruby-sqlite3/Pkgfile b/ruby-sqlite3/Pkgfile index 07bf340c8..eb946800a 100644 --- a/ruby-sqlite3/Pkgfile +++ b/ruby-sqlite3/Pkgfile @@ -5,15 +5,21 @@ name=ruby-sqlite3 version=1.4.2 -release=2 -source=(https://github.com/sparklemotion/sqlite3-ruby/archive/v$version/$name-$versi...) +release=3 +source=(https://rubygems.org/downloads/sqlite3-$version.gem) build () { - cd sqlite3-ruby-$version - - gem install sqlite3 \ - --ignore-dependencies \ - --no-user-install \ - --no-document \ - --build-root $PKG + gem install sqlite3 \ + --ignore-dependencies \ + --no-user-install \ + --no-document \ + --local \ + --build-root $PKG + + cd $PKG/$(gem env gemdir) + rm -r cache doc build_info + cd gems/sqlite3-1.4.2 + rm .gemtest .travis.yml API_CHANGES.rdoc CHANGELOG.rdoc \ + ChangeLog.cvs Gemfile LICENSE Manifest.txt README.rdoc \ + Rakefile appveyor.yml }
participants (1)
-
crux@crux.nu