python-markupsafe 3.0.2-1
This commit is contained in:
parent
676275c2e3
commit
70f551203f
18
PKGBUILD
18
PKGBUILD
@ -5,25 +5,25 @@
|
|||||||
|
|
||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=python-markupsafe
|
pkgname=python-markupsafe
|
||||||
pkgver=2.1.5
|
pkgver=3.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
|
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://palletsprojects.com/p/markupsafe/"
|
url="https://palletsprojects.com/p/markupsafe/"
|
||||||
license=('BSD')
|
license=('BSD-3-Clause')
|
||||||
depends=('python')
|
depends=('glibc' 'python')
|
||||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
||||||
source=(https://pypi.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz)
|
source=(https://pypi.org/packages/source/M/MarkupSafe/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
sha256sums=(d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b)
|
sha256sums=(ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd MarkupSafe-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 -m build -nw
|
python3 -m build -nw
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd MarkupSafe-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 -m installer -d ${pkgdir} dist/*.whl
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user