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
Guillaume Hervier
chromebrew
Commits
6eda83b0
Commit
6eda83b0
authored
Dec 04, 2017
by
Casey Strouse
Committed by
GitHub
Dec 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1480 from uberhacker/add-urlwatch-package
Add urlwatch package
parents
efb500b3
f0d1c5a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
packages/urlwatch.rb
packages/urlwatch.rb
+46
-0
No files found.
packages/urlwatch.rb
0 → 100644
View file @
6eda83b0
require
'package'
class
Urlwatch
<
Package
description
'A tool for monitoring webpages for updates'
homepage
'https://thp.io/2008/urlwatch/'
version
'2.7'
source_url
'https://github.com/thp/urlwatch/archive/2.7.tar.gz'
source_sha256
'0a7b46d161501463dda99a1d82daf00237e2627616beaa6ccbf04d6c70c68ded'
binary_url
({
})
binary_sha256
({
})
depends_on
'python3'
depends_on
'filecmd'
def
self
.
install
majorver
=
`python3 -V | xargs | cut -d' ' -f2 | cut -d'.' -f1`
.
chomp
minorver
=
`python3 -V | xargs | cut -d' ' -f2 | cut -d'.' -f2`
.
chomp
pythonver
=
"
#{
majorver
}
.
#{
minorver
}
"
system
"python3 -m pip install pyyaml minidb requests keyring appdirs chump pushbullet.py pycodestyle"
system
"pip3 install urlwatch"
system
"install -Dm755
#{
CREW_PREFIX
}
/bin/keyring
#{
CREW_DEST_PREFIX
}
/bin/keyring"
system
"install -Dm755
#{
CREW_PREFIX
}
/bin/pycodestyle
#{
CREW_DEST_PREFIX
}
/bin/pycodestyle"
system
"install -Dm755
#{
CREW_PREFIX
}
/bin/urlwatch
#{
CREW_DEST_PREFIX
}
/bin/urlwatch"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__"
system
"cp
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__/minidb*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__"
system
"cp
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__/appdirs*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__"
system
"cp
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__/pycodestyle*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/__pycache__"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/PyYAML*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/yaml*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/minidb*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/requests*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/keyring*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/appdirs*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/chump*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/pushbullet*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/pycodestyle*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"cp -r
#{
CREW_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages/urlwatch*
#{
CREW_DEST_PREFIX
}
/lib/python
#{
pythonver
}
/site-packages"
system
"gzip -9
#{
CREW_PREFIX
}
/share/man/man1/urlwatch.1"
system
"install -Dm644
#{
CREW_PREFIX
}
/share/man/man1/urlwatch.1.gz
#{
CREW_DEST_PREFIX
}
/share/man/man1/urlwatch.1.gz"
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/share/urlwatch"
system
"cp -r
#{
CREW_PREFIX
}
/share/urlwatch
#{
CREW_DEST_PREFIX
}
/share"
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