cruxports/python3-slugify/Pkgfile

18 lines
539 B
Plaintext
Raw Normal View History

2022-02-18 22:40:09 +00: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 11:51:12 +00:00
# Depends on: python3-unidecode
2022-02-18 22:40:09 +00:00
name=python3-slugify
2024-03-15 11:57:30 +00:00
version=8.0.4
2022-02-18 22:40:09 +00:00
release=1
2024-03-15 11:57:30 +00:00
source=(https://github.com/un33k/python-slugify/archive/v$version/$name-$version.tar.gz)
2022-02-18 22:40:09 +00:00
build() {
2024-01-28 00:06:56 +00:00
cd python-${name##python3-}-$version
2024-01-28 00:06:56 +00:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
2022-02-18 22:40:09 +00:00
}