cruxports/python3-parsedatetime/Pkgfile

20 lines
527 B
Plaintext

# Description: python module for parsing human-readable date strings
# URL: https://github.com/bear/parsedatetime/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-setuptools
name=python3-parsedatetime
version=2.6
release=1
source=(https://github.com/bear/${name##*-}/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
cd ${name##python3-}-*
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}