30 lines
919 B
Bash
30 lines
919 B
Bash
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||
|
# then please put 'unknown'.
|
||
|
|
||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||
|
pkgname=python-markupsafe
|
||
|
pkgver=2.1.5
|
||
|
pkgrel=1
|
||
|
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
|
||
|
arch=('x86_64')
|
||
|
url="https://palletsprojects.com/p/markupsafe/"
|
||
|
license=('BSD')
|
||
|
depends=('python')
|
||
|
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
||
|
source=(https://pypi.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz)
|
||
|
sha256sums=(d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b)
|
||
|
|
||
|
build() {
|
||
|
cd MarkupSafe-${pkgver}
|
||
|
|
||
|
python3 -m build -nw
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd MarkupSafe-${pkgver}
|
||
|
|
||
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
||
|
}
|