Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=677cd0a3545d1e851a9671086ae8a4ad765cc18d
commit 677cd0a3545d1e851a9671086ae8a4ad765cc18d Author: Pingax <[email protected]> Date: Mon Dec 26 13:53:11 2011 +0100 python3-sleekxmpp-1.0rc3-2-i686 * Fix build diff --git a/source/lib-extra/python3-sleekxmpp/FrugalBuild b/source/lib-extra/python3-sleekxmpp/FrugalBuild index 9cea33d..6168106 100644 --- a/source/lib-extra/python3-sleekxmpp/FrugalBuild +++ b/source/lib-extra/python3-sleekxmpp/FrugalBuild @@ -4,7 +4,7 @@ pkgname=python3-sleekxmpp _F_archive_name=sleekxmpp pkgver=1.0rc3 -pkgrel=1 +pkgrel=2 pkgdesc="XMPP library for Python" archs=('i686' 'x86_64') depends=('python-3.0') @@ -12,4 +12,13 @@ makedepends=('python3-distribute') groups=('lib-extra') _F_pypi_name="sleekxmpp" Finclude pypi -sha1sums=('c6a0fa4754b60bf7e681b310fa5567f7e00ab0f6') +source=($source long_desc.patch) +sha1sums=('c6a0fa4754b60bf7e681b310fa5567f7e00ab0f6' \ + '2193b5fb275ee08af0b8e1a2cacf8625ac493aff') + +build() +{ + Fcd + Fpatchall + python3 setup.py install --root=$Fdestdir || Fdie +} diff --git a/source/lib-extra/python3-sleekxmpp/long_desc.patch b/source/lib-extra/python3-sleekxmpp/long_desc.patch new file mode 100644 index 0000000..9d97d6a --- /dev/null +++ b/source/lib-extra/python3-sleekxmpp/long_desc.patch @@ -0,0 +1,12 @@ +--- setup.py.orig 2011-12-26 13:48:50.366722389 +0100 ++++ setup.py 2011-12-26 13:49:22.292728072 +0100 +@@ -31,8 +31,7 @@ + + VERSION = __version__ + DESCRIPTION = 'SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google Talk, etc).' +-with open('README.rst') as readme: +- LONG_DESCRIPTION = ''.join(readme) ++LONG_DESCRIPTION = DESCRIPTION + + CLASSIFIERS = [ 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
