X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 1B1DF1EBFFC for ; Mon, 10 Jan 2011 12:58:08 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 1F4CAAE4004; Mon, 10 Jan 2011 12:58:07 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pt3BbvIIXtx0; Mon, 10 Jan 2011 12:58:04 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 76E6EAE4001; Mon, 10 Jan 2011 12:58:04 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 1027D621BE0F8; Mon, 10 Jan 2011 12:58:04 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (unknown [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id AE9EB621BE0F3; Mon, 10 Jan 2011 12:58:03 +0000 (UTC) Date: Mon, 10 Jan 2011 13:58:10 +0100 From: Natanael Copa To: Francesco Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] new abuild: py-xmpppy Message-ID: <20110110135810.4925d015@ncopa-desktop.nor.wtbts.net> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Sun, 9 Jan 2011 23:39:58 +0100 Francesco wrote: > From 83a68cd1ffeb4fc7277eb50d204ec648e77be021 Mon Sep 17 00:00:00 2001 > From: Francesco Colista > Date: Sun, 9 Jan 2011 22:32:33 +0000 > Subject: [PATCH 1/2] testing/py-xmpppy new abuild > > --- > testing/py-xmpppy/APKBUILD | 31 +++++++++++++++++++++++++++++++ > 1 files changed, 31 insertions(+), 0 deletions(-) > create mode 100644 testing/py-xmpppy/APKBUILD > > diff --git a/testing/py-xmpppy/APKBUILD b/testing/py-xmpppy/APKBUILD > new file mode 100644 > index 0000000..a9a3b01 > --- /dev/null > +++ b/testing/py-xmpppy/APKBUILD > @@ -0,0 +1,31 @@ > +# Contributor: Francesco Colista > +# Maintainer: Francesco Colista > +pkgname=py-xmpppy py- prefix. Good! > +_pkgname=xmpppy > +pkgver=0.4.1 > +pkgrel=0 > +pkgdesc="A Python library to provide easy scripting with Jabber" > +url="http://xmpppy.sourceforge.net/" > +arch="all" Its a noarch since here are no arch specific binaries shipped. > +license="GPL" > +depends="python" > +depends_dev= > +makedepends="$depends_dev" Seems like it needs python-dev in makedepends. > +install="" > +subpackages="" > +source="http://downloads.sourceforge.net/sourceforge/xmpppy/$_pkgname-$pkgver.tar.gz" > + > +_builddir=$srcdir/$_pkgname-$pkgver > + > +build() { > + cd "$_builddir" > + python setup.py build > +} > + > +package() { > + cd "$_builddir" > + mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages > + python setup.py install --root="$pkgdir" > +} Separate build() and package(). Good! > + > +md5sums="ca36d685643f2c56ab07323a09ece9e4 xmpppy-0.4.1.tar.gz" I applied and fixed the above things. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---