[arch-commits] Commit in python-hpack/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 26 17:32:55 UTC 2020


    Date: Thursday, November 26, 2020 @ 17:32:55
  Author: felixonmars
Revision: 763685

archrelease: copy trunk to community-testing-any

Added:
  python-hpack/repos/community-testing-any/PKGBUILD
    (from rev 763684, python-hpack/trunk/PKGBUILD)
Deleted:
  python-hpack/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-26 17:32:44 UTC (rev 763684)
+++ PKGBUILD	2020-11-26 17:32:55 UTC (rev 763685)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hpack
-pkgver=3.0.0
-pkgrel=6
-pkgdesc="Pure-Python HPACK header compression"
-arch=('any')
-url="https://hyper.rtfd.org/"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-hypothesis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hpack/archive/v$pkgver.tar.gz"
-        $pkgname-pytest-5.patch::https://github.com/python-hyper/hpack/commit/97207a9e88f906cf8e4198aec20b24ef97764486.patch)
-sha512sums=('7b9cf5e643dff2a6454bfe419b797c8ed1a0fe6ec3b725d2696da5a820ab96fe87a64e600b1831c7024bd82616b155a0aa058301acb32172155b6538ba0a73c6'
-            '04bea1bdf3365d923e3b29492467814219b63ab35beecd8f4e2c2fdb0c482f0aa92a10d83011cae129f574725bff99fb25ad325d151c6888ab8e67b879faa323')
-
-prepare() {
-  patch -d hpack-$pkgver -p1 -i ../$pkgname-pytest-5.patch || :
-}
-
-build() {
-  cd hpack-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd hpack-$pkgver
-  python -m pytest test
-}
-
-package() {
-  cd hpack-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-hpack/repos/community-testing-any/PKGBUILD (from rev 763684, python-hpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-26 17:32:55 UTC (rev 763685)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hpack
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Pure-Python HPACK header compression"
+arch=('any')
+url="https://hyper.rtfd.org/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-hypothesis')
+source=("https://github.com/python-hyper/hpack/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b')
+
+build() {
+  cd hpack-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd hpack-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd hpack-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list