blob: 5fb25b6346b768a4fd963e4e9d446e5f0c349940 (
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: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-meld3
_pkgname=meld3
pkgver=1.0.2
pkgrel=0
pkgdesc="An HTML/XML templating engine"
url="https://github.com/supervisor/meld3"
arch="noarch"
license="ZPL"
depends="python"
depends_dev="python2-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://files.pythonhosted.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="3ccc78cd79cffd63a751ad7684c02c91 meld3-1.0.2.tar.gz"
sha256sums="f7b754a0fde7a4429b2ebe49409db240b5699385a572501bb0d5627d299f9558 meld3-1.0.2.tar.gz"
sha512sums="54fe6def7169fb4e3469cad8be58e56984026f27b3b8b2bfd6d53e2296e0c2a5bfb3e67d032ef75edd93306f4115a091930a7aae3573acecd3fed4acd6eeb544 meld3-1.0.2.tar.gz"
|