19 lines
621 B
Plaintext
19 lines
621 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-unidecode python3-pip
|
|
|
|
name=python3-slugify
|
|
version=8.0.4
|
|
release=1
|
|
source=(https://github.com/un33k/${name//3/}/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name//3/}-$version
|
|
|
|
/usr/bin/pip3 install --isolate --root="$PKG" --ignore-installed \
|
|
--no-deps --no-warn-script-location .
|
|
|
|
rm -rf "$PKG"/usr/lib/python3.12/site-packages/*.dist-info/{licenses,INSTALLER,REQUESTED}
|
|
}
|