dev #2

Merged
wyj merged 232 commits from dev into main 2026-01-13 22:39:32 -05:00
Showing only changes of commit d67960b364 - Show all commits
+36
View File
@@ -0,0 +1,36 @@
pkgname=mako
pkgver=1.3.10
pkgdesc="A template library written in Python"
arch=(any)
homepage="https://github.com/sqlalchemy/mako"
license=(MIT)
depends=(
python
python-markupsafe
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}")
md5sums=("c9dfb2bf42827459dd505c60f2262a7c")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
python -m build --wheel --no-isolation
}
# check require some unneeded depends.
src_install() {
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
# vim:ft=sh syn=sh et sw=2: