diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-09 09:50:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-09 09:50:08 +0200 |
commit | f6a29ee7397259ffef8c27d60729041cdf3a3a6e (patch) | |
tree | c3c52dbde646937118af3e4f360550123dab642a /dev-ruby | |
parent | dev-util/doxy-coverage: Remove last-rited pkg (diff) | |
download | gentoo-f6a29ee7397259ffef8c27d60729041cdf3a3a6e.tar.gz gentoo-f6a29ee7397259ffef8c27d60729041cdf3a3a6e.tar.bz2 gentoo-f6a29ee7397259ffef8c27d60729041cdf3a3a6e.zip |
dev-ruby/pygments_rb: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735306
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/pygments_rb/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pygments_rb/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild | 64 |
3 files changed, 0 insertions, 76 deletions
diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest deleted file mode 100644 index 3b91e511ceee..000000000000 --- a/dev-ruby/pygments_rb/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pygments.rb-1.2.1.gem 1176064 BLAKE2B 7a6651606a433a9f15853ee06c3fe9a02d266f9441a08cc92c0db4ba679a97a2a25aaa4e96a621fbda0553e9b0c995ce53c6f828793f4937de12b3089f12963c SHA512 f0fc63ec028169872e28e2181c6a10c8a3f5e7f07074ba9f43475a0b5aa403a03d7045abb03433b600ef3d74c460556355b4ee64be598d3b93ddb1e0bb306259 diff --git a/dev-ruby/pygments_rb/metadata.xml b/dev-ruby/pygments_rb/metadata.xml deleted file mode 100644 index 29c1a796cb32..000000000000 --- a/dev-ruby/pygments_rb/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://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">tmm1/pygments.rb</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild deleted file mode 100644 index c85551346487..000000000000 --- a/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25 ruby26" -PYTHON_COMPAT=( python2_7 ) - -RUBY_FAKEGEM_NAME="pygments.rb" -MY_P="${RUBY_FAKEGEM_NAME}-${PV}" - -RUBY_FAKEGEM_RECIPE_TEST="rake" -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${RUBY_FAKEGEM_NAME}.gemspec" - -inherit ruby-fakegem python-single-r1 - -DESCRIPTION="Pygments syntax highlighting in ruby" -HOMEPAGE="https://github.com/tmm1/pygments.rb" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="" -REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}" - -RUBY_S="${MY_P}" - -RDEPEND+=" - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/pygments-2.2.0[${PYTHON_MULTI_USEDEP}] - dev-python/simplejson[${PYTHON_MULTI_USEDEP}] - ')" -DEPEND+=" test? ( ${RDEPEND} )" - -ruby_add_rdepend ">=dev-ruby/multi_json-1.0.0" -ruby_add_bdepend "dev-ruby/rake-compiler" - -pkg_setup() { - ruby-ng_pkg_setup - python-single-r1_pkg_setup -} - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/d' Rakefile || die - sed -i -e '/s.files/d' pygments.rb.gemspec || die - python_fix_shebang lib/pygments/mentos.py - # we are loosing a "custom github lexer here", no idea what it is, - # but if we need it, it should go into dev-python/pygments - rm -r vendor lexers || die "removing bundled libs failed" -} - -each_ruby_compile() { - # regenerate the lexer cache, based on the system pygments pkg - ${RUBY} cache-lexers.rb || die "regenerating lexer cache failed" -} - -each_ruby_install() { - each_fakegem_install - ruby_fakegem_doins lexers -} |