Subject: [alpine-devel] testing/trac: Prepared for edge (and depends)

From: "Mika Havela" <[email-masked]>
Date: Wed, 02 Jun 2010 13:23:29 +0000

Updated patches.

Please review and apply.
(Migt be something went wrong when I moved trac from unstable > testing, but I guess you will notice if I did something wrong.)

Thanks.

<<mhavela>> 
From 6d96e391ca6903d4018feb66038b8abdb899f0fd Mon Sep 17 00:00:00 2001
From: Mika Havela <[email-masked]>
Date: Wed, 2 Jun 2010 13:17:41 +0000
Subject: [PATCH 3/3] testing/trac: Bumped version and created init.d and conf.d files

---
 testing/trac/APKBUILD |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 testing/trac/APKBUILD

diff --git a/testing/trac/APKBUILD b/testing/trac/APKBUILD
new file mode 100644
index 0000000..dd4a1f5
--- /dev/null
+++ b/testing/trac/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Michael Mason <[email-masked]>
+# Maintainer: Michael Mason <[email-masked]>
+pkgname=trac
+_realname=Trac
+pkgver=0.11.7
+pkgrel=0
+pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
+url="http://trac.edgewall.com/"
+license="GPL"
+depends="python py-setuptools py-genshi py-sqlite"
+makedepends="python-dev"
+install=
+source="ftp://ftp.edgewall.com/pub/$pkgname/$_realname-$pkgver.tar.gz
+	trac.confd
+	trac.initd"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+	cd "$_builddir"
+	python setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+package() {
+	cd "$_builddir"
+
+	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/${pkgname}d
+	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/${pkgname}d
+}
+
+md5sums="3cd96dad0e4f25d977c422fd6e985e99  Trac-0.11.7.tar.gz
+70609adb7403e7badae33f9f4fdc4bf3  trac.confd
+66b91da45fbc5ab25ec2e0e7356020e2  trac.initd"
-- 
1.7.1

From e7ed4d5a1f822573250d5d1b04dee4234101b97d Mon Sep 17 00:00:00 2001
From: Mika Havela <[email-masked]>
Date: Tue, 1 Jun 2010 09:06:44 +0000
Subject: [PATCH 2/3] testing/py-genshi: new aport

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

diff --git a/testing/py-genshi/APKBUILD b/testing/py-genshi/APKBUILD
new file mode 100644
index 0000000..d44a6f1
--- /dev/null
+++ b/testing/py-genshi/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Mika Havela <[email-masked]>
+# Maintainer: Mika Havela <[email-masked]>
+pkgname=py-genshi
+_realname=Genshi
+pkgver=0.6
+pkgrel=0
+pkgdesc="Python toolkit for stream-based generation of output for the web."
+url="http://genshi.edgewall.org/"
+license="BSD"
+depends="python"
+makedepends="py-setuptools"
+install=
+source="http://ftp.edgewall.com/pub/genshi/$_realname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+	exit 0
+}
+
+build() {
+	cd "$_builddir"
+	python setup.py install --root="$pkgdir"
+}
+
+md5sums="604e8b23b4697655d36a69c2d8ef7187  Genshi-0.6.tar.gz"
-- 
1.7.1

From bea1422d02f0beb9617afe456321fcf45c2e2b58 Mon Sep 17 00:00:00 2001
From: Mika Havela <[email-masked]>
Date: Tue, 1 Jun 2010 09:07:12 +0000
Subject: [PATCH 1/3] testing/py-sqlite/: new aport

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

diff --git a/testing/py-sqlite/APKBUILD b/testing/py-sqlite/APKBUILD
new file mode 100644
index 0000000..e5b87bd
--- /dev/null
+++ b/testing/py-sqlite/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Mika Havela <[email-masked]>
+# Maintainer: Mika Havela <[email-masked]>
+pkgname=py-sqlite
+_realname=pysqlite
+pkgver=2.6.0
+pkgrel=0
+pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
+url="http://code.google.com/p/pysqlite/"
+license="MIT"
+depends="python sqlite"
+makedepends="sqlite-dev"
+install=
+source="http://pysqlite.googlecode.com/files/${_realname}-${pkgver}.tar.gz"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+	exit 0
+}
+
+package() {
+	cd "$_builddir"
+	python setup.py install --root="$pkgdir"
+}
+
+md5sums="fc92618b3b39d02e6ff10dc467c36640  pysqlite-2.6.0.tar.gz"
-- 
1.7.1

---

From: Natanael Copa <[email-masked]>
Date: Wed, 2 Jun 2010 17:45:02 +0200

> (Migt be something went wrong when I moved trac from unstable > testing, but I guess you will notice if I did something wrong.)

python-dev was missing in makedepends for py-genshi and py-sqlite.
there was a exit 0 in py-sqlite's build() which caused abuild to exit
and not run the package function. And finally the init.d and conf.d
scripts was missing from trac. I just copied the files from gentoo.

pushed.

Thanks!

-- 
Natanael Copa

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