aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-meld3/APKBUILD
blob: 0cd94f2146db9013829c26028589b2fa3574bbd7 (plain) (blame)
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
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=py3-meld3
_pkgname=meld3
pkgver=2.0.1
pkgrel=0
pkgdesc="An HTML/XML templating engine"
url="https://github.com/supervisor/meld3"
arch="noarch"
license="ZPL"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-meld3"			# Backwards compatibility
provides="py-meld3=$pkgver-r$pkgrel"	# Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}

sha512sums="b8203e0a71c7a0e5e38b265d80365b4b86a5bf66cc7e9c58d67e6beca563b992bc71f8e1afd8782ab2a60f0ada60405279dea894d6767326ff1ffcf66f255e1e  meld3-2.0.1.tar.gz"