public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
Date: Mon, 10 Aug 2020 13:24:19 +0000 (UTC)	[thread overview]
Message-ID: <1597065856.e6c791da83926c82871cdf301bbdf18bb7a4d3f8.mgorny@gentoo> (raw)

commit:     e6c791da83926c82871cdf301bbdf18bb7a4d3f8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 13:23:29 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 13:24:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c791da

dev-ruby/rbst: Bump to 0.6.5

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ruby/rbst/Manifest          |  1 +
 dev-ruby/rbst/rbst-0.6.5.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-ruby/rbst/Manifest b/dev-ruby/rbst/Manifest
index 178c9b36d7e..6b475f235b8 100644
--- a/dev-ruby/rbst/Manifest
+++ b/dev-ruby/rbst/Manifest
@@ -1 +1,2 @@
 DIST rbst-0.5.1.tar.gz 14039 BLAKE2B 7399e92f98c650842464ea9240775ad776ec8d574c578d8da764778bbe8050be429e2521df82b3b04a0bf9cd18bef4f114890d54ef8d6f34c797f0f2f2e35bc2 SHA512 a7fffc1ccf495c1858d6d9fadd38a4d6a2c27a2da8eda8dad038f4ab881f4521223a35f97d4018d25b32c2621132a623040ba930494b36e1385356ecb87fecdc
+DIST rbst-0.6.5.tar.gz 15760 BLAKE2B 3bace4401c8c92eba286f242c1e074aa833094c21e4b00bfa2eee982ad8cbb94024dda2210eb1c72ab88293b1a63a62a5bdeafde2615b0430bd0a7cc21ced14c SHA512 2d4a28c70a4925e1ffe0cd2ff10c275f67cae4a918c1064bd73cb8e7e490be251acff09670d78fef1edeb1a7dab8995aa0b4737563a0797ff66c0fee3f89bba2

diff --git a/dev-ruby/rbst/rbst-0.6.5.ebuild b/dev-ruby/rbst/rbst-0.6.5.ebuild
new file mode 100644
index 00000000000..4dd5c2e9ee6
--- /dev/null
+++ b/dev-ruby/rbst/rbst-0.6.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_NAME="RbST"
+RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
+
+inherit python-single-r1 ruby-fakegem
+
+DESCRIPTION="A simple Ruby wrapper for processing rST via docutils"
+HOMEPAGE="https://github.com/alphabetum/rbst"
+SRC_URI="https://github.com/alphabetum/rbst/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	dev-python/docutils
+	${PYTHON_DEPS}"
+DEPEND="
+	test? ( ${RDEPEND} )"
+
+ruby_add_bdepend "
+	test? (
+		>=dev-ruby/minitest-5.14.0:5
+		>=dev-ruby/mocha-1.1.0:1.0
+	)"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	ruby-ng_pkg_setup
+}
+
+all_ruby_prepare() {
+	# do not use bundler
+	sed -i -e '/bundler/,/end/d' \
+		Rakefile test/helper.rb || die
+	# do not use python2
+	sed -i -e '/python2/,/end/d' \
+		test/test_rbst.rb || die
+
+	# force our python version
+	sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die
+	python_fix_shebang lib/rst2parts
+}


             reply	other threads:[~2020-08-10 13:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 13:24 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-02 10:48 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/ Hans de Graaff
2024-11-03  9:12 Hans de Graaff
2023-08-26 19:07 Hans de Graaff
2023-08-26 19:07 Hans de Graaff
2022-09-04 10:54 Hans de Graaff
2022-05-20  5:47 Hans de Graaff
2022-05-18  7:36 Michał Górny
2020-09-18  9:38 Michał Górny
2020-02-10 11:54 Michał Górny
2019-07-21  5:43 Hans de Graaff
2019-03-29 12:28 Hans de Graaff
2018-09-09 14:32 Hans de Graaff
2018-07-23  9:25 Michał Górny
2018-07-23  9:25 Michał Górny
2017-10-09 19:43 Michał Górny

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=1597065856.e6c791da83926c82871cdf301bbdf18bb7a4d3f8.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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