Coder Social home page Coder Social logo

Comments (11)

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 28, 2024

as things are now none of the contribution mac users have the time

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 28, 2024

@c-bata would you be interested in maintaining one?

from pipsi.

c-bata avatar c-bata commented on June 28, 2024

Okay! I'll give it a try.

from pipsi.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 28, 2024

@c-bata could you perhaps refer a homebrew issue/PR retarding this topic, or close the issue?

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

It would be easy if pipsi were in PyPi, because then you could use pypi_homebrew_poet

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

Oops, it is in PyPi.... Is it up to date? Yes, 0.9 in homebrew and on GH. Many commits to master since then? Nope just a few....

I'll see if I can whip up a quick Homebrew PR.... I need to create two other small ones soon anyway

Here is the poet output:

class Pipsi < Formula
  homepage "http://github.com/mitsuhiko/pipsi/"
  url "https://pypi.python.org/packages/source/p/pipsi/pipsi-0.9.tar.gz"
  sha256 "688b688cc8a7a76612c0d4d1839aaef98ece8382d4382b9d8b6f0caa65f0ed34"

  depends_on :python if MacOS.version <= :snow_leopard

  resource "click" do
    url "https://pypi.python.org/packages/source/c/click/click-6.2.tar.gz"
    sha256 "fba0ff70f5ebb4cebbf64c40a8fbc222fb7cf825237241e548354dabe3da6a82"
  end

  resource "virtualenv" do
    url "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-13.0.3.tar.gz"
    sha256 "355e46928c2b00b83b7d00d70d5adc529e9c2fe1f366b07e8a1b49cd8c5bd1b9"
  end

  def install
    ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
    %w[click virtualenv].each do |r|
      resource(r).stage do
        system "python", *Language::Python.setup_install_args(libexec/"vendor")
      end
    end

    ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
    system "python", *Language::Python.setup_install_args(libexec)

    bin.install Dir[libexec/"bin/*"]
    bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
  end
end

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

The biggest issue will be the test do block and finding a suitable test for this...

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

Homebrew/legacy-homebrew#49043 😎 🍻

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

Ah yes, I forgot that, generally, the Homebrew folks don't like self upgrading packages... See Homebrew/legacy-homebrew#49043 (comment) I'm not sure how this will play out, whether or not they will accept the formula.

from pipsi.

zbeekman avatar zbeekman commented on June 28, 2024

Hi guys, got some more feedback from the Homebrew maintainers and tried my hand at implementing a test do block. This runs fine on my local machine, but fails mysteriously when run with Homebrew's CI and deployment Jenkins tests. Would someone mind taking a look at the errors? http://bot.brew.sh/job/Homebrew%20Pull%20Requests/42112/

from pipsi.

c-bata avatar c-bata commented on June 28, 2024

Sorry, I didn't do anything. closing this.

from pipsi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.