From 48212618bf07dd566ab848d995582d345ccdecf7 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 8 Jul 2016 19:17:00 -0400 Subject: [PATCH] Update debian/watch to use github instead of pypi. The github tarball contains the documentation files we need to generate the docs for Debian, whereas the pypi tarball is stripped of the .rst files. --- debian/watch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/watch b/debian/watch index 3a43a16..4547a5a 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 - -https://pypi.python.org/packages/source/k/kitchen/kitchen-(.+).tar.gz +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%kitchen-$1.tar.gz%" \ + https://github.com/fedora-infra/kitchen/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate