[arch-commits] Commit in python-hsluv/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Feb 24 18:57:49 UTC 2021


    Date: Wednesday, February 24, 2021 @ 18:57:49
  Author: dvzrv
Revision: 871675

upgpkg: python-hsluv 5.0.1-1: Upgrade to 5.0.1.

Use pypi sdist tarball as now tests and license are included.

Modified:
  python-hsluv/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-24 18:56:58 UTC (rev 871674)
+++ PKGBUILD	2021-02-24 18:57:49 UTC (rev 871675)
@@ -2,8 +2,8 @@
 
 _name=hsluv
 pkgname=python-hsluv
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.0.1
+pkgrel=1
 pkgdesc="A Python implementation of HSLuv (revision 4)"
 arch=('any')
 url="https://github.com/hsluv/hsluv-python"
@@ -11,16 +11,12 @@
 depends=('python')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-# LICENSE and tests missing on pypi.org sdist
-# https://github.com/hsluv/hsluv-python/issues/28
-# https://github.com/hsluv/hsluv-python/issues/29
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}-python/archive/v${pkgver}.tar.gz")
-sha512sums=('01f880c5aebbf3c861b7dd593b0b5c215ca2223e24c80b18efa8c5457caab9fdcddae7462964d7f165bdd676022e0958ee9fc91000ae6c44a7faa0fd916a974d')
-b2sums=('1358b26195b4868c438eb90c536814008c2a0922bc1c9205f7cc0853b7c471b18d74cd5d67e0ad7185bf8d9baed55a2e58b467ea6477242175e46910fdb3084a')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('9f51273aee3979430d75422c52a5deec527677e525f5870ee31e2ba5f86e8bc6dc3a891e9e4cd07d217e4b22cb82915d196fdc6ca488a56459a0c70399bb7f73')
+b2sums=('e613210e5066fa6b5c776e455c9378de5f6ca9a73a53ff9c3620b0cbe30a7c40347a3046c233dd215e93c530431fbb1aa693a54ae9515ac614381a4504ef7a41')
 
 prepare() {
-  mv -v "${_name}-python-$pkgver" "$pkgname-$pkgver"
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
 }
 
 build() {



More information about the arch-commits mailing list