Skip to content
Permalink
Browse files

update to 3.5

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14460 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 7, 2005
1 parent 21b38e1 commit 03f16db8e1dd8e6e8300a70f0e4b34a8181bce28
Showing with 9 additions and 12 deletions.
  1. +8 −11 python/py-ro/Portfile
  2. +1 −1 python/py-ro/files/patch-setup.cfg.diff
@@ -1,14 +1,13 @@
# $Id: Portfile,v 1.7 2004/12/31 03:52:18 mww Exp $
# $Id: Portfile,v 1.8 2005/10/07 12:48:12 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name py-ro
version 3.4
revision 1
version 3.5
categories python devel
maintainers mww@opendarwin.org
platforms darwin freebsd
platforms darwin
description advanced Distributed Object Technology for python
long_description Pyro is an acronym for PYthon Remote Objects. It is \
an advanced and powerful Distributed Object Technology system \
@@ -22,19 +21,17 @@ long_description Pyro is an acronym for PYthon Remote Objects. It is \
homepage http://pyro.sourceforge.net/
master_sites sourceforge:pyro
distname Pyro-${version}
checksums md5 ff6c19d8b75ed74bcad5a7bd7abf6eb2
checksums md5 6d62a88521617041775057de9e8c6b93
patchfiles patch-setup.cfg.diff

post-patch {
reinplace "s|DESTROOT|${destroot}${prefix}|g" ${worksrcpath}/setup.cfg
reinplace "s|__BINDIR__|${prefix}/bin|g" ${worksrcpath}/setup.cfg
}

post-build {
reinplace "s|python|${python.bin}|g" ${worksrcpath}/bin/es \
${worksrcpath}/bin/genguid ${worksrcpath}/bin/ns \
${worksrcpath}/bin/nsc ${worksrcpath}/bin/pyroc \
${worksrcpath}/bin/rns ${worksrcpath}/bin/wxnsc \
${worksrcpath}/bin/xnsc
cd ${worksrcpath}/bin
reinplace "s|python|${python.bin}|g" \
es esd genguid ns nsc nsd rns wxnsc xnsc
}

post-destroot {
@@ -12,4 +12,4 @@
[install]
optimize=1
-#install-scripts=/foo/bar
+install-scripts=DESTROOT/bin
+install-scripts=__BINDIR__

0 comments on commit 03f16db

Please sign in to comment.
You can’t perform that action at this time.