public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Daisuke Fujimura <booleanlabel@gmail.com>
To: cygwin-apps@cygwin.com
Subject: [ITA] rubygems 3.4.12
Date: Fri, 14 Apr 2023 21:55:23 +0900	[thread overview]
Message-ID: <CAA3frXQPq8DopGowV=0+PE_563d3rc783arXCHh6Nxr9N-s-Xg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Hello,

====

Cygportfile:
- https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=tree;h=refs/heads/rubygems;hb=refs/heads/rubygems

Packages, logs:
- https://github.com/cygwin/scallywag/actions/runs/4698944134

[-- Attachment #2: rubygems.cygport.diff --]
[-- Type: application/octet-stream, Size: 1489 bytes --]

--- cygport-rubygems/rubygems.cygport	2023-04-13 21:58:12
+++ playground-rubygems/rubygems.cygport	2023-04-14 19:37:10
@@ -1,16 +1,18 @@
 inherit ruby
 
 NAME="rubygems"
-VERSION=3.0.3
+VERSION=3.4.12
 RELEASE=1
 CATEGORY="Ruby"
 SUMMARY="Ruby module management system"
 DESCRIPTION="A centralized Ruby extension management system, similar to Perl's CPAN"
-HOMEPAGE="http://rubygems.org/"
-SRC_URI="http://production.cf.rubygems.org/rubygems/${NAME}-${VERSION}.tgz"
+HOMEPAGE="https://rubygems.org/"
+SRC_URI="https://github.com/rubygems/rubygems/archive/refs/tags/v${VERSION}.tar.gz"
 SRC_URI+=" operating_system.rb"
 PATCH_URI="2.4.1-cygwin.patch"
 
+LICENSE="MIT"
+
 ARCH=noarch
 
 PKG_NAMES="${NAME} ${NAME}-doc"
@@ -18,7 +20,6 @@
 rubygems_CONTENTS="usr/bin/gem usr/share/doc/ usr/share/rubygems/"
 rubygems_doc_CONTENTS="usr/share/gems/doc/"
 
-DIFF_EXCLUDES="bundler.gemspec"
 DEPS_PATH="/usr/share/rubygems"
 
 CYGPORT_USE_UNSTABLE_API=1
@@ -39,9 +40,16 @@
 
 	# bundler is now a default part of ruby
 	rm -f ${D}/usr/bin/bundle*
+	rm -fr ${D}/usr/share/gems/gems/bundler-*/
 	rm -f ${D}/usr/share/gems/specifications/default/bundler-*.gemspec
-	rm -fr ${D}${D}/usr/share/gems/specifications/gems/bundler-*/
+	rm -fr ${D}/usr/share/gems/specifications/gems/bundler-*/
 	rm -fr ${D}/usr/share/rubygems/bundler*
 
+	# remove generated files
+	for b in ${D}/usr/bin/*
+	do
+		[ `basename ${b}` != "gem" ] && rm -f ${b}
+	done
+
 	rm -fr ${D}/usr/share/rubygems/rubygems/ssl_certs/
 }

             reply	other threads:[~2023-04-14 12:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 12:55 Daisuke Fujimura [this message]
2023-04-15 17:40 ` Marco Atzeri
2023-04-15 18:20 ` Jon Turney
2023-04-16  1:30   ` Daisuke Fujimura
2023-04-17 10:28     ` Daisuke Fujimura
2023-04-17 10:40       ` Jon Turney
2023-04-17 11:29         ` Daisuke Fujimura
2023-04-17 16:22           ` Brian Inglis
2023-04-17 22:48             ` Daisuke Fujimura

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA3frXQPq8DopGowV=0+PE_563d3rc783arXCHh6Nxr9N-s-Xg@mail.gmail.com' \
    --to=booleanlabel@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).