Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.17 KB
class Gtimelog < Formula
include Language::Python::Virtualenv
desc "A time tracking application"
homepage "https://gtimelog.org/"
url "https://github.com/gtimelog/gtimelog/archive/0.11.3.tar.gz"
sha256 "99044c4cf9d214b588f07216c62a7ac2397c25486bb5baf18cf371a25b2d4527"
depends_on "pkg-config" => :build
depends_on "py3cairo"
depends_on "pygobject3"
depends_on "python"
resource "Jinja2" do
url "https://files.pythonhosted.org/packages/93/ea/d884a06f8c7f9b7afbc8138b762e80479fb17aedbbe2b06515a12de9378d/Jinja2-2.10.1.tar.gz"
sha256 "065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013"
end
resource "MarkupSafe" do
url "https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz"
sha256 "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
end
def install
ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra
# https://github.com/Homebrew/homebrew-core/issues/7197
ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk_path}/usr/include/ffi"
virtualenv_install_with_resources
end
test do
system "gtimelog", "--version"
end
end
You can’t perform that action at this time.