Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
220879bf
Commit
220879bf
authored
Jun 30, 2021
by
Ed Reel
Committed by
GitHub
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update komodo from 11.1.1 to 12.0.1 (#5913)
parent
41363868
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
22 deletions
+26
-22
packages/komodo.rb
packages/komodo.rb
+26
-22
No files found.
packages/komodo.rb
View file @
220879bf
require
'package'
require
'package'
class
Komodo
<
Package
class
Komodo
<
Package
description
'Komodo Edit is a great editor if you\'re looking for something powerful, yet simple.'
description
'Komodo IDE is a great editor if you\'re looking for something powerful, yet simple.'
homepage
'https://www.activestate.com/products/komodo-edit/'
homepage
'https://www.activestate.com/products/komodo-ide/'
version
'11.1.1'
version
'12.0.1'
license
''
# Can't find license for project
license
'ActiveState® Platform EULA'
compatibility
'all'
compatibility
'x86_64'
case
ARCH
source_url
'https://downloads.activestate.com/Komodo/releases/12.0.1/Komodo-Edit-12.0.1-18441-linux-x86_64.tar.gz'
when
'i686'
source_sha256
'b51783eb1cb8ce60b26e506ee00cd54ff31b61830622c5e5a8c77405e9c54e48'
source_url
'https://downloads.activestate.com/Komodo/releases/11.1.1/Komodo-Edit-11.1.1-18206-linux-x86.tar.gz'
source_sha256
'b2879342b3fcda0688bd461ad9545b178a3315c6ab7229b350db58b794f7c9a5'
when
'x86_64'
source_url
'https://downloads.activestate.com/Komodo/releases/11.1.1/Komodo-Edit-11.1.1-18206-linux-x86_64.tar.gz'
source_sha256
'649d5375ea963ac9211ca7ae294d61d07292f017a1852a804c8507b836c74fa6'
end
binary_url
({
})
binary_sha256
({
})
depends_on
'gtk2'
depends_on
'gtk2'
depends_on
'sommelier'
depends_on
'sommelier'
...
@@ -26,12 +15,27 @@ class Komodo < Package
...
@@ -26,12 +15,27 @@ class Komodo < Package
def
self
.
build
def
self
.
build
system
"sed -i 's,
\$
dname/INSTALLDIR/lib/python/bin/python,
#{
CREW_PREFIX
}
/bin/python2,' install.sh"
system
"sed -i 's,
\$
dname/INSTALLDIR/lib/python/bin/python,
#{
CREW_PREFIX
}
/bin/python2,' install.sh"
system
"sed -i 's,INSTALLDIR,
#{
CREW_DEST_PREFIX
}
,' install.sh"
system
"sed -i 's,INSTALLDIR,
#{
CREW_DEST_PREFIX
}
,' install.sh"
system
"sed -i '622,630d' support/_install.py"
system
"sed -i '74d' install.sh"
system
"sed -i 's,/usr/bin/env python,
#{
CREW_PREFIX
}
/bin/env python,' support/_install.py"
system
"sed -i '61iinstallDir =
\"
#{
CREW_DEST_PREFIX
}
\"
' support/_install.py"
end
end
def
self
.
install
def
self
.
install
system
'./install.sh'
system
"./install.sh -I
#{
CREW_DEST_PREFIX
}
"
end
def
self
.
remove
print
"Would you like to remove the config directories? [y/N] "
response
=
STDIN
.
getc
config_dirs
=
[
"
#{
HOME
}
/.komodoide"
,
"
#{
HOME
}
/.activestate"
]
config_dirs
.
each
{
|
config_dir
|
if
Dir
.
exists?
config_dir
case
response
when
"y"
,
"Y"
FileUtils
.
rm_rf
config_dir
puts
"
#{
config_dir
}
removed."
.
lightred
else
puts
"
#{
config_dir
}
saved."
.
lightgreen
end
end
}
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment