diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-07 03:13:37 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-07 03:13:37 -0500 |
commit | fa251d665d21754207cec375a3c4a832f7858aae (patch) | |
tree | 8c98f525da1c3e02b75a09b5234aed6c83cf13ce /user/py3-mako/APKBUILD | |
parent | aaefbe5506e5fb4b9a42332343079c6035ef9de2 (diff) | |
download | packages-fa251d665d21754207cec375a3c4a832f7858aae.tar.gz packages-fa251d665d21754207cec375a3c4a832f7858aae.tar.bz2 packages-fa251d665d21754207cec375a3c4a832f7858aae.tar.xz packages-fa251d665d21754207cec375a3c4a832f7858aae.zip |
user/py3-mako: fix, py3-only
Diffstat (limited to 'user/py3-mako/APKBUILD')
-rw-r--r-- | user/py3-mako/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/py3-mako/APKBUILD b/user/py3-mako/APKBUILD new file mode 100644 index 000000000..ac08c1f47 --- /dev/null +++ b/user/py3-mako/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-mako +_pkgname=Mako +pkgver=1.0.7 +pkgrel=0 +pkgdesc="Fast templating language for Python" +url="http://www.makotemplates.org/" +arch="noarch" +license="MIT" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pluggy py3-py py3-pytest py3-six" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="d67af6788bf8603010361ce8b6d0355b0191657c07f3b5845f9d5e91653c3e349a7b35d5b36aa9c7f291973c83911ce94075e1cad78e6935d0ed4ee9c6e2a571 Mako-1.0.7.tar.gz" |