[arch-commits] Commit in python-priority/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:06 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:19:06
  Author: felixonmars
Revision: 1057988

archrelease: copy trunk to community-staging-any

Added:
  python-priority/repos/community-staging-any/
  python-priority/repos/community-staging-any/PKGBUILD
    (from rev 1057983, python-priority/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-priority/repos/community-staging-any/PKGBUILD (from rev 1057983, python-priority/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:19:06 UTC (rev 1057988)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-priority
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='A pure-Python implementation of the HTTP/2 priority tree'
+arch=('any')
+license=('MIT')
+url='https://github.com/python-hyper/priority'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-hypothesis')
+source=("https://github.com/python-hyper/priority/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('be22788a76049a8822f5a307f2b00948ac0555d0b6dd629686de90de482295806d071d1731bcdbfdc0f98abbb5aba7d2e947f478b479b72580e7ce1d19d684bb')
+
+build() {
+  cd priority-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd priority-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd priority-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list