[47910] trunk/dports/sysutils/smart
afb at macports.org
afb at macports.org
Mon Mar 9 14:58:44 PDT 2009
Revision: 47910
http://trac.macports.org/changeset/47910
Author: afb at macports.org
Date: 2009-03-09 14:58:43 -0700 (Mon, 09 Mar 2009)
Log Message:
-----------
port upgrade: smart 1.2
Modified Paths:
--------------
trunk/dports/sysutils/smart/Portfile
Removed Paths:
-------------
trunk/dports/sysutils/smart/files/patch-deb_base.py
trunk/dports/sysutils/smart/files/patch-rpm5.diff
Modified: trunk/dports/sysutils/smart/Portfile
===================================================================
--- trunk/dports/sysutils/smart/Portfile 2009-03-09 21:52:29 UTC (rev 47909)
+++ trunk/dports/sysutils/smart/Portfile 2009-03-09 21:58:43 UTC (rev 47910)
@@ -3,7 +3,7 @@
PortSystem 1.0
name smart
-version 1.0
+version 1.2
platforms darwin freebsd
categories sysutils archivers
maintainers n3npq at mac.com afb at macports.org
@@ -18,12 +18,12 @@
homepage http://smartpm.org
master_sites http://labix.org/download/smart/
-checksums md5 f4b43912761ba100548921f34985b1d1 \
- sha1 d239d08207f9308415cba72b3e87fbfc758463a0 \
- rmd160 86472b44f56d4a3a1831e970177443e4569bc7e5
+checksums md5 233ccbd1e666a9a7c5e1cc7900075d93 \
+ sha1 311f79ee381e4c099e3218f0735d2802c689f3f0 \
+ rmd160 249b9295a09375ff52395fe783c24709515d08e8
use_bzip2 yes
-patchfiles patch-prefix.diff patch-deb_base.py
+patchfiles patch-prefix.diff
depends_lib lib:librpm:rpm port:python24
### by default, it will run --shell interface.
@@ -39,15 +39,18 @@
use_configure no
-build.env PYTHON="${prefix}/bin/python2.4"
+build.args-append PYTHON="${prefix}/bin/python2.4"
+destroot.args-append PYTHON="${prefix}/bin/python2.4"
variant rpm5 description "use rpm5, not rpm4" {
# uses RPM 5.0.3, instead of the default RPM 4.4.9
depends_lib-delete lib:librpm:rpm port:python24
depends_lib-append lib:librpm-5.0:rpm50 port:python25
#depends_run port:py25-gtk
- patchfiles-append patch-rpm5.diff
- build.env PYTHON="${prefix}/bin/python2.5"
+ build.args-delete PYTHON="${prefix}/bin/python2.4"
+ build.args-append PYTHON="${prefix}/bin/python2.5"
+ destroot.args-delete PYTHON="${prefix}/bin/python2.4"
+ destroot.args-append PYTHON="${prefix}/bin/python2.5"
}
post-destroot {
Deleted: trunk/dports/sysutils/smart/files/patch-deb_base.py
===================================================================
--- trunk/dports/sysutils/smart/files/patch-deb_base.py 2009-03-09 21:52:29 UTC (rev 47909)
+++ trunk/dports/sysutils/smart/files/patch-deb_base.py 2009-03-09 21:58:43 UTC (rev 47910)
@@ -1,20 +0,0 @@
---- ./smart/backends/deb/base.py.orig 2007-10-05 14:53:17.000000000 +0200
-+++ ./smart/backends/deb/base.py 2008-01-28 13:26:33.000000000 +0100
-@@ -27,6 +27,7 @@ from smart.cache import *
- import fnmatch
- import string
- import os, re
-+import sys
-
- __all__ = ["DebPackage", "DebProvides", "DebNameProvides", "DebPreRequires",
- "DebRequires", "DebUpgrades", "DebConflicts", "DebOrRequires",
-@@ -54,6 +55,9 @@ def getArchitecture():
- return arch
-
- DEBARCH = sysconf.get("deb-arch", getArchitecture())
-+platform = sys.platform
-+if platform != "linux2":
-+ DEBARCH = "%s-%s" % (platform, DEBARCH)
-
- class DebPackage(Package):
-
Deleted: trunk/dports/sysutils/smart/files/patch-rpm5.diff
===================================================================
--- trunk/dports/sysutils/smart/files/patch-rpm5.diff 2009-03-09 21:52:29 UTC (rev 47909)
+++ trunk/dports/sysutils/smart/files/patch-rpm5.diff 2009-03-09 21:58:43 UTC (rev 47910)
@@ -1,17 +0,0 @@
-=== modified file 'smart/backends/rpm/header.py'
---- smart/backends/rpm/header.py 2008-08-12 07:01:07 +0000
-+++ smart/backends/rpm/header.py 2008-08-12 11:41:09 +0000
-@@ -164,6 +164,12 @@
- def getPathList(self):
- if self._path is None:
- paths = self._h[rpm.RPMTAG_OLDFILENAMES]
-+ if not paths:
-+ dirs = self._h[rpm.RPMTAG_DIRNAMES]
-+ base = self._h[rpm.RPMTAG_BASENAMES]
-+ paths = []
-+ for i in range(0,len(dirs)):
-+ paths.append(dirs[i] + base[i])
- if type(paths) != list:
- paths = [paths]
- modes = self._h[rpm.RPMTAG_FILEMODES]
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090309/5ca65c99/attachment-0001.html>
More information about the macports-changes
mailing list