From 4f4e45648f5a8bc5e04cce2917c51d857497a322 Mon Sep 17 00:00:00 2001
From: Michael Gehring <mg@ebfe.org>
Date: Thu, 28 Apr 2016 13:26:39 +0200
Subject: [PATCH] python-cssselect: fix update-check/distfile

---
 srcpkgs/python-cssselect/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python-cssselect/template b/srcpkgs/python-cssselect/template
index 5e9ec63b4be..5c44b9e4bb0 100644
--- a/srcpkgs/python-cssselect/template
+++ b/srcpkgs/python-cssselect/template
@@ -14,7 +14,7 @@ short_desc="CSS selectors for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
 homepage="https://pypi.python.org/pypi/cssselect"
 license="BSD"
-distfiles="https://pypi.python.org/packages/source/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
 checksum=0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682
 
 pre_install() {