Date: Wed, 12 Aug 2009 15:22:31 GMT From: Sofian Brabez <sbrabez@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137695: [patch] Mk/bsd.sites.mk : add logilab mirrors Message-ID: <200908121522.n7CFMV1i066680@www.freebsd.org> Resent-Message-ID: <200908121530.n7CFU8D4036969@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137695 >Category: ports >Synopsis: [patch] Mk/bsd.sites.mk : add logilab mirrors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 12 15:30:08 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sofian Brabez >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: FreeBSD freebsd.ifr.lan 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jul 2 23:42:18 CEST 2009 root@freebsd.ifr.lan:/usr/obj/usr/src/sys/FREEBSD i386 >Description: This patch will add a macro to bsd.sites.mk so that ports that are hosted on logilab mirrors can simply have MASTER_SITE= set to ${MASTER_SITE_LOGILAB}. It also patch the logilab ports with macro ${MASTER_SITE_LOGILAB}. It will be usefull for incoming logilab ports. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Mk/bsd.sites.mk.orig 2009-08-11 08:58:24.000000000 +0200 +++ Mk/bsd.sites.mk 2009-08-11 11:22:46.000000000 +0200 @@ -743,6 +743,13 @@ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/kde/&,} .endif +.if !defined(IGNORE_MASTER_SITE_LOGILAB) +MASTER_SITE_LOGILAB+= \ + http://www.logilab.org/ftp/pub/%SUBDIR%/ \ + ftp://ftp.logilab.org/pub/%SUBDIR%/ \ + ftp://ftp.logilab.fr/pub/%SUBDIR%/ +.endif + .if !defined(IGNORE_MASTER_SITE_MOZDEV) MASTER_SITE_MOZDEV+= \ http://ftp.scarlet.be/pub/mozdev/%SUBDIR%/ \ --- deskutils/narval/Makefile.orig 2009-08-11 11:33:28.000000000 +0200 +++ deskutils/narval/Makefile 2009-08-11 11:24:45.000000000 +0200 @@ -10,8 +10,8 @@ PORTVERSION= 2.0.2 PORTREVISION= 4 CATEGORIES= deskutils python -MASTER_SITES= ftp://ftp.logilab.org/pub/narval/ \ - http://www.logilab.org/ftp/pub/narval/ +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Network Assistant Reasoning with a Validating Agent Language --- devel/hgview/Makefile.orig 2009-08-11 11:34:16.000000000 +0200 +++ devel/hgview/Makefile 2009-08-11 11:25:03.000000000 +0200 @@ -8,7 +8,8 @@ PORTNAME= hgview PORTVERSION= 1.0.1 CATEGORIES= devel -MASTER_SITES= http://ftp.logilab.org/pub/hgview/ +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= amdmi3@FreeBSD.org COMMENT= A fast Mercurial log navigator written in pyqt4 --- devel/pylint/Makefile.orig 2009-08-11 11:35:22.000000000 +0200 +++ devel/py-astng/Makefile 2009-08-11 11:25:12.000000000 +0200 @@ -1,37 +1,25 @@ -# New ports collection makefile for: pylint -# Date created: 28 May 2004 +# New ports collection makefile for: astng +# Date created: 27 Apr 2006 # Whom: Hye-Shik Chang # -# $FreeBSD: ports/devel/pylint/Makefile,v 1.19 2009/03/26 10:11:36 mva Exp $ +# $FreeBSD: ports/devel/py-astng/Makefile,v 1.10 2009/03/26 10:10:06 mva Exp $ # -PORTNAME= pylint -PORTVERSION= 0.18.0 +PORTNAME= astng +PORTVERSION= 0.19.0 CATEGORIES= devel python -MASTER_SITES= ftp://ftp.logilab.org/pub/pylint/ \ - http://ftp.logilab.org/pub/pylint/ -PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= logilab-${PORTNAME}-${PORTVERSION} MAINTAINER= mva@FreeBSD.org -COMMENT= Analyzes python source code looking for bugs and signs of poor quality +COMMENT= Extension for Python compiler.ast module -RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/logilab/astng/__init__.py:${PORTSDIR}/devel/py-astng +RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/logilab/__init__.py:${PORTSDIR}/devel/py-logilab-common USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= logilab-astng -OPTIONS= GUI "Include Tkinter support for pylint-gui" Off - -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 250 -PLIST_SUB+= NOPY25="" -.else -PLIST_SUB+= NOPY25="@comment " -.endif - -.if defined(WITH_GUI) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> --- Makefile.orig 2009-08-11 11:35:03.000000000 +0200 +++ Makefile 2009-08-11 11:25:21.000000000 +0200 @@ -8,9 +8,8 @@ PORTNAME= logilab-common PORTVERSION= 0.42.0 CATEGORIES= devel python -MASTER_SITES= ftp://ftp.logilab.fr/pub/common/ \ - ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= dryice +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME:C/logilab-//} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mva@FreeBSD.org --- Makefile.orig 2009-08-11 11:35:14.000000000 +0200 +++ Makefile 2009-08-11 11:25:35.000000000 +0200 @@ -9,7 +9,8 @@ PORTNAME= reverse PORTVERSION= 0.5.2 CATEGORIES= devel python -MASTER_SITES= ftp://ftp.logilab.org/pub/pyreverse/ +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= py${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} --- Makefile.orig 2009-08-11 11:35:22.000000000 +0200 +++ Makefile 2009-08-11 11:25:48.000000000 +0200 @@ -8,8 +8,8 @@ PORTNAME= pylint PORTVERSION= 0.18.0 CATEGORIES= devel python -MASTER_SITES= ftp://ftp.logilab.org/pub/pylint/ \ - http://ftp.logilab.org/pub/pylint/ +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} MAINTAINER= mva@FreeBSD.org --- textproc/py-xmltools/Makefile.orig 2009-08-11 11:35:52.000000000 +0200 +++ textproc/py-xmltools/Makefile 2009-08-11 11:26:19.000000000 +0200 @@ -10,7 +10,8 @@ PORTVERSION= 1.4.0 PORTREVISION= 4 CATEGORIES= textproc python -MASTER_SITES= ftp://ftp.logilab.org/pub/xmltools/ +MASTER_SITES= ${MASTER_SITE_LOGILAB} +MASTER_SITE_SUBDIR= ${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908121522.n7CFMV1i066680>