[Python-modules-commits] r23246 - in packages/mysql-connector-python/trunk/debian (2 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat Jan 5 15:03:13 UTC 2013


    Date: Saturday, January 5, 2013 @ 15:03:12
  Author: morph
Revision: 23246

* debian/watch
  - finally forged a watch file that can scan upstream webpage and is able to
    download updated tarballs

Modified:
  packages/mysql-connector-python/trunk/debian/changelog
  packages/mysql-connector-python/trunk/debian/watch

Modified: packages/mysql-connector-python/trunk/debian/changelog
===================================================================
--- packages/mysql-connector-python/trunk/debian/changelog	2013-01-05 13:51:25 UTC (rev 23245)
+++ packages/mysql-connector-python/trunk/debian/changelog	2013-01-05 15:03:12 UTC (rev 23246)
@@ -1,3 +1,11 @@
+mysql-connector-python (1.0.7-3) UNRELEASED; urgency=low
+
+  * debian/watch
+    - finally forged a watch file that can scan upstream webpage and is able to
+      download updated tarballs
+
+ -- Sandro Tosi <morph at debian.org>  Sat, 05 Jan 2013 16:02:12 +0100
+
 mysql-connector-python (1.0.7-2) experimental; urgency=low
 
   * debian/{control, rules}

Modified: packages/mysql-connector-python/trunk/debian/watch
===================================================================
--- packages/mysql-connector-python/trunk/debian/watch	2013-01-05 13:51:25 UTC (rev 23245)
+++ packages/mysql-connector-python/trunk/debian/watch	2013-01-05 15:03:12 UTC (rev 23246)
@@ -1,5 +1,8 @@
 version=3
-#https://launchpad.net/myconnpy/+download \
-#    http://launchpad.net/myconnpy/.*/mysql-connector-python-(.*)-devel.tar.gz
 
-http://dev.mysql.com/downloads/connector/python/ .*Connector\/Python\ ([\d.]*)
+# - current_os=26 is the form value when selecting "Platform independent"
+# - the download url is mangled to use the MySQL CDN, as you would have been redirected by the browser
+# - the matched url is for the GPG key (...) so we need to mangle the filename to download the right file
+
+opts=filenamemangle=s/.*=(.*)/$1/,downloadurlmangle=s/dev.mysql.com\/downloads\/gpg.php\?file=/cdn.mysql.com\/Downloads\/Connector-Python\// \
+  http://dev.mysql.com/downloads/connector/python/?current_os=26 .*mysql-connector-python-([\d.]+)\.tar\.gz




More information about the Python-modules-commits mailing list