diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-28 15:59:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-28 16:00:25 +0000 |
commit | 4d0410f2e708e4efad99152af41bf02fec11e527 (patch) | |
tree | 713576d91e39f6263de9ab0d5bd0ff268a68f0c5 /main/py-meld3/APKBUILD | |
parent | 461fd51fe7bed1b38985213445aa236828554c5c (diff) | |
download | aports-4d0410f2e708e4efad99152af41bf02fec11e527.tar.bz2 aports-4d0410f2e708e4efad99152af41bf02fec11e527.tar.xz |
main/py-meld3: move from testing and set maintainer
Diffstat (limited to 'main/py-meld3/APKBUILD')
-rw-r--r-- | main/py-meld3/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-meld3/APKBUILD b/main/py-meld3/APKBUILD new file mode 100644 index 0000000000..e8a59d61f1 --- /dev/null +++ b/main/py-meld3/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: Peter Bui <pnutzh4x0r@gmail.com> +pkgname=py-meld3 +_pkgname=meld3 +pkgver=1.0.0 +pkgrel=0 +pkgdesc="An HTML/XML templating engine" +url="http://www.plope.com/software/meld3/" +arch="noarch" +license="ZPL" +depends="python" +depends_dev="python-dev py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 +} + +md5sums="ca270506dd4ecb20ae26fa72fbd9b0be meld3-1.0.0.tar.gz" +sha256sums="57b41eebbb5a82d4a928608962616442e239ec6d611fe6f46343e765e36f0b2b meld3-1.0.0.tar.gz" +sha512sums="17d90620b34ddecebcf1d08698149a598f1ac74f3a9c8c5fadcc2ea70d3d94c19ac3d662904f29a5093b3326131a2875940f3fa63a05f288de8e703cfee6e243 meld3-1.0.0.tar.gz" |