diff --git a/.gitlint b/.gitlint new file mode 100755 index 0000000..89a3f32 --- /dev/null +++ b/.gitlint @@ -0,0 +1,5 @@ +#!/usr/bin/env -S gitlint -C +[ignore-by-title] +regex=.* +ignore=body-is-missing +# ex: filetype=dosini diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100755 index 0000000..879381e --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,10 @@ +#!/usr/bin/env -S rubocop -c +--- +StringLiterals: + EnforcedStyle: double_quotes +Layout/LineLength: + Max: 118 +Style/FrozenStringLiteralComment: + Exclude: "*.rb" +Style/Documentation: + Exclude: "*.rb" diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100755 index 0000000..6c83761 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,8 @@ +#!/usr/bin/env -S yamllint -c +--- +extends: default + +rules: + comments: + # https://github.com/prettier/prettier/issues/6780 + min-spaces-from-content: 1 diff --git a/docs/resources/install.md b/docs/resources/install.md index 6737be0..f7b97ae 100644 --- a/docs/resources/install.md +++ b/docs/resources/install.md @@ -70,7 +70,9 @@ TODO - Any Linux distributions with linuxbrew - macOS with homebrew -TODO +```sh +brew install https://github.com/nachifur/MulimgViewer/blob/master/python-mulimgviewer.rb +``` ## Windows exe diff --git a/python-mulimgviewer.rb b/python-mulimgviewer.rb new file mode 100644 index 0000000..4478f98 --- /dev/null +++ b/python-mulimgviewer.rb @@ -0,0 +1,27 @@ +class PythonMulimgviewer < Formula + include Language::Python::Virtualenv + + desc "A multi-image viewer that can open multiple images in one interface" + homepage "https://mulimgviewer.readthedocs.io/" + url "https://files.pythonhosted.org/packages/source/m/mulimgviewer/mulimgviewer-3.9.10.tar.gz" + sha256 "b2b060a27effcab6ef57a9b4126ebb8a203528ba3a6f641326337bf3a6d921c9" + license "GPLv3" + head "https://github.com/nachifur/MulimgViewer", branch: "master" + depends_on "python@3.11" + depends_on "wxpython" + depends_on "pillow" + + resource "piexif" do + url "https://github.com/hMatoba/Piexif/archive/1.0.13.tar.gz" + sha256 "66278d77ffa8fc816736104bc8bf5d26ac95cb8b9b3420e17f6d6d9a475e1e43" + end + + resource "requests" do + url "https://github.com/psf/requests/archive/v2.28.2/python-requests-2.28.2.tar.gz" + sha256 "375d6bb6b73af27c69487dcf1df51659a8ee7428420caff21253825fb338ce10" + end + + def install + virtualenv_install_with_resources + end +end