summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-10-06 10:38:19 +0200
committerHans de Graaff <graaff@gentoo.org>2023-10-06 10:49:10 +0200
commit590699731ad3b74b94e3c301f2e113efb46f7994 (patch)
treeffb7e886b347634ecc92ca319cb39b4eb1a86a1a /dev-ruby/rack-session
parentdev-lang/erlang: add dev-libs/libei blocker (diff)
downloadgentoo-590699731ad3b74b94e3c301f2e113efb46f7994.tar.gz
gentoo-590699731ad3b74b94e3c301f2e113efb46f7994.tar.bz2
gentoo-590699731ad3b74b94e3c301f2e113efb46f7994.zip
dev-ruby/rack-session: new package, add 1.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rack-session')
-rw-r--r--dev-ruby/rack-session/Manifest1
-rw-r--r--dev-ruby/rack-session/metadata.xml12
-rw-r--r--dev-ruby/rack-session/rack-session-1.0.1.ebuild32
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/rack-session/Manifest b/dev-ruby/rack-session/Manifest
new file mode 100644
index 000000000000..91a73607ec8f
--- /dev/null
+++ b/dev-ruby/rack-session/Manifest
@@ -0,0 +1 @@
+DIST rack-session-1.0.1.tar.gz 3120 BLAKE2B a36fefd25da9bbab26a58419782baf7606171fcdf9d033b3abb52ee225f5bd3f8b52d18c11947cceae8f00f278c832412b3babb8c2d7088f2a6554dcb0293689 SHA512 fa8362689cd49d55e24c82699eca9a45dd408b5e8978f6aee11f3f107e8d0a1f36ad319f4dd92e4fe5fd83e985382a43c41a353e9366d03b41f28e826d65483f
diff --git a/dev-ruby/rack-session/metadata.xml b/dev-ruby/rack-session/metadata.xml
new file mode 100644
index 000000000000..f90b9e380825
--- /dev/null
+++ b/dev-ruby/rack-session/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rack/rack-session</remote-id>
+ <remote-id type="rubygems">rack-session</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/rack-session/rack-session-1.0.1.ebuild b/dev-ruby/rack-session/rack-session-1.0.1.ebuild
new file mode 100644
index 000000000000..e4c7e12f1dbb
--- /dev/null
+++ b/dev-ruby/rack-session/rack-session-1.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="rack-session.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A session implementation for Rack"
+HOMEPAGE="https://github.com/rack/rack-session"
+SRC_URI="https://github.com/rack/rack-session/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "<dev-ruby/rack-3"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest:5
+ dev-ruby/minitest-global_expectations
+)"
+
+all_ruby_prepare() {
+ sed -e 's:_relative ": "./:' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}