diff options
author | Hans de Graaff <hans@degraaff.org> | 2023-10-02 07:36:16 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2023-10-02 07:36:16 +0200 |
commit | 02daf34dbe761b4c3caf7a6efefc2d47c26d707b (patch) | |
tree | 82efa0036c4c5513033c235484ca05dc7766c170 /dev-util/mdl | |
parent | dev-ruby/rubocop-rails: add 2.21.2 (diff) | |
download | graaff-02daf34dbe761b4c3caf7a6efefc2d47c26d707b.tar.gz graaff-02daf34dbe761b4c3caf7a6efefc2d47c26d707b.tar.bz2 graaff-02daf34dbe761b4c3caf7a6efefc2d47c26d707b.zip |
dev-util/mdl: add 0.13.0
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'dev-util/mdl')
-rw-r--r-- | dev-util/mdl/Manifest | 1 | ||||
-rw-r--r-- | dev-util/mdl/mdl-0.13.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/mdl/Manifest b/dev-util/mdl/Manifest index 6b4f85de..0283a4e8 100644 --- a/dev-util/mdl/Manifest +++ b/dev-util/mdl/Manifest @@ -1 +1,2 @@ DIST mdl-0.12.0.tar.gz 63127 BLAKE2B 9114b99c1cbb12250af682fa1431b8e01c45bc668916827214ab35c6f89dbb3e374798ef0a300f9979c89015ce277eb5f91f76fa471638fd126fcc1987070380 SHA512 9045ebf6fe2f1981f79f791d231f0aff1c952403575566ab454157e8181df799f6cbb1cc4e1611e58b0f656f8b37490e023affe5ef738168563f78e3a38ac607 +DIST mdl-0.13.0.tar.gz 68932 BLAKE2B 0e8d5579ed79d022932bc8a8e12c14856b5bbd793c46907d9f0fc2b4d8a670646b93252e7ce1a720ea7499c7afdde1ce076d9ad0710525b487d9aec23eb2d484 SHA512 2bb855b4ccae50becb212dc4ee1ae887db756000d92a0d2dacf3d7191d684cadf2a1d541677f2c71f8de55567a73a8ad8018cb199d4db4c89515468063812b69 diff --git a/dev-util/mdl/mdl-0.13.0.ebuild b/dev-util/mdl/mdl-0.13.0.ebuild new file mode 100644 index 00000000..e8012565 --- /dev/null +++ b/dev-util/mdl/mdl-0.13.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="mdl.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Style checker/lint tool for markdown files" +HOMEPAGE="https://github.com/markdownlint/markdownlint" +SRC_URI="https://github.com/markdownlint/markdownlint/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="markdownlint-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/kramdown-2.3:2 + >=dev-ruby/kramdown-parser-gfm-1.1:1 + >=dev-ruby/mixlib-cli-2.1.1:0 + >=dev-ruby/mixlib-config-2.2.1:0 + dev-ruby/mixlib-shellout +" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile test/setup_tests.rb || die + sed -i -e '3igem "kramdown-parser-gfm", "~> 1.0"' test/setup_tests.rb || die + + # Throws errors and probably needs a more elaborate environment setup + rm -f test/test_cli.rb || die +} |