Commit 7909b54e authored by superloach's avatar superloach Committed by Ed Reel

Add PyGObject (#2596)

* Add PyGObject

* Remove "core" dependencies
parent 1836f034
require 'package'
class Pygobject < Package
description 'PyGObject is a Python package which provides bindings for GObject based libraries such as GTK+, GStreamer, WebKitGTK+, GLib, GIO and many more.'
homepage 'https://pygobject.readthedocs.io/en/latest/'
version '3.28.3'
source_url 'https://files.pythonhosted.org/packages/e0/e8/1e4f21800015a9ca153969e85fc29f7962f8f82fc5dbc1ecbdeb9dc54c75/PyGObject-3.28.3.tar.gz'
source_sha256 '250fb669b6ac64eba034cc4404fcbcc993717b1f77c29dff29f8c9202da20d55'
depends_on 'glib'
depends_on 'gobject_introspection'
depends_on 'pycairo'
def self.build
system "python2.7 setup.py build"
system "python3 setup.py build"
end
def self.install
system "python2.7 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
system "python3 setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment