pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Use Pillow as versioned dependency



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b1508487cf7
branches:  trunk
changeset: 448595:8b1508487cf7
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Mar 10 18:53:49 2021 +0000

description:
Use Pillow as versioned dependency

diffstat:

 print/hplip/options.mk          |  5 +++--
 www/py-easy-thumbnails/Makefile |  6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 32343e6ea7bc -r 8b1508487cf7 print/hplip/options.mk
--- a/print/hplip/options.mk    Wed Mar 10 18:51:51 2021 +0000
+++ b/print/hplip/options.mk    Wed Mar 10 18:53:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2019/10/27 15:20:22 kamil Exp $
+# $NetBSD: options.mk,v 1.19 2021/03/10 18:53:49 adam Exp $
 #
 # HPLIP dependencies are detailed in the following page:
 # http://hplipopensource.com/hplip-web/install/manual/distros/other.html
@@ -52,8 +52,9 @@
 CONFIGURE_ARGS+=       --enable-scan-build
 MESSAGE_SRC+=          MESSAGE.scan
 MESSAGE_SUBST+=                EGDIR=${EGDIR}
+PYTHON_VERSIONED_DEPENDENCIES= Pillow
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../graphics/sane-backends/buildlink3.mk"
-DEPENDS+=      {${PYPKGPREFIX}-Pillow-[0-9]*,${PYPKGPREFIX}-imaging-[0-9]*}:../../graphics/py-Pillow
 .else
 CONFIGURE_ARGS+=       --disable-scan-build
 .endif
diff -r 32343e6ea7bc -r 8b1508487cf7 www/py-easy-thumbnails/Makefile
--- a/www/py-easy-thumbnails/Makefile   Wed Mar 10 18:51:51 2021 +0000
+++ b/www/py-easy-thumbnails/Makefile   Wed Mar 10 18:53:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/11/30 20:11:50 adam Exp $
+# $NetBSD: Makefile,v 1.3 2021/03/10 18:53:49 adam Exp $
 
 DISTNAME=      easy-thumbnails-2.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,10 +12,12 @@
 
 PREV_PKGPATH=  www/py-djangoeasy-thumbnails
 
-DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
 
+PYTHON_VERSIONED_DEPENDENCIES= Pillow
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index