mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-11 00:18:06 -05:00
xmltodict
This commit is contained in:
22
packages/py3_xmltodict.rb
Normal file
22
packages/py3_xmltodict.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_xmltodict < Package
|
||||
description 'XMLtoDict makes working with XML feel like you are working with JSON.'
|
||||
homepage 'https://github.com/martinblech/xmltodict/'
|
||||
@_ver = '0.12.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/martinblech/xmltodict.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user