27 lines
593 B
Bash
27 lines
593 B
Bash
#!/usr/bin/env bash
|
|
name='py3-pygments'
|
|
release='3'
|
|
version='2.16.1'
|
|
url='https://pypi.org/project/Pygments'
|
|
description='Pygments is a syntax highlighting package written in Python.'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://github.com/pygments/pygments/archive/refs/tags/${version}.tar.gz")
|
|
depends=(python)
|
|
makedepends=()
|
|
md5sums=('f5c45d41dff1a7510c9c4f42c47ddd61')
|
|
group=(dev.python)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd pygments-$version
|
|
|
|
build(){
|
|
python -m build --wheel
|
|
}
|
|
|
|
package(){
|
|
python -m installer --destdir="$DESTDIR" dist/*.whl
|
|
}
|