~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-devel] [PATCH] testing/templayer: new aport

Details
Message ID
<1289271494-29592-1-git-send-email-mcs@darkregion.net>
Sender timestamp
1289271494
DKIM signature
missing
Download raw message
Patch: +39 -0
---
 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 <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
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
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1289482829.18266.105.camel@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1289271494-29592-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1289482829
DKIM signature
missing
Download raw message
On Mon, 2010-11-08 at 20:58 -0600, Matt Smith wrote:
> ---
>  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 <mcs@darkregion.net>
> +# Maintainer: Matt Smith <mcs@darkregion.net>
> +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

techincally, 'python setup.py build' should happen here.

> +}
> +
> +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

not sure i like the idea of installing documentation as tar.gz.

Appliend anywas. thanks!

> +}
> +
> +md5sums="9d1a3aa0cece34a2492792278aad406d  templayer-1.5.1.tar.gz"




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)