summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMisaka135142024-01-27 12:37:09 +0800
committerMisaka135142024-01-27 12:37:09 +0800
commit5dcdfe820947faa7e7918cd6f4245b6ab986112c (patch)
tree414ba063475e20e815373c94eb9e6baaad63a227 /PKGBUILD
parent677178966e348094c1db6faa811e93afe6f14e69 (diff)
downloadaur-5dcdfe820947faa7e7918cd6f4245b6ab986112c.tar.gz
Follow Arch Linux RFC20: Default to not using PyPI for Python package sources
In Arch Linux RFC20, Arch Linux decided to Default to not using PyPI for Python package sources and only use the platform if there is no other alternative.[1] The Packaging Guideline on Arch Wiki has been updated.[2] 1. https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0020-sources-for-python-packaging.rst 2. https://wiki.archlinux.org/title/Python_package_guidelines#Source upgpkg: python-largestinteriorrectangle 0.2.0-3 upgpkg: python-lzf 0.2.4-3 upgpkg: python-rdbtools 0.1.15-2 upgpkg: python-stitching 0.5.3-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6c60facb10b9..d1b31a3298a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
pkgname=python-lzf
_name=${pkgname}
pkgver=0.2.4
-pkgrel=2
+pkgrel=3
pkgdesc="C Extension for liblzf"
arch=('x86_64')
url="https://github.com/teepark/python-lzf"
license=('BSD-3-Clause')
depends=('glibc')
makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('d1420f1544e612ef1bb41ce0f1d14c2964b3444612f1468f85a886caff3615d1')
build() {