X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp111.iad.emailsrvr.com (smtp111.iad.emailsrvr.com [207.97.245.111]) by lists.alpinelinux.org (Postfix) with ESMTP id C60BD1EBFF4 for ; Tue, 9 Nov 2010 02:58:49 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp41.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 1BD89290A27; Mon, 8 Nov 2010 21:58:48 -0500 (EST) X-Virus-Scanned: OK Received: by smtp41.relay.iad1a.emailsrvr.com (Authenticated sender: mcs-AT-darkregion.net) with ESMTPSA id A3B572909FC; Mon, 8 Nov 2010 21:58:47 -0500 (EST) From: Matt Smith To: alpine-devel@lists.alpinelinux.org Cc: Matt Smith Subject: [alpine-devel] [PATCH] testing/templayer: new aport Date: Mon, 8 Nov 2010 20:58:14 -0600 Message-Id: <1289271494-29592-1-git-send-email-mcs@darkregion.net> X-Mailer: git-send-email 1.7.3.2 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/templayer/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 testing/templayer/APKBUILD diff --git a/testing/templayer/APKBUILD b/testing/templayer/APKBUILD new file mode 100644 index 0000000..9fd2dba --- /dev/null +++ b/testing/templayer/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Matt Smith +# Maintainer: Matt Smith +pkgname=templayer +pkgver=1.5.1 +pkgrel=0 +pkgdesc="Templayer is a layered template library for Python and Django" +url="http://excess.org/templayer/" +license="LGPL" +depends="python" +makedepends="python-dev" +install= +subpackages="$pkgname-doc" +source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +doc() { + mkdir -p "$subpkgdir"/usr/share/doc/$pkgname + cd "$_builddir" + install -Dm644 docs/reference.html "$subpkgdir"/usr/share/doc/$pkgname/reference.html + install -Dm644 docs/tutorial.html "$subpkgdir"/usr/share/doc/$pkgname/tutorial.html + install -Dm644 docs/tutorial_examples.tar.gz "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples.tar.gz +} + +md5sums="9d1a3aa0cece34a2492792278aad406d templayer-1.5.1.tar.gz" -- 1.7.3.2 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---