~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
3 2

[alpine-devel] [PATCH] testing/py-templayer: added py- prefix to package and improved the APKBUILD

Details
Message ID
<1292391961-5705-1-git-send-email-mcs@darkregion.net>
Sender timestamp
1292391961
DKIM signature
missing
Download raw message
Patch: +43 -0
---
 testing/py-templayer/APKBUILD |   43 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 testing/py-templayer/APKBUILD

diff --git a/testing/py-templayer/APKBUILD b/testing/py-templayer/APKBUILD
new file mode 100644
index 0000000..279ffc1
--- /dev/null
+++ b/testing/py-templayer/APKBUILD
@@ -0,0 +1,43 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py-templayer
_pkgname=templayer
pkgver=1.5.1
pkgrel=1
pkgdesc="Templayer is a layered template library for Python and Django"
url="http://excess.org/templayer/"
arch="x86 x86_64"
license="LGPL"
depends="python"
makedepends="python-dev py-setuptools"
install=
subpackages="$pkgname-doc"
source="http://excess.org/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
        cd "$_builddir"
        python setup.py build || return 1
}

package() {
        cd "$_builddir"
        python setup.py install --root "$pkgdir"
}

doc() {
	cd "$_builddir"

	mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
	for doc in reference.html tutorial.html tutorial_examples.tar.gz; do
		install -Dm644 ./docs/$doc "$subpkgdir"/usr/share/doc/$pkgname/$doc
	done
}

md5sums="9d1a3aa0cece34a2492792278aad406d  templayer-1.5.1.tar.gz"
-- 
1.7.3.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Details
Message ID
<1292410550.464421879@192.168.2.227>
In-Reply-To
<1292391961-5705-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1292410550
DKIM signature
missing
Download raw message
On Tuesday, December 14, 2010 11:46pm, "Matt Smith" <mcs@darkregion.net> said:
...
> diff --git a/testing/py-templayer/APKBUILD b/testing/py-templayer/APKBUILD
> new file mode 100644
> index 0000000..279ffc1
> --- /dev/null
> +++ b/testing/py-templayer/APKBUILD
...

Sorry guys, I think I should have used 'git mv' instead of this.  Can you guys fix this for me?

It should be:
testing/templayer -> testing/py-templayer
testing/urwid -> testing/py-urwid

The new APKBUILDs are good and the old ones can be deleted.

- Matt




---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Details
Message ID
<1292521178.221928912@192.168.2.227>
In-Reply-To
<1292497391.26904.40.camel@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1292521178
DKIM signature
missing
Download raw message
On Thursday, December 16, 2010 5:03am, "Natanael Copa" <ncopa@alpinelinux.org> said:
> On Wed, 2010-12-15 at 04:55 -0600, Matt Smith wrote:
>> On Tuesday, December 14, 2010 11:46pm, "Matt Smith" <mcs@darkregion.net> said:
>> ...
>> > diff --git a/testing/py-templayer/APKBUILD b/testing/py-templayer/APKBUILD
>> > new file mode 100644
>> > index 0000000..279ffc1
>> > --- /dev/null
>> > +++ b/testing/py-templayer/APKBUILD
>> ...
>>
>> Sorry guys, I think I should have used 'git mv' instead of this.  Can you guys
>> fix this for me?
>>
>> It should be:
>> testing/templayer -> testing/py-templayer
>> testing/urwid -> testing/py-urwid
> 
> Ok, I think I have cleaned it up now. All other patches should be
> applied too. Can you please verify so i didnt miss anything?

Just an update:
The then-new py-{templayer,urwid}/APKBUILDs were good, while the old {templayer,urwid}/APKBUILDs were somewhat bad.  Sorry about that.  I've got a new patch on alpine-devel here for the two.

> Aslo, pure python pakcages should have arch="noarch". We need to doc
> that.

I've got another set of patches that fix this on the python/perl packages I'm maintaining. :)

I can see about adding it to the wiki.

> Great job! Thanks!
> 
> -nc

Thanks!
- Matt



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1292497391.26904.40.camel@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1292410550.464421879@192.168.2.227> (view parent)
Sender timestamp
1292497391
DKIM signature
missing
Download raw message
On Wed, 2010-12-15 at 04:55 -0600, Matt Smith wrote:
> On Tuesday, December 14, 2010 11:46pm, "Matt Smith" <mcs@darkregion.net> said:
> ...
> > diff --git a/testing/py-templayer/APKBUILD b/testing/py-templayer/APKBUILD
> > new file mode 100644
> > index 0000000..279ffc1
> > --- /dev/null
> > +++ b/testing/py-templayer/APKBUILD
> ...
> 
> Sorry guys, I think I should have used 'git mv' instead of this.  Can you guys fix this for me?
> 
> It should be:
> testing/templayer -> testing/py-templayer
> testing/urwid -> testing/py-urwid

Ok, I think I have cleaned it up now. All other patches should be
applied too. Can you please verify so i didnt miss anything?

Aslo, pure python pakcages should have arch="noarch". We need to doc
that.

Great job! Thanks!

-nc



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