diff options
author | Misaka13514 | 2024-01-27 12:37:09 +0800 |
---|---|---|
committer | Misaka13514 | 2024-01-27 12:37:09 +0800 |
commit | 5dcdfe820947faa7e7918cd6f4245b6ab986112c (patch) | |
tree | 414ba063475e20e815373c94eb9e6baaad63a227 | |
parent | 677178966e348094c1db6faa811e93afe6f14e69 (diff) | |
download | aur-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
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ pkgbase = python-lzf pkgdesc = C Extension for liblzf pkgver = 0.2.4 - pkgrel = 2 + pkgrel = 3 url = https://github.com/teepark/python-lzf arch = x86_64 license = BSD-3-Clause makedepends = python-setuptools depends = glibc - source = python-lzf-0.2.4.tar.gz::https://files.pythonhosted.org/packages/source/p/python-lzf/python-lzf-0.2.4.tar.gz + source = python-lzf-0.2.4.tar.gz::https://github.com/teepark/python-lzf/archive/v0.2.4.tar.gz sha256sums = d1420f1544e612ef1bb41ce0f1d14c2964b3444612f1468f85a886caff3615d1 pkgname = python-lzf @@ -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() { |