blob: 7192648bcbaf654c01d8c71d194d39bf55b8f2d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
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"
|