summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-09-04 07:53:36 +0200
committerHans de Graaff <graaff@gentoo.org>2022-09-04 12:54:14 +0200
commit7d53bf1795570e434f042e4c6f245a216455f989 (patch)
treea0be7defe3d3c15810865d4984a8fd934548d8ae
parentdev-ruby/rails-html-sanitizer: drop 1.4.2 (diff)
downloadgentoo-7d53bf1795570e434f042e4c6f245a216455f989.tar.gz
gentoo-7d53bf1795570e434f042e4c6f245a216455f989.tar.bz2
gentoo-7d53bf1795570e434f042e4c6f245a216455f989.zip
dev-ruby/rbst: drop 0.6.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rbst/rbst-0.6.5.ebuild51
1 files changed, 0 insertions, 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..000000000000
--- 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
-}