contrib/python3-hyperlink/Pkgfile

16 lines
483 B
Plaintext
Raw Normal View History

2017-11-05 08:35:55 +01:00
# Description: A featureful, correct URL for Python.
# URL: https://pypi.python.org/pypi/hyperlink
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-hyperlink
2021-01-27 23:52:07 +01:00
version=21.0.0
2017-11-05 08:35:55 +01:00
release=1
2017-11-05 09:32:37 +01:00
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
2017-11-05 08:35:55 +01:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}