aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-25 21:59:03 +0000
committeralice <alice@ayaya.dev>2022-08-25 22:07:55 +0000
commitdd5da8608342e8bec247123ea507b39d79b3d163 (patch)
tree020eb4a66bd490d0cdcb7cf5f1a2d9496a042ca9
parentb88bfb85b17bf386dc04e1aa8b6b49328cdeff23 (diff)
downloadaports-dd5da8608342e8bec247123ea507b39d79b3d163.tar.gz
aports-dd5da8608342e8bec247123ea507b39d79b3d163.tar.bz2
aports-dd5da8608342e8bec247123ea507b39d79b3d163.tar.xz
main/py3-chardet: upgrade to 5.0.0
-rw-r--r--main/py3-chardet/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/py3-chardet/APKBUILD b/main/py3-chardet/APKBUILD
index 0ec0a38c2a..b6b960c120 100644
--- a/main/py3-chardet/APKBUILD
+++ b/main/py3-chardet/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=chardet
pkgname=py3-$_pkgname
-pkgver=4.0.0
-pkgrel=3
+pkgver=5.0.0
+pkgrel=0
pkgdesc="The Universal Character Encoding Detector"
url="https://github.com/chardet/chardet/"
arch="noarch"
@@ -11,7 +11,7 @@ license="LGPL-2.1-or-later"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/chardet/chardet/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-chardet" # Backwards compatibility
@@ -29,4 +29,6 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
-sha512sums="ebd7f420e1094445270db993f6373ffe7370419e002b0bb13299dc6c9b0f7c4e77b0f44f871fba6371e6869e7c86728514367db377e3137487a3acf50cb81e96 chardet-4.0.0.tar.gz"
+sha512sums="
+d19413a4f1f571f3627ec3f55dcc6a69497f6a1d72fe972051713f4d7a473cd539cfbce2eb2c7a070295aa640c6ac2aec6fc0064751e465311935c0e4d88061a py3-chardet-5.0.0.tar.gz
+"