py-weewx: Fix distfile link, kludge for py27 pillow
authorGreg Troxel <gdt@lexort.com>
Mon, 5 Apr 2021 23:26:06 +0000 (19:26 -0400)
committerGreg Troxel <gdt@lexort.com>
Mon, 5 Apr 2021 23:26:25 +0000 (19:26 -0400)
Upstream renamed the distfile directory; adapt.

This is 27-only for now, so just point to Pillow6.
(It remains to make it work with 3.)

py-weewx/Makefile

index 54144221bd0a283ecdd94978f8db350a0a9a9a0c..df7eb37fd527ba750fd2b1fe94597e21cf27f4f4 100644 (file)
@@ -3,7 +3,7 @@
 DISTNAME=      weewx-4.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    misc
-MASTER_SITES=  http://weewx.com/downloads/
+MASTER_SITES=  http://weewx.com/downloads/released_versions/
 
 # See also
 # https://reviews.freebsd.org/file/data/wxlggqqqglli6l66usac/PHID-FILE-kucs3bj4stbb6iw4zpy5/D6324.diff
@@ -28,7 +28,7 @@ SUBST_VARS.paths=     PREFIX
 # These versions are probably higher than necessary, but there is little value
 # in testing with versions older than are in pkgsrc.
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3>=2.7.16:../../databases/py-sqlite3
-DEPENDS+=      ${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=6.0.0:../../graphics/py-Pillow6
 DEPENDS+=      ${PYPKGPREFIX}-cheetah>=2.4.4:../../devel/py-cheetah
 DEPENDS+=      ${PYPKGPREFIX}-configobj>=5.0.6:../../devel/py-configobj
 DEPENDS+=      ${PYPKGPREFIX}-ephem>=3.7.6.0:../../math/py-ephem