Bug 230436 - databases/ruby-gdbm: Switch to use gem and etc
Summary: databases/ruby-gdbm: Switch to use gem and etc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Koichiro Iwao
URL:
Keywords: patch
Depends on:
Blocks: 234509 235826
  Show dependency treegraph
 
Reported: 2018-08-07 11:35 UTC by Yasuhiro Kimura
Modified: 2019-04-03 13:38 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
patch file (8.08 KB, patch)
2018-08-07 11:35 UTC, Yasuhiro Kimura
no flags Details | Diff
updated patch file (8.19 KB, patch)
2018-09-24 03:37 UTC, Yasuhiro Kimura
no flags Details | Diff
updated patch file (8.24 KB, patch)
2018-10-05 06:22 UTC, Yasuhiro Kimura
no flags Details | Diff
updated patch file (8.11 KB, patch)
2018-10-20 19:07 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (8.16 KB, patch)
2019-02-17 21:57 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2018-08-07 11:35:06 UTC
Created attachment 195975 [details]
patch file

* Switch to use gem.
* Rename to databases/rubygem-gdbm now that it is rubygem port.
* Change sub-category from ruby to rubygem.
* Bump PORTEPOCH because PORTVERSION goes to backward.
* Update pkg-descr and add WWW.
* Remove unnecessary pkg-message.
* Update ruby core ports.
  - Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR}.
  - Update pkg-message.
* Update depending ports.
  - Update dependency.
  - Bump PORTREVISION.
* Add entry to MOVED.

Please take following steps to apply attached patch.

1. cd /usr/ports
2. svn move databases/ruby-gdbm databases/rubygem-gdbm
3. svn remove datapases/rubygem-gdbm/pkg-message
4. svn patch /path/to/attached/patch
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2018-09-24 03:37:40 UTC
Created attachment 197421 [details]
updated patch file

Update patch to make it fit to latest ports tree.
So please commit attached patch instead of original one.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2018-10-05 06:22:54 UTC
Created attachment 197805 [details]
updated patch file

Update patch to make it fit to latest ports tree.
So please commit attached patch instead of previous ones.
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2018-10-20 19:07:28 UTC
Created attachment 198413 [details]
updated patch file

Update patch to make it fit to latest ports tree.
So please commit attached patch instead of previous ones.
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2019-02-17 21:57:57 UTC
Created attachment 202106 [details]
Updated patch file

Update patch to make it fit to latest ports tree.
Comment 5 Koichiro Iwao freebsd_committer freebsd_triage 2019-04-01 07:06:50 UTC
Reported by: antonie
Comment 6 Koichiro Iwao freebsd_committer freebsd_triage 2019-04-01 07:07:16 UTC
(In reply to Koichiro Iwao from comment #5)
Oops, commented on wrong bug. Ignore #5.
Comment 7 Koichiro Iwao freebsd_committer freebsd_triage 2019-04-02 07:56:28 UTC
QA looks fine for me.
Comment 8 commit-hook freebsd_committer freebsd_triage 2019-04-02 08:03:10 UTC
A commit references this bug:

Author: meta
Date: Tue Apr  2 08:02:33 UTC 2019
New revision: 497555
URL: https://svnweb.freebsd.org/changeset/ports/497555

Log:
  databases/ruby-gdbm: Gemify gdbm

  since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also
  use the gdbm gem because it is a gem!

  - Add MOVED entry
  - Bump PORTEPOCH because PORTVERSION goes barwards
  - Update pkg-descr and WWW
  - Remove unnecessary pkg-message

  [1] https://bugs.ruby-lang.org/issues/5481

  Update lang/ruby* ports:

  - Do not build gdbm together with Ruby interpreter, but build as a rubygem
  - Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR}
  - Update pkg-message to mention rubygem-gdbm instead of ruby-gdbm

  Also following changes are made to ruby-gdbm consumers:

  - Updade dependency to depend on rubygem-gdbm
  - Bump PORTREVISION due to dependency change

  PR:		230436
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
  Sponsored by:	HAW International, Inc.

Changes:
  head/MOVED
  head/databases/Makefile
  head/databases/ruby-gdbm/
  head/databases/rubygem-gdbm/
  head/databases/rubygem-gdbm/Makefile
  head/databases/rubygem-gdbm/distinfo
  head/databases/rubygem-gdbm/pkg-descr
  head/databases/rubygem-gdbm/pkg-message
  head/lang/ruby24/Makefile
  head/lang/ruby24/pkg-message
  head/lang/ruby25/Makefile
  head/lang/ruby25/pkg-message
  head/mail/bsfilter/Makefile
  head/sysutils/ck4up/Makefile
Comment 9 Koichiro Iwao freebsd_committer freebsd_triage 2019-04-02 10:19:13 UTC
Committed, thanks!