aboutsummaryrefslogtreecommitdiff
path: root/devel/py-ruledispatch
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2009-01-13 12:36:51 +0000
committerNicola Vitale <nivit@FreeBSD.org>2009-01-13 12:36:51 +0000
commit873942f4c90cf79bfc8544eb814b8c4b7a2f901a (patch)
treebaebe09b8b59f631b997a172535f0f589884a72f /devel/py-ruledispatch
parent9df0cff4d485f8b4f210037efd1a8ebea155909f (diff)
downloadports-873942f4c90cf79bfc8544eb814b8c4b7a2f901a.tar.gz
ports-873942f4c90cf79bfc8544eb814b8c4b7a2f901a.zip
- Update to 0.5.a1.r2506
- Add devel/py-extremes to RUN_DEPENDS - Convert easy_install support to bsd.python.mk - Remove files/pkg-deinstall.in, files/pkg-install.in, files/setup.cfg - Take maintainership - Update MASTER_SITES
Notes
Notes: svn path=/head/; revision=225964
Diffstat (limited to 'devel/py-ruledispatch')
-rw-r--r--devel/py-ruledispatch/Makefile44
-rw-r--r--devel/py-ruledispatch/distinfo6
-rw-r--r--devel/py-ruledispatch/files/pkg-deinstall.in17
-rw-r--r--devel/py-ruledispatch/files/pkg-install.in16
-rw-r--r--devel/py-ruledispatch/files/setup.cfg4
5 files changed, 15 insertions, 72 deletions
diff --git a/devel/py-ruledispatch/Makefile b/devel/py-ruledispatch/Makefile
index 9013afc43022..27d03d821289 100644
--- a/devel/py-ruledispatch/Makefile
+++ b/devel/py-ruledispatch/Makefile
@@ -6,44 +6,24 @@
#
PORTNAME= RuleDispatch
-PORTVERSION= 0.5.a0.r2427
+PORTVERSION= 0.5.a1.r2506
CATEGORIES= devel python
-MASTER_SITES= http://files.turbogears.org/eggs/ \
- http://dryice.name/computer/FreeBSD/distfiles/ \
- http://peak.telecommunity.com/snapshots/
+MASTER_SITES= http://peak.telecommunity.com/snapshots/ \
+ http:///nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}-0.5a0.dev-r2427
+DISTNAME= ${PORTNAME}-0.5a1.dev-r2506
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= nivit@FreeBSD.org
COMMENT= Rule-based Dispatching and Generic Functions
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYPROTOCOLS_EGG}:${PORTSDIR}/devel/py-protocols-devel
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}PyProtocols>=1.0.a0.r2302:${PORTSDIR}/devel/py-protocols-devel \
+ ${PYTHON_PKGNAMEPREFIX}Extremes>=1.1:${PORTSDIR}/devel/py-extremes
USE_PYTHON= 2.3+
-USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGVERSION= 0.5a0
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGVERSION= 0.5a1.dev_r2506
+PYEASYINSTALL_ARCHDEP= yes
-PLIST_FILES+= lib/${PYTHON_VERSION}/site-packages/${PYRULEDISPATCH_EGG}
+PLIST_FILES+= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-SUB_FILES+= pkg-deinstall pkg-install
-SUB_LIST+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
- EGG="RuleDispatch==${PYRULEDISPATCH_VER}"
-
-PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
-OSINFOS= ${OPSYS:L}-${OSRELEASE}-${ARCH}
-PYRULEDISPATCH_EGG= ${PORTNAME}-${PYRULEDISPATCH_VER}-py${PYTHON_VERSION:S/^python//}-${OSINFOS}.egg
-PYRULEDISPATCH_VER?= 0.5a0
-
-SETUP_CFG= setup.cfg
-
-post-extract:
- ${CP} ${FILESDIR}/${SETUP_CFG} ${WRKSRC}
-
-.include <bsd.port.pre.mk>
-
-OSRELEASE!= /usr/bin/uname -r
-PYPROTOCOLS_EGG!= ${MAKE} -f ${PORTSDIR}/devel/py-protocols-devel/Makefile -V PYPROTOCOLS_EGG
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-ruledispatch/distinfo b/devel/py-ruledispatch/distinfo
index cfd81cf1c2bb..10c770ec4615 100644
--- a/devel/py-ruledispatch/distinfo
+++ b/devel/py-ruledispatch/distinfo
@@ -1,3 +1,3 @@
-MD5 (RuleDispatch-0.5a0.dev-r2427.tar.gz) = dbf273cbd08ebec093ddd50a3c98e5f1
-SHA256 (RuleDispatch-0.5a0.dev-r2427.tar.gz) = 016e64839d2bf1be9624dd37d6dfe9cd2179a434d9519a78cde4b6a1789ea39f
-SIZE (RuleDispatch-0.5a0.dev-r2427.tar.gz) = 93310
+MD5 (RuleDispatch-0.5a1.dev-r2506.tar.gz) = 3cfadfc0ef2d1965c6496db60f288310
+SHA256 (RuleDispatch-0.5a1.dev-r2506.tar.gz) = e65846e351e75d3ebc96ec6383a6febb9bce5f317ddae8722c4e357930f26268
+SIZE (RuleDispatch-0.5a1.dev-r2506.tar.gz) = 95616
diff --git a/devel/py-ruledispatch/files/pkg-deinstall.in b/devel/py-ruledispatch/files/pkg-deinstall.in
deleted file mode 100644
index c2a4012d7b2e..000000000000
--- a/devel/py-ruledispatch/files/pkg-deinstall.in
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- DEINSTALL)
- easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- POST-DEINSTALL)
- exit 0
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
diff --git a/devel/py-ruledispatch/files/pkg-install.in b/devel/py-ruledispatch/files/pkg-install.in
deleted file mode 100644
index 9cddbe28f167..000000000000
--- a/devel/py-ruledispatch/files/pkg-install.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- POST-INSTALL)
- easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- PRE-INSTALL)
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
diff --git a/devel/py-ruledispatch/files/setup.cfg b/devel/py-ruledispatch/files/setup.cfg
deleted file mode 100644
index 6923d2df5d82..000000000000
--- a/devel/py-ruledispatch/files/setup.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-# $FreeBSD$
-[easy_install]
-no-deps=1
-allow-hosts=None