diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:35:55 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:35:55 +1100 |
commit | 87786a48beff290910e06b2fbf7b6a06c85acd4a (patch) | |
tree | 376017a66f88349ae479884aab4f50f5a99a7c4e /python3-hyperlink/Pkgfile | |
parent | 61cc82a4a1973b09612666be60a7cd7af59e64e6 (diff) | |
download | contrib-87786a48beff290910e06b2fbf7b6a06c85acd4a.tar.gz contrib-87786a48beff290910e06b2fbf7b6a06c85acd4a.tar.xz |
python3-hyperlink: initial import
Diffstat (limited to 'python3-hyperlink/Pkgfile')
-rw-r--r-- | python3-hyperlink/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python3-hyperlink/Pkgfile b/python3-hyperlink/Pkgfile new file mode 100644 index 000000000..e436df1bf --- /dev/null +++ b/python3-hyperlink/Pkgfile @@ -0,0 +1,15 @@ +# 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 +version=17.3.1 +release=1 +source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz) + +build() { + cd ${name#*-}-$version + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +} |