20 lines
571 B
Plaintext
20 lines
571 B
Plaintext
# Description: python library for making slugs out of arbitrary unicode strings
|
|
# URL: https://github.com/un33k/python-slugify
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: python3-setuptools python3-unidecode
|
|
|
|
name=python3-slugify
|
|
version=6.0.1
|
|
release=1
|
|
source=(https://github.com/un33k/python-slugify/archive/refs/tags/v$version.tar.gz)
|
|
renames=($name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd python-${name##python3-}-$version
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --skip-build \
|
|
--optimize=1 --prefix=/usr --root=$PKG
|
|
|
|
}
|