public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/pygments_rb: pygments_rb-0.6.2.ebuild ChangeLog
@ 2015-01-29 21:04 Manuel Rueger (mrueg)
  0 siblings, 0 replies; only message in thread
From: Manuel Rueger (mrueg) @ 2015-01-29 21:04 UTC (permalink / raw
  To: gentoo-commits

mrueg       15/01/29 21:04:49

  Modified:             ChangeLog
  Added:                pygments_rb-0.6.2.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.8                  dev-ruby/pygments_rb/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	15 Nov 2014 07:42:45 -0000	1.7
+++ ChangeLog	29 Jan 2015 21:04:49 -0000	1.8
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/pygments_rb
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v 1.7 2014/11/15 07:42:45 graaff Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v 1.8 2015/01/29 21:04:49 mrueg Exp $
+
+*pygments_rb-0.6.2 (29 Jan 2015)
+
+  29 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +pygments_rb-0.6.2.ebuild:
+  Version bump.
 
   15 Nov 2014; Hans de Graaff <graaff@gentoo.org> pygments_rb-0.6.0-r2.ebuild:
   Avoid unneeded dependency on git, fixing bug 529226.



1.1                  dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild?rev=1.1&content-type=text/plain

Index: pygments_rb-0.6.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild,v 1.1 2015/01/29 21:04:49 mrueg Exp $

EAPI=5

USE_RUBY="ruby19 ruby20 ruby21"
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"
IUSE=""
REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}"

RUBY_S="${MY_P}"

RDEPEND+=" dev-python/pygments[${PYTHON_USEDEP}]
	dev-python/simplejson[${PYTHON_USEDEP}]"
DEPEND+=" test? ( ${RDEPEND} )"

ruby_add_rdepend ">=dev-ruby/yajl-ruby-1.1
	dev-ruby/posix-spawn"
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/~> 1.1.0/~> 1.1/' -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
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-29 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 21:04 [gentoo-commits] gentoo-x86 commit in dev-ruby/pygments_rb: pygments_rb-0.6.2.ebuild ChangeLog Manuel Rueger (mrueg)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox