[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: dd4e6e8a48ad6788722d93568eb7a0e981502e96 Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 26 18:48:59 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Aug 26 19:07:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4e6e8a dev-ruby/rbst: add github upstream metadata Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rbst/metadata.xml | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-ruby/rbst/metadata.xml b/dev-ruby/rbst/metadata.xml index 076793e3f54b..afeb8ebab6c7 100644 --- a/dev-ruby/rbst/metadata.xml +++ b/dev-ruby/rbst/metadata.xml @@ -1,8 +1,11 @@ https://www.gentoo.org/dtd/metadata.dtd";> - - mgo...@gentoo.org - Michał Górny - + +mgo...@gentoo.org +Michał Górny + + +xwmx/rbst +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 34b9c8a25981a19e84ee7137b1ca329b8787dcce Author: Hans de Graaff gentoo org> AuthorDate: Sat Aug 26 18:47:35 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Aug 26 19:07:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b9c8a2 dev-ruby/rbst: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rbst/rbst-0.6.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild index dbf9f7fa6bdb..8b44aba69e0c 100644 --- a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild +++ b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby30 ruby31 ruby32" RUBY_FAKEGEM_NAME="RbST" RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 7d53bf1795570e434f042e4c6f245a216455f989 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 4 05:53:36 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 4 10:54:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d53bf17 dev-ruby/rbst: drop 0.6.5 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rbst/rbst-0.6.5.ebuild | 51 - 1 file changed, 51 deletions(-) diff --git a/dev-ruby/rbst/rbst-0.6.5.ebuild b/dev-ruby/rbst/rbst-0.6.5.ebuild deleted file mode 100644 index 7390ccd1e168.. --- a/dev-ruby/rbst/rbst-0.6.5.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7..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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 988cc254da41f55fd5242c28d042020a6caf5c3e Author: Hans de Graaff gentoo org> AuthorDate: Fri May 20 05:10:52 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Fri May 20 05:10:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988cc254 dev-ruby/rbst: enable ruby30, ruby31 and disable ruby25 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rbst/rbst-0.6.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild index 580e897b1276..6c06ad8a4335 100644 --- a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild +++ b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -USE_RUBY="ruby25 ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_NAME="RbST" RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: cbc86ab7d3fb2afd7f0baba35b838763a02dc398 Author: Michał Górny gentoo org> AuthorDate: Wed May 18 07:14:32 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed May 18 07:36:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc86ab7 dev-ruby/rbst: Modernize, enable py3.10 & py3.11 Signed-off-by: Michał Górny gentoo.org> dev-ruby/rbst/rbst-0.6.5-r1.ebuild | 60 ++ 1 file changed, 60 insertions(+) diff --git a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild new file mode 100644 index ..580e897b1276 --- /dev/null +++ b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +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/xwmx/rbst/"; +SRC_URI=" + https://github.com/xwmx/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 + # broken by new docutils + sed -i -e '/it.*LaTeX/,/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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 840161ce0fe9192eb75bdd8edf90284dd401907c Author: Michał Górny gentoo org> AuthorDate: Fri Sep 18 09:29:00 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 18 09:38:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840161ce dev-ruby/rbst: Remove old Signed-off-by: Michał Górny gentoo.org> dev-ruby/rbst/Manifest | 1 - dev-ruby/rbst/rbst-0.5.1.ebuild | 51 - 2 files changed, 52 deletions(-) diff --git a/dev-ruby/rbst/Manifest b/dev-ruby/rbst/Manifest index 6b475f235b8..97279cd541f 100644 --- a/dev-ruby/rbst/Manifest +++ b/dev-ruby/rbst/Manifest @@ -1,2 +1 @@ -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.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild deleted file mode 100644 index d26acad50ed..000 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{3_6,3_7} ) -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -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/mocha-1.1.0:1.0 - >=dev-ruby/shoulda-3.5.0:3 - >=dev-ruby/test-unit-3.0.9:2 - )" - -# Tests are pretty much useless as they depend on very specific output -# from an unknown docutils version. -RESTRICT="test" - -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 - - # force our python version - sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die - python_fix_shebang lib/rst2parts -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: e6c791da83926c82871cdf301bbdf18bb7a4d3f8 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 10 13:23:29 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 10 13:24:16 2020 + 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 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 000..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 2ae8ca991eb3c5ed6fde16e61a6cb9ed27399079 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 10 11:37:59 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 10 11:54:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae8ca99 dev-ruby/rbst: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-ruby/rbst/rbst-0.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index a1a9a0c1de7..d26acad50ed 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6,3_7} ) +PYTHON_COMPAT=( python{3_6,3_7} ) USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_NAME="RbST"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: b5d309f0ddca598a78ed8e7ee811bb90f923b8f9 Author: Hans de Graaff gentoo org> AuthorDate: Sun Jul 21 05:41:29 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Jul 21 05:42:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d309f0 dev-ruby/rbst: fix python eclass warnings Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-ruby/rbst/rbst-0.5.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index 63282370060..91ea2a1703a 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -19,7 +19,9 @@ SLOT="0" KEYWORDS="~amd64" IUSE="test" -RDEPEND="dev-python/docutils" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="dev-python/docutils ${PYTHON_DEPS}" DEPEND="test? ( ${RDEPEND} )" ruby_add_bdepend "
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 036211e2484288a3971e44f84281a50c7ba6c669 Author: Hans de Graaff gentoo org> AuthorDate: Fri Mar 29 10:52:04 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Mar 29 12:28:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036211e2 dev-ruby/rbst: add ruby26 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/rbst/rbst-0.5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index bf6b4137a91..a635f4e497a 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" RUBY_FAKEGEM_NAME="RbST" RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 4dcb53b7ca5c8e3951c20ccc21798eb8ce3b24b6 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 9 06:37:31 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 9 14:31:13 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dcb53b7 dev-ruby/rbst: add ruby25 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/rbst/rbst-0.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index 845a17891ac..bf6b4137a91 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) -USE_RUBY="ruby22 ruby23 ruby24" +USE_RUBY="ruby23 ruby24 ruby25" RUBY_FAKEGEM_NAME="RbST" RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: 68c01c6b03212a9de2c73d9e38bdf58ef749743c Author: Michał Górny gentoo org> AuthorDate: Mon Jul 23 09:00:34 2018 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 23 09:25:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c01c6b dev-ruby/rbst: Fix ruby deps dev-ruby/rbst/rbst-0.5.1.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index 47d5cfc57ee..351600709f7 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -20,9 +20,10 @@ KEYWORDS="~amd64" IUSE="test" RDEPEND="dev-python/docutils" -DEPEND=" +DEPEND="test? ( ${RDEPEND} )" + +ruby_add_bdepend " test? ( - ${RDEPEND} >=dev-ruby/mocha-1.1.0:1.0 >=dev-ruby/shoulda-3.5.0:3 >=dev-ruby/test-unit-3.0.9:2
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: bcbe2bbf22f1c0f7e3c86a68b4dd773abfd31ad6 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 23 09:00:50 2018 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 23 09:25:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbe2bbf dev-ruby/rbst: Support py3.7 dev-ruby/rbst/rbst-0.5.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild index 351600709f7..845a17891ac 100644 --- a/dev-ruby/rbst/rbst-0.5.1.ebuild +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_NAME="RbST"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/
commit: cd15175312f40cc9b8e7adfeadc9052cb496f53a Author: Michał Górny gentoo org> AuthorDate: Mon Oct 9 19:41:02 2017 + Commit: Michał Górny gentoo org> CommitDate: Mon Oct 9 19:43:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd151753 dev-ruby/rbst: New package dev-ruby/rbst/Manifest | 1 + dev-ruby/rbst/metadata.xml | 8 +++ dev-ruby/rbst/rbst-0.5.1.ebuild | 48 + 3 files changed, 57 insertions(+) diff --git a/dev-ruby/rbst/Manifest b/dev-ruby/rbst/Manifest new file mode 100644 index 000..1f6e7cf5d9b --- /dev/null +++ b/dev-ruby/rbst/Manifest @@ -0,0 +1 @@ +DIST rbst-0.5.1.tar.gz 14039 SHA256 95d8ba25bde6c16e0565f480b377c9377168af889c32a90b0a55dd46cf74f547 SHA512 a7fffc1ccf495c1858d6d9fadd38a4d6a2c27a2da8eda8dad038f4ab881f4521223a35f97d4018d25b32c2621132a623040ba930494b36e1385356ecb87fecdc WHIRLPOOL d31d1742f9e998388da6d0f763ed558596b5a84cc1ae66ae296d45a26add0fefefb92b571d32cede481d28a2a3ac8eabf91cd1dc9bcc907d20bf9b9b604bd994 diff --git a/dev-ruby/rbst/metadata.xml b/dev-ruby/rbst/metadata.xml new file mode 100644 index 000..0319eec4c8b --- /dev/null +++ b/dev-ruby/rbst/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + mgo...@gentoo.org + Michał Górny + + diff --git a/dev-ruby/rbst/rbst-0.5.1.ebuild b/dev-ruby/rbst/rbst-0.5.1.ebuild new file mode 100644 index 000..47d5cfc57ee --- /dev/null +++ b/dev-ruby/rbst/rbst-0.5.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +USE_RUBY="ruby22 ruby23 ruby24" + +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" + +RDEPEND="dev-python/docutils" +DEPEND=" + test? ( + ${RDEPEND} + >=dev-ruby/mocha-1.1.0:1.0 + >=dev-ruby/shoulda-3.5.0:3 + >=dev-ruby/test-unit-3.0.9:2 + )" + +# Tests are pretty much useless as they depend on very specific output +# from an unknown docutils version. +RESTRICT="test" + +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 + + # force our python version + sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die + python_fix_shebang lib/rst2parts +}