Subject: [alpine-devel] new abuild: py-jabberbot

From: Francesco <[email-masked]>
Date: Sun, 9 Jan 2011 23:39:18 +0100

new abuild.

Please review and commit.
Thanks!

:: Francesco Colista
:: Email : [email-masked]
:: Jabber: [email-masked]
From a1c022cc2e6bc816975ea9ab63b542d97e4ce6dc Mon Sep 17 00:00:00 2001
From: Francesco Colista <[email-masked]>
Date: Sun, 9 Jan 2011 22:34:10 +0000
Subject: [PATCH 2/2] testing/py-jabberbit new abuild

---
 testing/py-jabberbot/APKBUILD |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 testing/py-jabberbot/APKBUILD

diff --git a/testing/py-jabberbot/APKBUILD b/testing/py-jabberbot/APKBUILD
new file mode 100644
index 0000000..4f1295d
--- /dev/null
+++ b/testing/py-jabberbot/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Francesco Colista <[email-masked]>
+# Maintainer: Francesco Colista <[email-masked]>
+pkgname=py-jabberbot
+_pkgname=python-jabberbot
+pkgver=0.10
+pkgrel=0
+pkgdesc="A simple Jabber Bot for Python"
+url="http://pypi.python.org/pypi/jabberbot"
+arch="x86"
+license="GPLv3"
+depends="xmpppy"
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://thpinfo.com/2007/$_pkgname/jabberbot-$pkgver.tar.gz"
+
+_builddir=$srcdir/jabberbot-$pkgver
+
+package() {
+    	cd "$_builddir"
+	python setup.py install --root="$pkgdir"
+}
+
+
+md5sums="23868f12b4c58d113cfb60a81ea7e8c0  jabberbot-0.10.tar.gz"
-- 
1.7.3.5

---

From: Natanael Copa <[email-masked]>
Date: Mon, 10 Jan 2011 13:58:31 +0100

On Sun, 9 Jan 2011 23:39:18 +0100
Francesco <[email-masked]> wrote:

> diff --git a/testing/py-jabberbot/APKBUILD
> b/testing/py-jabberbot/APKBUILD new file mode 100644
> index 0000000..4f1295d
> --- /dev/null

should be noarch

> +depends="xmpppy"

should be py-xmppy

> +makedepends="$depends_dev"

makedepends needs python-dev

> +_builddir=$srcdir/jabberbot-$pkgver

missing build() function

> +md5sums="23868f12b4c58d113cfb60a81ea7e8c0  jabberbot-0.10.tar.gz"

I applied and fixed the above.
Thanks!

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---