2022-02-18 17:40:09 -05:00
|
|
|
# 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
|
2022-04-26 07:51:12 -04:00
|
|
|
# Depends on: python3-unidecode
|
2022-02-18 17:40:09 -05:00
|
|
|
|
|
|
|
name=python3-slugify
|
2023-01-14 21:38:53 -05:00
|
|
|
version=7.0.0
|
2022-02-18 17:40:09 -05:00
|
|
|
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
|
2022-10-15 08:43:52 -04:00
|
|
|
|
2022-02-18 17:40:09 -05:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py install --skip-build \
|
|
|
|
--optimize=1 --prefix=/usr --root=$PKG
|
|
|
|
|
|
|
|
}
|