ports/178513: logilab's distributions have moved
Chris Torek
chris.torek at gmail.com
Sat May 11 18:00:01 UTC 2013
>Number: 178513
>Category: ports
>Synopsis: logilab's distributions have moved
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat May 11 18:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list