mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-tempita
|
|
_pkgname=Tempita
|
|
pkgver=0.5.2
|
|
pkgrel=11
|
|
pkgdesc="A small templating language"
|
|
url="https://pypi.org/project/Tempita"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
options="!check" #no testsuite
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
setuptools59.patch
|
|
"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces=py-tempita # Backwards compatibility
|
|
provides=py-tempita=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
2to3 -w .
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
582d3ca35dfb2ad44491cf9e526db9f9c34c419f2b03a5ce86a7e5183f7760b380262367c062161d577c3fb3e69e39ee99bbf8e493873e1da1a350ef2f63630d Tempita-0.5.2.tar.gz
|
|
6e228a9fe565ee881e4ecf1e554c34f3efc33da480ca3c31c5bf19e040134547e60bdf0624b99accf8ff277e2b9772a80d2be849c55d7bb4f7a3e0f309800a1c setuptools59.patch
|
|
"
|