Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 02:29:55 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351246 - in head/devel/py-ruledispatch: . files
Message-ID:  <201404140229.s3E2Tt6p073885@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Mon Apr 14 02:29:55 2014
New Revision: 351246
URL: http://svnweb.freebsd.org/changeset/ports/351246
QAT: https://qat.redports.org/buildarchive/r351246/

Log:
  - Update to 0.5.a1.r2717
  - Remove files/*
  - Update MASTER_SITES
  - Add LICENSE
  - Stagify  [1]
  - Don't install a (zipped) Python egg anymore
  - Add pre-build and pre-install targets to strip dynamic library
  - Improve description of the port
  - Add WWW field  [1], and remove Author: from pkg-descr
  
  PR:	ports/188559  [1]
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Deleted:
  head/devel/py-ruledispatch/files/
Modified:
  head/devel/py-ruledispatch/Makefile
  head/devel/py-ruledispatch/distinfo
  head/devel/py-ruledispatch/pkg-descr

Modified: head/devel/py-ruledispatch/Makefile
==============================================================================
--- head/devel/py-ruledispatch/Makefile	Mon Apr 14 02:25:31 2014	(r351245)
+++ head/devel/py-ruledispatch/Makefile	Mon Apr 14 02:29:55 2014	(r351246)
@@ -2,26 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	RuleDispatch
-PORTVERSION=	0.5.a1.r2506
-PORTREVISION=	2
+PORTVERSION=	0.5.a1.r2717
+PORTREVISION=	0
 CATEGORIES=	devel python
-MASTER_SITES=	http://nivi.interfree.it/distfiles/${PORTNAME}/ \
-		http://peak.telecommunity.com/snapshots/
+MASTER_SITES=	http://peak.telecommunity.com/snapshots/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME}-0.5a1.dev-r2506
+DISTNAME=	${PORTNAME}-0.5a1.dev-r2717
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	Rule-based Dispatching and Generic Functions
 
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}PyProtocols>=1.0.a0.r2302:${PORTSDIR}/devel/py-protocols-devel \
-		${PYTHON_PKGNAMEPREFIX}Extremes>=1.1:${PORTSDIR}/devel/py-extremes
+LICENSE=	PSFL ZPL21
+LICENSE_COMB=	dual
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Extremes>=1.1:${PORTSDIR}/devel/py-extremes \
+		${PYTHON_PKGNAMEPREFIX}PyProtocols>=1.0.a0.r2302:${PORTSDIR}/devel/py-protocols-devel
+
+PYDISTUTILS_AUTOPLIST=	yes
+PYDISTUTILS_PKGVERSION=	0.5a1.dev_r2717
+
+USE_PYDISTUTILS=	yes
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGVERSION=	0.5a1.dev_r2506
-PYEASYINSTALL_ARCHDEP=	yes
 
-PLIST_FILES+=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+# to have a platform/release indipendent directory (necessary for strip cmd)
+pre-build:
+	@(cd ${BUILD_WRKSRC}; \
+	${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} setopt -c build -o build-platlib -s FreeBSD.build)
+
+pre-install:
+	@${STRIP_CMD} ${WRKSRC}/FreeBSD.build/dispatch/_d_speedups.so
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/devel/py-ruledispatch/distinfo
==============================================================================
--- head/devel/py-ruledispatch/distinfo	Mon Apr 14 02:25:31 2014	(r351245)
+++ head/devel/py-ruledispatch/distinfo	Mon Apr 14 02:29:55 2014	(r351246)
@@ -1,2 +1,2 @@
-SHA256 (RuleDispatch-0.5a1.dev-r2506.tar.gz) = 80bc61d3ff5928b3ab95231f32a2404ad71610b3029f4f038e1a34d68ab014c7
-SIZE (RuleDispatch-0.5a1.dev-r2506.tar.gz) = 95616
+SHA256 (RuleDispatch-0.5a1.dev-r2717.tar.gz) = acbb5f1bcc98c87d5ba6d23a4a01a283fbf35ebc4acc850476cc85dcdceca773
+SIZE (RuleDispatch-0.5a1.dev-r2717.tar.gz) = 96361

Modified: head/devel/py-ruledispatch/pkg-descr
==============================================================================
--- head/devel/py-ruledispatch/pkg-descr	Mon Apr 14 02:25:31 2014	(r351245)
+++ head/devel/py-ruledispatch/pkg-descr	Mon Apr 14 02:29:55 2014	(r351246)
@@ -1,3 +1,6 @@
-Rule-based Dispatching and Generic Functions
+RuleDispatch is a prototype implementation of the Chambers and Chen
+"efficient multiple and predicate dispatch" algorithm for Python.
+It lets youspecify a function in terms of a collection of arbitrary
+rules, including Lisp-style "before/after/around" methods.
 
-Author:	Phillip J. Eby <peak@eby-sarna.com>
+WWW: http://peak.telecommunity.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404140229.s3E2Tt6p073885>