summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a6af8b421f..c0f65b229c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Shiv Upadhyay <shivnupadhyay@gmail.com>
pkgname=python-parselglossy
-pkgver=0.3.0_alpha1
+_name=parselglossy
+pkgver=0.7.0
pkgrel=1
epoch=
pkgdesc="Generic input parsing library, speaking in tongues."
@@ -9,7 +10,7 @@ url="https://parselglossy.readthedocs.io"
license=("MIT")
groups=()
depends=(python)
-makedepends=()
+makedepends=(python-flit)
checkdepends=()
optdepends=()
provides=(python-parselglossy)
@@ -19,12 +20,14 @@ backup=()
options=()
install=
changelog=
-source=("https://github.com/dev-cafe/parselglossy/archive/v0.3.0-alpha1.tar.gz")
-noextract=()
-sha256sums=("76572c1a0629491b75a78448f4d247d0b7308d41fafcc1708d8be13204a11e31")
validpgpkeys=()
-
-package() {
- cd "$srcdir/${pkgname#"python-"}-${pkgver//_/-}"
- python setup.py install --root="$pkgdir"
+source=(
+ https://files.pythonhosted.org/packages/py2.py3/${_name::1}/$_name/${_name/-/_}-$pkgver-py2.py3-none-any.whl
+)
+sha256sums=("d245a9e83f31d3dbd17886269ae17cdd2bafb5bc8d5389aaf73fe96f52bd8e83")
+package ()
+{
+ cd "$srcdir"
+ PIP_CONFIG_FILE=/dev/null python -m pip install --isolated --root="$pkgdir" --ignore-installed --no-deps ${_name/-/_}-$pkgver-py2.py3-none-any.whl
}
+