From torek@elf.torek.net  Sat May 11 17:56:48 2013
Return-Path: <torek@elf.torek.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id ABA4C78F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 May 2013 17:56:48 +0000 (UTC)
	(envelope-from torek@elf.torek.net)
Received: from elf.torek.net (50-73-42-1-utah.hfc.comcastbusiness.net [50.73.42.1])
	by mx1.freebsd.org (Postfix) with ESMTP id 6AC851C1
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 May 2013 17:56:47 +0000 (UTC)
Received: from elf.torek.net (localhost [127.0.0.1])
	by elf.torek.net (8.14.5/8.14.5) with ESMTP id r4BHegsX008254
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 May 2013 11:40:42 -0600 (MDT)
	(envelope-from torek@elf.torek.net)
Received: (from torek@localhost)
	by elf.torek.net (8.14.5/8.14.5/Submit) id r4BHegTP008253;
	Sat, 11 May 2013 11:40:42 -0600 (MDT)
	(envelope-from torek)
Message-Id: <201305111740.r4BHegTP008253@elf.torek.net>
Date: Sat, 11 May 2013 11:40:42 -0600 (MDT)
From: Chris Torek <chris.torek@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: logilab's distributions have moved
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         178513
>Category:       ports
>Synopsis:       devel/py-astng: logilab's distributions have moved
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 11 18:00:00 UTC 2013
>Closed-Date:    Sat May 18 08:03:59 UTC 2013
>Last-Modified:  Sat May 18 08:10:00 UTC 2013
>Originator:     Chris Torek
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elf.torek.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	(1) astng has moved to bitbucket.org.
	(2) logilab-common and pylint are still accessible,
	    but only from download.logilab.org

>How-To-Repeat:
	cd /usr/ports/devel/py-astng; make fetch

	cd /usr/ports/devel/py-logilab-common; make fetch
	cd /usr/ports/devel/pylint; make fetch

>Fix:
        First, for part (2): add download.logilab.org to the
        "magic" sites under LOGILAB (it's possible some or all of
        the others should go away, just showing what I've tested):

diff --git a/bsd.sites.mk b/bsd.sites.mk
index d5388d3..03de8ef 100644
--- a/bsd.sites.mk
+++ b/bsd.sites.mk
@@ -736,6 +736,7 @@ MASTER_SITE_KDE+= \
 
 .if !defined(IGNORE_MASTER_SITE_LOGILAB)
 MASTER_SITE_LOGILAB+= \
+	http://download.logilab.org/pub/%SUBDIR%/ \
 	http://ftp.logilab.org/pub/%SUBDIR%/ \
 	ftp://ftp.logilab.org/pub/%SUBDIR%/ \
 	ftp://ftp.logilab.fr/pub/%SUBDIR%/
-- 
1.8.2.2

	Now, for part (1)...

	I took some cues from some other ports to construct this,
	not sure if it's the "right way" but seems reasonable.

	(Hm: I left the old SIZE and SHA256 in there, perhaps they
	should be removed.)

diff --git a/Makefile b/Makefile
index 78908fa..2898113 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,9 @@
 PORTNAME=	astng
 PORTVERSION=	0.24.3
 CATEGORIES=	devel python
-MASTER_SITES=	LOGILAB
+MASTER_SITES=	https://bitbucket.org/logilab/${PORTNAME}/get/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	logilab-${PORTNAME}-${PORTVERSION}
+DISTNAME=	logilab-${PORTNAME}-version-${PORTVERSION}
 
 MAINTAINER=	mva@FreeBSD.org
 COMMENT=	Extension for Python compiler.ast module
@@ -15,6 +15,9 @@ LICENSE=	LGPL21
 
 RUN_DEPENDS=	pytest:${PORTSDIR}/devel/py-logilab-common
 
+CHANGESET=      a4a9ed0f8a0c
+WRKSRC=         ${WRKDIR}/logilab-${PORTNAME}-${CHANGESET}
+
 MAKE_ENV=		NO_SETUPTOOLS=1
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
diff --git a/distinfo b/distinfo
index 503b15e..f10097e 100644
--- a/distinfo
+++ b/distinfo
@@ -1,2 +1,4 @@
 SHA256 (logilab-astng-0.24.3.tar.gz) = 961f030b055751f48179341c14ff3b8646bb1b29bee539f708e028e8fbe5e45a
 SIZE (logilab-astng-0.24.3.tar.gz) = 104103
+SHA256 (logilab-astng-version-0.24.3.tar.gz) = 31123cfdcba0da49bd1db99cc54743d41b7a8156ed84f444a26e3d713c2a14af
+SIZE (logilab-astng-version-0.24.3.tar.gz) = 105152
-- 
1.8.2.2

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mva 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 11 18:46:00 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178513 
State-Changed-From-To: open->closed 
State-Changed-By: mva 
State-Changed-When: Sat May 18 08:03:59 UTC 2013 
State-Changed-Why:  
I only added the new MASTER_SITES entry, since astng is still offered as 
download via the logilab.org mirrors, which makes it unnecessary to 
change it now. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178513 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/178513: commit references a PR
Date: Sat, 18 May 2013 08:01:38 +0000 (UTC)

 Author: mva
 Date: Sat May 18 08:01:30 2013
 New Revision: 318420
 URL: http://svnweb.freebsd.org/changeset/ports/318420
 
 Log:
   - Add download.logilab.org to MASTER_SITE_LOGILAB
   - Change WWW for devel/py-astng to point to its project homepage
   
   PR:		ports/178513
   Submitted by:	Chris Torek <chris.torek@gmail.com>
 
 Modified:
   head/Mk/bsd.sites.mk
   head/devel/py-astng/pkg-descr
 
 Modified: head/Mk/bsd.sites.mk
 ==============================================================================
 --- head/Mk/bsd.sites.mk	Sat May 18 07:39:41 2013	(r318419)
 +++ head/Mk/bsd.sites.mk	Sat May 18 08:01:30 2013	(r318420)
 @@ -736,6 +736,7 @@ MASTER_SITE_KDE+= \
  
  .if !defined(IGNORE_MASTER_SITE_LOGILAB)
  MASTER_SITE_LOGILAB+= \
 +	http://download.logilab.org/pub/%SUBDIR%/ \
  	http://ftp.logilab.org/pub/%SUBDIR%/ \
  	ftp://ftp.logilab.org/pub/%SUBDIR%/ \
  	ftp://ftp.logilab.fr/pub/%SUBDIR%/
 
 Modified: head/devel/py-astng/pkg-descr
 ==============================================================================
 --- head/devel/py-astng/pkg-descr	Sat May 18 07:39:41 2013	(r318419)
 +++ head/devel/py-astng/pkg-descr	Sat May 18 08:01:30 2013	(r318420)
 @@ -3,4 +3,4 @@ of python source code for projects such 
  pylint... Well, actually the development of this library is essentially
  governed by pylint's needs.
  
 -WWW: http://www.logilab.org/project/logilab-astng
 +WWW: https://bitbucket.org/logilab/astng/
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
