Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any homebrew formula for it #80

Open
murarisumit opened this issue May 6, 2020 · 7 comments
Open

Is there any homebrew formula for it #80

murarisumit opened this issue May 6, 2020 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@murarisumit
Copy link

I don't see any homebrew formula for gita, do we have any plans to have homebrew formula for it.

I can work on it, thought of confirming before I start on it.

@nosarthur
Copy link
Owner

I don't use homebrew often. What's the advantage over

pip install -U gita?

@murarisumit
Copy link
Author

@nosarthur so haven't personally worked on homebrew formula for python applications, but from user point of view, i find homebrew like apt for mac which makes it easy to list/install/upgrade packages for my system independent of languages.

@nosarthur
Copy link
Owner

I see. I haven't thought about generating a homebrew formula.

Please feel free to create it. Thanks for your help!

@dzhou-schrodinger
Copy link
Contributor

Hi, @murarisumit
When you finish, please update the README.md to include the brew install gita command, thanks!

@murarisumit
Copy link
Author

Ah, thanks @nosarthur, will create and update readme. Thanks for comment

@nosarthur nosarthur added the help wanted Extra attention is needed label Jun 28, 2021
@jeebak
Copy link

jeebak commented Nov 4, 2022

@murarisumit I was curious about this so I did a little research. Using brew edit black as an example, and this resource: https://docs.brew.sh/Python-for-Formula-Authors the following minimal brew formula seems to be working:

class Gita < Formula
  include Language::Python::Virtualenv

  desc "Manage many git repos with sanity 从容管理多个git库"
  homepage "https://github.com/nosarthur/gita"
  url "https://github.com/nosarthur/gita/archive/refs/tags/v0.16.2.tar.gz"
  sha256 "a292ac7e7dbf36959e9a0e349a2a672a480dfe5dab03d87b53fc552ee070a2af"
  license "MIT"
  head "https://github.com/nosarthur/gita.git", branch: "master"

  depends_on "[email protected]"

  def install
    virtualenv_install_with_resources
  end

  test do
    system "false"
  end
end

EDIT: bumped version down to [email protected] based on #80 (comment)

@nosarthur
Copy link
Owner

maybe instead of 3.10, use 3.6? or from 3.6 to 3.9? I actually know 3.10 doesn't work due to the async library API change, #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants