pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-twill Fix DEPENDS pattern.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc56b8635429
branches:  trunk
changeset: 358095:bc56b8635429
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Feb 05 10:20:50 2017 +0000

description:
Fix DEPENDS pattern.

If we depends on a foo package, mark its dependency via:

 DEPENDS+= foo-*:../../misc/foo

...and then a new foo-bar package will appear it can be problematic.
Use foo-[0-9]* pattern to avoid that.

Kindly pointed out by <wiz>

diffstat:

 www/py-twill/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 515d74215230 -r bc56b8635429 www/py-twill/Makefile
--- a/www/py-twill/Makefile     Sun Feb 05 10:08:25 2017 +0000
+++ b/www/py-twill/Makefile     Sun Feb 05 10:20:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2017/02/05 10:08:13 leot Exp $
+# $NetBSD: Makefile,v 1.11 2017/02/05 10:20:50 leot Exp $
 
 DISTNAME=      twill-1.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,7 @@
 COMMENT=       Python package for the twill Web browsing language
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-cssselect-*:../../textproc/py-cssselect
+DEPENDS+=      ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
 
 USE_LANGUAGES= # none
 



Home | Main Index | Thread Index | Old Index