[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: dc4a842f17f4fc911626952a72771ed435c45480 Author: Sam James gentoo org> AuthorDate: Mon Jul 27 02:04:41 2020 + Commit: Sam James gentoo org> CommitDate: Mon Jul 27 02:04:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4a842f dev-ruby/pygments_rb: arm64 keyworded (bug #733784) Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 23f29330119..c8555134648 100644 --- a/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild @@ -22,7 +22,7 @@ HOMEPAGE="https://github.com/tmm1/pygments.rb; LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="" REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 6f5fc2c6210fc7a5b12b1367cf12a9cd14d94732 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 7 12:59:01 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 9 16:18:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5fc2c6 dev-ruby/pygments_rb: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny gentoo.org> .../{pygments_rb-1.2.1.ebuild => pygments_rb-1.2.1-r1.ebuild} | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild similarity index 89% rename from dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild rename to dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild index 1e51b2fb94b..23f29330119 100644 --- a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,8 +30,10 @@ RUBY_S="${MY_P}" RDEPEND+=" ${PYTHON_DEPS} - >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}]" + $(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"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 546b6e4f15b6782884ed90b2d249f610d068d5f6 Author: Hans de Graaff gentoo org> AuthorDate: Wed May 22 07:00:45 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Wed May 22 17:20:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546b6e4f dev-ruby/pygments_rb: add ruby26 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild index 6dff83c2e59..1e51b2fb94b 100644 --- a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.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 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" PYTHON_COMPAT=( python2_7 ) RUBY_FAKEGEM_NAME="pygments.rb"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 7e02589e44720ee7b12346d3b5e31a62bfd55c72 Author: Hans de Graaff gentoo org> AuthorDate: Fri Dec 21 06:33:39 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Dec 21 06:33:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e02589e dev-ruby/pygments_rb: cleanup Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ruby/pygments_rb/Manifest | 1 - dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild | 62 --- 2 files changed, 63 deletions(-) diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest index 8083ec0777d..3b91e511cee 100644 --- a/dev-ruby/pygments_rb/Manifest +++ b/dev-ruby/pygments_rb/Manifest @@ -1,2 +1 @@ -DIST pygments.rb-1.1.2.gem 1169920 BLAKE2B 3a864349dfb93f0a54cbe31c21afc1a8a4123f7e1e8e498f92ee19a6367d4dad318e07cd78d6e9aa74834c77e4e0bd6e9c8f12519e0ca2ef104099bc3960e0d5 SHA512 dee41bf20142b6a63396504b734c183049f84629e7a943bfb361458f6f8d55e9f84ac6c28bac069d839c519eaf562bd73c74e422ebaf750a7430690a8fad043c DIST pygments.rb-1.2.1.gem 1176064 BLAKE2B 7a6651606a433a9f15853ee06c3fe9a02d266f9441a08cc92c0db4ba679a97a2a25aaa4e96a621fbda0553e9b0c995ce53c6f828793f4937de12b3089f12963c SHA512 f0fc63ec028169872e28e2181c6a10c8a3f5e7f07074ba9f43475a0b5aa403a03d7045abb03433b600ef3d74c460556355b4ee64be598d3b93ddb1e0bb306259 diff --git a/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild deleted file mode 100644 index 13870c620f0..000 --- a/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby21 ruby22 ruby23 ruby24" -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+=" - ${PYTHON_DEPS} - >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 897ef7e3137ed9e37cadf317a2ff6a21c32c0c80 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 9 06:42:16 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 9 14:31:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897ef7e3 dev-ruby/pygments_rb: add ruby25 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild index 0f9ba513dcd..6dff83c2e59 100644 --- a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24" +USE_RUBY="ruby23 ruby24 ruby25" PYTHON_COMPAT=( python2_7 ) RUBY_FAKEGEM_NAME="pygments.rb"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: a8ee3e2c4e7439baab11db9f6f7518da6390dc66 Author: Hans de Graaff gentoo org> AuthorDate: Thu Feb 8 06:20:38 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Feb 8 06:25:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ee3e2c dev-ruby/pygments_rb: add 1.2.1 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-ruby/pygments_rb/Manifest | 1 + dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild | 62 +++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest index 6083750717d..8083ec0777d 100644 --- a/dev-ruby/pygments_rb/Manifest +++ b/dev-ruby/pygments_rb/Manifest @@ -1 +1,2 @@ DIST pygments.rb-1.1.2.gem 1169920 BLAKE2B 3a864349dfb93f0a54cbe31c21afc1a8a4123f7e1e8e498f92ee19a6367d4dad318e07cd78d6e9aa74834c77e4e0bd6e9c8f12519e0ca2ef104099bc3960e0d5 SHA512 dee41bf20142b6a63396504b734c183049f84629e7a943bfb361458f6f8d55e9f84ac6c28bac069d839c519eaf562bd73c74e422ebaf750a7430690a8fad043c +DIST pygments.rb-1.2.1.gem 1176064 BLAKE2B 7a6651606a433a9f15853ee06c3fe9a02d266f9441a08cc92c0db4ba679a97a2a25aaa4e96a621fbda0553e9b0c995ce53c6f828793f4937de12b3089f12963c SHA512 f0fc63ec028169872e28e2181c6a10c8a3f5e7f07074ba9f43475a0b5aa403a03d7045abb03433b600ef3d74c460556355b4ee64be598d3b93ddb1e0bb306259 diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild new file mode 100644 index 000..0f9ba513dcd --- /dev/null +++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" +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+=" + ${PYTHON_DEPS} + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 6a1fc396c1efdfa07c1c3531837d6178dd712ad0 Author: Hans de Graaff gentoo org> AuthorDate: Fri Aug 25 05:57:36 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Aug 25 05:57:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1fc396 dev-ruby/pygments_rb: cleanup Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/pygments_rb/Manifest | 1 - dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild | 63 --- 2 files changed, 64 deletions(-) diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest index 2d46e3359ef..1acd9fe3754 100644 --- a/dev-ruby/pygments_rb/Manifest +++ b/dev-ruby/pygments_rb/Manifest @@ -1,2 +1 @@ -DIST pygments.rb-0.6.3.gem 1892352 SHA256 d19824fe964cf10388e2852ce3ee888f3e1446c9c2cdc89a55137d8183391198 SHA512 faa9d04b0571e34d5b01cf8ac8b70a68aa3e2555d222199c0090c0b71ae4046e74fc6e64fe8fd0c327fbe9c4a4efb34a91a02dec962086e8d9f8d881bff1eff0 WHIRLPOOL 6663226ee996827dd480a326a5c55c8603d5ab159c78969a2c774a45ff302c7d0b2eb4ee12601de59fb43bac207faf9b4222f1eb017ded313721906c02709db9 DIST pygments.rb-1.1.2.gem 1169920 SHA256 55a5deed9ecba6037ac22bf27191e0073bd460f87291b2f384922e4b0d59511c SHA512 dee41bf20142b6a63396504b734c183049f84629e7a943bfb361458f6f8d55e9f84ac6c28bac069d839c519eaf562bd73c74e422ebaf750a7430690a8fad043c WHIRLPOOL 9adfa15f5cb9a2d643c860fc52a2250dfdc51c862a031d85908b81af88d5dae1622daecfaf9a9b66c829a542a53a171e806665a0dbec266f5dc5ffbb58008650 diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild deleted file mode 100644 index 2ecca4f7bb9..000 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22" -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+=" - ${PYTHON_DEPS} - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND+=" test? ( ${RDEPEND} )" - -ruby_add_rdepend ">=dev-ruby/yajl-ruby-1.2 - 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.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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: d859c0ef03d7d9bc5f68bec9550af4dfeb174059 Author: Hans de Graaff gentoo org> AuthorDate: Thu Jul 20 06:18:11 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Jul 20 06:25:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d859c0ef dev-ruby/pygments_rb: add 1.1.2, bug 620462 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ruby/pygments_rb/Manifest | 1 + dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild | 62 +++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest index 8397c6865c8..2d46e3359ef 100644 --- a/dev-ruby/pygments_rb/Manifest +++ b/dev-ruby/pygments_rb/Manifest @@ -1 +1,2 @@ DIST pygments.rb-0.6.3.gem 1892352 SHA256 d19824fe964cf10388e2852ce3ee888f3e1446c9c2cdc89a55137d8183391198 SHA512 faa9d04b0571e34d5b01cf8ac8b70a68aa3e2555d222199c0090c0b71ae4046e74fc6e64fe8fd0c327fbe9c4a4efb34a91a02dec962086e8d9f8d881bff1eff0 WHIRLPOOL 6663226ee996827dd480a326a5c55c8603d5ab159c78969a2c774a45ff302c7d0b2eb4ee12601de59fb43bac207faf9b4222f1eb017ded313721906c02709db9 +DIST pygments.rb-1.1.2.gem 1169920 SHA256 55a5deed9ecba6037ac22bf27191e0073bd460f87291b2f384922e4b0d59511c SHA512 dee41bf20142b6a63396504b734c183049f84629e7a943bfb361458f6f8d55e9f84ac6c28bac069d839c519eaf562bd73c74e422ebaf750a7430690a8fad043c WHIRLPOOL 9adfa15f5cb9a2d643c860fc52a2250dfdc51c862a031d85908b81af88d5dae1622daecfaf9a9b66c829a542a53a171e806665a0dbec266f5dc5ffbb58008650 diff --git a/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild new file mode 100644 index 000..13870c620f0 --- /dev/null +++ b/dev-ruby/pygments_rb/pygments_rb-1.1.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" +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+=" + ${PYTHON_DEPS} + >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: c49fea692146e2d459b1c80f65624ecf7cf9792f Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 21 04:41:57 2017 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 21 04:41:57 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c49fea69 dev-ruby/pygments_rb: cleanup Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/pygments_rb/Manifest | 1 - dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild | 63 --- 2 files changed, 64 deletions(-) diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest index 256b2c5c483..8397c6865c8 100644 --- a/dev-ruby/pygments_rb/Manifest +++ b/dev-ruby/pygments_rb/Manifest @@ -1,2 +1 @@ -DIST pygments.rb-0.6.2.gem 1892352 SHA256 f4a1743be41a14f1f7ce63e03acefb9c6fabf7261c296b001191e0800f56e032 SHA512 8fd2da56d669882fa6b73073f02371ed7f9523ae115dd66bd77f2ed1d2e0abe5336e52d94fd92e85a55d813d163b0a6615233c2b27d16b5d089e0f97a2647d9c WHIRLPOOL 4caecb6182dcc712f2cdeded83bb734db7c5f988b70c0e87dd63c09ab0e75877cd780f4c5d1d64f751ca0fe3f0d8794e6f27d16a72fdfe4f1724312a705f6f12 DIST pygments.rb-0.6.3.gem 1892352 SHA256 d19824fe964cf10388e2852ce3ee888f3e1446c9c2cdc89a55137d8183391198 SHA512 faa9d04b0571e34d5b01cf8ac8b70a68aa3e2555d222199c0090c0b71ae4046e74fc6e64fe8fd0c327fbe9c4a4efb34a91a02dec962086e8d9f8d881bff1eff0 WHIRLPOOL 6663226ee996827dd480a326a5c55c8603d5ab159c78969a2c774a45ff302c7d0b2eb4ee12601de59fb43bac207faf9b4222f1eb017ded313721906c02709db9 diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild deleted file mode 100644 index 6c6e885b3ee..000 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="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+=" - ${PYTHON_DEPS} - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}]" -DEPEND+=" test? ( ${RDEPEND} )" - -ruby_add_rdepend ">=dev-ruby/yajl-ruby-1.2 - 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 285945852e700275d244d1dfd68639b27e8faf8f Author: David Seifert gentoo org> AuthorDate: Thu Apr 20 19:57:28 2017 + Commit: David Seifert gentoo org> CommitDate: Thu Apr 20 20:46:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28594585 dev-ruby/pygments_rb: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild | 6 -- dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild | 6 -- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild index d4e3e1c297c..6c6e885b3ee 100644 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,7 +28,9 @@ REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}" RUBY_S="${MY_P}" -RDEPEND+=" dev-python/pygments[${PYTHON_USEDEP}] +RDEPEND+=" + ${PYTHON_DEPS} + dev-python/pygments[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}]" DEPEND+=" test? ( ${RDEPEND} )" diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild index 2b5ee24c2c2..2ecca4f7bb9 100644 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,7 +28,9 @@ REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}" RUBY_S="${MY_P}" -RDEPEND+=" dev-python/pygments[${PYTHON_USEDEP}] +RDEPEND+=" + ${PYTHON_DEPS} + dev-python/pygments[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}]" DEPEND+=" test? ( ${RDEPEND} )"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pygments_rb/
commit: 61d8f530c55ec5b25483f2eac7cc0fdf2189dc79 Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 19 21:50:48 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 19 21:50:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d8f530 dev-ruby/pygments_rb: Remove ruby19 Package-Manager: portage-2.2.28 dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild | 4 ++-- dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild index 6114806..d9498a8 100644 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-0.6.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21" +USE_RUBY="ruby20 ruby21" PYTHON_COMPAT=( python2_7 ) RUBY_FAKEGEM_NAME="pygments.rb" diff --git a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild index d50ffbc..24a10ba 100644 --- a/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild +++ b/dev-ruby/pygments_rb/pygments_rb-0.6.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21 ruby22" +USE_RUBY="ruby20 ruby21 ruby22" PYTHON_COMPAT=( python2_7 ) RUBY_FAKEGEM_NAME="pygments.rb"