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

Felix Yan felixonmars at gemini.archlinux.org
Wed Aug 11 20:46:54 UTC 2021


    Date: Wednesday, August 11, 2021 @ 20:46:53
  Author: felixonmars
Revision: 997463

upgpkg: python-priority 2.0.0-1

Modified:
  python-priority/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-11 20:46:35 UTC (rev 997462)
+++ PKGBUILD	2021-08-11 20:46:53 UTC (rev 997463)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-priority
-pkgver=1.3.0
-pkgrel=7
+pkgver=2.0.0
+pkgrel=1
 pkgdesc='A pure-Python implementation of the HTTP/2 priority tree'
 arch=('any')
 license=('MIT')
@@ -10,8 +10,8 @@
 depends=('python')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner' 'python-hypothesis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/priority/archive/v$pkgver.tar.gz")
-sha512sums=('bd60db8e1f524a2c445227576d53c70dbf5764e9ecb0e75d320e3652941f9e915f9d130815a781a8d4e50c4c3f68e05c9458225926e80d588e210037a1c6ed5f')
+source=("https://github.com/python-hyper/priority/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('be22788a76049a8822f5a307f2b00948ac0555d0b6dd629686de90de482295806d071d1731bcdbfdc0f98abbb5aba7d2e947f478b479b72580e7ce1d19d684bb')
 
 build() {
   cd priority-$pkgver
@@ -26,7 +26,7 @@
 package() {
   cd priority-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list