cruxports/python3-pytimeparse/Pkgfile

19 lines
536 B
Plaintext

# Description: small python library for parsing time expressions
# URL: https://github.com/wroberts/pytimeparse
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-setuptools
name=python3-pytimeparse
version=1.1.8
release=1
source=(https://github.com/wroberts/${name##python3-}/releases/download/$version/${name##python3-}-$version.tar.gz)
build() {
cd ${name##python3-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}