Ignore:
Timestamp:
May 13, 2008, 9:09:26 PM (12 years ago)
Author:
afb@…
Message:

revert back to 0.5.2 (without sqlite) for now, but don't worry about epoch as it'll return to 0.6.2 later

Location:
trunk/dports/sysutils/repoview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/repoview/Portfile

    r33703 r36741  
    44
    55name                    repoview
    6 version                 0.6.2
     6version                 0.5.2
    77categories              sysutils
    88platforms               darwin
     
    1515
    1616homepage                https://fedorahosted.org/repoview/
    17 master_sites            http://icon.fedorapeople.org/repoview/
    18 checksums               md5 e6d1abf7db974da2f0dfac4072f6718c \
    19                                 sha1 667e1c5d9568576ae3bc925a48ebbad405bc682f \
    20                                 rmd160 070eb5682f99da5bd66026a7a5d730f12e2da571
     17master_sites            http://icon.fedorapeople.org/repoview/old/
     18checksums               md5 cc15d6ab4df4217db0ef8f0608343521 \
     19                                sha1 92d4e421775f0616ea90b7307776b50c222e479f \
     20                                rmd160 4b68b84095104a8e5ff6657c76e9ff8d63fc5b9a
    2121patchfiles              patch-repoview.py
    2222
     
    2626        reinplace "s|/usr/bin/python|${prefix}/bin/python2.4|g" ${worksrcpath}/repoview.py
    2727        reinplace "s|/usr/share/repoview|${prefix}/share/repoview|g" ${worksrcpath}/repoview.py
     28        reinplace "s|'./templates'|'${prefix}/share/repoview/templates'|g" ${worksrcpath}/repoview.py
    2829}
    2930
  • trunk/dports/sysutils/repoview/files/patch-repoview.py

    r29745 r36741  
    1 --- repoview.py.orig    2007-08-09 00:14:08.000000000 +0200
    2 +++ repoview.py 2007-08-09 00:16:14.000000000 +0200
    3 @@ -53,7 +53,7 @@
     1# Fedora: yum-2.9-api.patch
     2--- repoview.py.orig    2006-07-04 20:53:55.000000000 -0400
     3+++ repoview.py 2006-07-04 21:21:56.000000000 -0400
     4@@ -42,7 +42,7 @@
    45 try:
    5      import sqlite3 as sqlite
     6     from yum.comps import Comps, CompsException
     7     from yum.mdparser import MDParser
     8-    from repomd.repoMDObject import RepoMD
     9+    from yum.repoMDObject import RepoMD
    610 except ImportError:
    7 -    import sqlite
    8 +    from pysqlite2 import dbapi2 as sqlite
    9  
    10  ##
    11  # Some hardcoded constants
     11     try:
     12         from noyum.comps import Comps, CompsException
     13@@ -364,7 +364,7 @@
     14         except IOError:
     15             return 1
     16         checksum = checksum.strip()
     17-        if checksum != self.repodata['primary']['checksum'][1]:
     18+        if checksum != self.repodata['primary'].checksum[1]:
     19             return 1
     20         _say("RepoView: Repository has not changed. Force the run with -f.\n")
     21         sys.exit(0)
     22@@ -374,7 +374,7 @@
     23         Utility method for parsing comps.xml.
     24         """
     25         _say('parsing comps...', 1)
     26-        loc = self.repodata['group']['relativepath']
     27+        loc = self.repodata['group'].location[1]
     28         comps = Comps()
     29         try:
     30             comps.add(os.path.join(self.repodir, loc))
     31@@ -436,7 +436,7 @@
     32         Utility method for processing primary.xml.
     33         """
     34         _say('parsing primary...', 1)
     35-        loc = self.repodata['primary']['relativepath']
     36+        loc = self.repodata['primary'].location[1]
     37         mdp = MDParser(os.path.join(self.repodir, loc))
     38         ignored = 0
     39         for package in mdp:
     40@@ -507,7 +507,7 @@
     41         Utility method to get data from other.xml.
     42         """
     43         _say('parsing other...', 1)
     44-        loc = self.repodata['other']['relativepath']
     45+        loc = self.repodata['other'].location[1]
     46         otherxml = os.path.join(self.repodir, loc)
     47         ignored = 0
     48         mdp = MDParser(otherxml)
     49@@ -789,7 +789,7 @@
     50         _say('writing checksum...', 1)
     51         chkfile = os.path.join(self.outdir, 'checksum')
     52         fh = open(chkfile, 'w')
     53-        fh.write(self.repodata['primary']['checksum'][1])
     54+        fh.write(self.repodata['primary'].checksum[1])
     55         fh.close()
     56         _say('done\n')
     57         _say('Moving new repoview dir in place...', 1)
Note: See TracChangeset for help on using the changeset viewer.