================================ pyparted:source=1.8.9-1 cvc rdiff pyparted -1 /weasel.rpath.org@wgl:3-devel/1.8.9-1 ================================ 1.8.9-1 Filip Brcic (brcha@xxxxxxx) Sun Jan 24 07:42:23 2010 pyparted 1.8.9 pyparted.recipe: new --- /dev/null +++ pyparted.recipe @@ -0,0 +29 @@ +# +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 +# + +loadSuperClass('python') +class Pyparted(CPackageRecipe, Python.VersionMixIn): + name = 'pyparted' + version = '1.8.9' + + buildRequires = [ + 'parted:devel', + ] + + shortDesc = 'Python bindings for parted' + url = 'http://dcantrel.fedorapeople.org/pyparted/' + licenses = [ 'GPL-2' ] + categories = [ 'Development/Python' ] + + def setup(r): + r.setDefaultPython() + r.addArchive('https://fedorahosted.org/releases/p/y/pyparted/') + + r.Replace('\$\(shell rpm --eval "%%{_libdir}"\)', + '%(libdir)s', + 'Makefile') + + r.Make() + r.MakeInstall() pyparted-1.8.9.tar.bz2: new Committed by: brcha