For discussion of Alpine Linux development and developer support

1

[alpine-devel] new abuild: py-xmpppy

Francesco
Details
Message ID
<AANLkTimXKpvjoOQ2Bokq-aMyRytvAcTMMj485Er7AoMD@mail.gmail.com>
Sender timestamp
1294612798
DKIM signature
missing
Download raw message
new abuild.

Please review and commit.
Thanks!

:: Francesco Colista
:: Email : francesco.colista@gmail.com
:: Jabber: francesco@jabber.org
Natanael Copa
Details
Message ID
<20110110135810.4925d015@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<AANLkTimXKpvjoOQ2Bokq-aMyRytvAcTMMj485Er7AoMD@mail.gmail.com> (view parent)
Sender timestamp
1294664290
DKIM signature
missing
Download raw message
On Sun, 9 Jan 2011 23:39:58 +0100
Francesco <francesco.colista@gmail.com> wrote:

> From 83a68cd1ffeb4fc7277eb50d204ec648e77be021 Mon Sep 17 00:00:00 2001
> From: Francesco Colista <francesco.colista@gmail.com>
> 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 <francesco.colista@gmail.com>
> +# Maintainer: Francesco Colista <francesco.colista@gmail.com>
> +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
---