aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-07-04 18:54:47 +0100
committerMarkos Chandras <hwoarang@gentoo.org>2012-07-04 18:54:47 +0100
commit8044c5a28423b19c8bbaf77a194087ec036a6846 (patch)
treed5bfad90b405c7d199e50eeb78d6cd9bfef70e31 /Documentation
parent[app-editors/vim-qt] Relax deps on vim-core. (diff)
downloadqt-8044c5a28423b19c8bbaf77a194087ec036a6846.tar.gz
qt-8044c5a28423b19c8bbaf77a194087ec036a6846.tar.bz2
qt-8044c5a28423b19c8bbaf77a194087ec036a6846.zip
bump-python-revisions: Update code for SIP packages
Diffstat (limited to 'Documentation')
-rwxr-xr-xDocumentation/maintainers/bump-python-revisions6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/maintainers/bump-python-revisions b/Documentation/maintainers/bump-python-revisions
index 9674efb8..47a77711 100755
--- a/Documentation/maintainers/bump-python-revisions
+++ b/Documentation/maintainers/bump-python-revisions
@@ -25,7 +25,7 @@ usage() {
dosip(){
- SIPKG="sip-snapshot-${new_sip}" # Format Sip package
+ SIPKG="sip-${new_sip}" # Format Sip package
ebegin "Downloading ${SIPKG} tarball..."
wget -P ${TEMP} http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${SIPKG}.tar.gz || exit 2
eend $?
@@ -123,9 +123,9 @@ getrevisions(){
new_sip=$(curl -s \
http://www.riverbankcomputing.com/software/sip/download \
| grep "snapshot-.*.tar.gz" \
- | cut -d '/' -f 5 | cut -d '-' -f 6-7 \
+ | cut -d '/' -f 5 | cut -d '-' -f 5-8 \
| sed -e "s@\.tar\.gz.*@@")
- new_sip_rev=$(echo $new_sip | cut -d '-' -f 2)
+ new_sip_rev=$(echo $new_sip | cut -d '-' -f 3)
new_sip_ver=$(echo $new_sip | cut -d '-' -f 1)
[[ -z ${new_sip} ]] || \
einfo "New sip snapshot@rev: ${new_sip}@${new_sip_rev}"