~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/py-roman: new aport

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

diff --git a/testing/py-roman/APKBUILD b/testing/py-roman/APKBUILD
new file mode 100644
index 0000000..79b3894
--- /dev/null
+++ b/testing/py-roman/APKBUILD
@@ -0,0 +1,34 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer:  Matt Smith <mcs@darkregion.net>
pkgname=py-roman
_pkgname=roman
pkgver=1.4.0
pkgrel=0
pkgdesc="Integer to Roman numerals converter"
url="http://pypi.python.org/pypi/roman"
arch="x86 x86_64"
license="Python2.1.1"
depends="python"
makedepends="python-dev py-setuptools"
install=
subpackages=
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_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"
}

md5sums="4f8832ed4108174b159c2afb4bd1d1dd  roman-1.4.0.tar.gz"
-- 
1.7.3.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1292497016.26904.38.camel@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1292390563-5148-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1292497016
DKIM signature
missing
Download raw message
On Tue, 2010-12-14 at 23:22 -0600, Matt Smith wrote:
> ---
>  testing/py-roman/APKBUILD |   34 ++++++++++++++++++++++++++++++++++
>  1 files changed, 34 insertions(+), 0 deletions(-)
>  create mode 100644 testing/py-roman/APKBUILD

...
> +
> +build() {
> +	cd "$_builddir"
> +	python setup.py build || return 1
> +}
> +
> +package() {
> +	cd "$_builddir"
> +	python setup.py install --root "$pkgdir"
> +}

separate build() and package(), I like that.

Applied. Thanks!

-nc



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