Commit Graph

9 Commits

Author SHA1 Message Date
Niels Kristian Bech Jensen 190d2368b8 update package lensfun 2013-11-09 14:18:10 +11:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Tony Theodore 523f4abf6b package lensfun: replace make with $(MAKE) 2013-04-28 03:16:13 +10:00
Tony Theodore 6504367d54 package lensfun: portability fix for /usr/bin/python 2013-04-28 03:10:16 +10:00
Niels Kristian Bech Jensen 5d91f98d1a package lensfun: add libgnurx support 2013-04-20 14:39:18 +10:00
Tony Theodore 88c31662cb packages cfitsio lensfun: add update macros 2013-03-24 14:27:21 +11:00
Tony Theodore 4ec70adaed packages cfitsio lensfun: add update macro placeholder 2013-03-24 06:53:46 +11:00
Tony Theodore d4f2dcf3f0 package lensfun: add pkg-config file and test program 2013-03-24 06:33:47 +11:00
Niels Kristian Bech Jensen 71ca588308 add packages cfitsio and lensfun 2013-03-24 05:00:16 +11:00