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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Thu Mar 3 12:44:47 UTC 2022


    Date: Thursday, March 3, 2022 @ 12:44:46
  Author: yan12125
Revision: 1140685

archrelease: copy trunk to community-any

Added:
  python-treq/repos/community-any/PKGBUILD
    (from rev 1140684, python-treq/trunk/PKGBUILD)
Deleted:
  python-treq/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-03 12:44:16 UTC (rev 1140684)
+++ PKGBUILD	2022-03-03 12:44:46 UTC (rev 1140685)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-treq
-pkgver=21.5.0
-pkgrel=3
-pkgdesc="A requests-like API built on top of twisted.web's Agent"
-arch=('any')
-license=('MIT')
-url='https://github.com/twisted/treq'
-depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
-         'python-idna' 'python-attrs' 'python-twisted' 'python-hyperlink')
-makedepends=('python-setuptools' 'httpbin')
-checkdepends=('python-mock')
-source=("https://github.com/twisted/treq/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('a1bd7b1eac38b5c713406d6731d0873abd400c1e3dcb637f05a669a9909576df48f1e0d5410af3efde591b7047f3e901297dd592561c6d08870debe263822413')
-
-build() {
-  cd treq-release-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd treq-release-$pkgver
-  PYTHONPATH="$PWD/build/lib" trial treq
-}
-
-package() {
-  cd treq-release-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-treq/repos/community-any/PKGBUILD (from rev 1140684, python-treq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-03 12:44:46 UTC (rev 1140685)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-treq
+pkgver=22.2.0
+pkgrel=1
+pkgdesc="A requests-like API built on top of twisted.web's Agent"
+arch=('any')
+license=('MIT')
+url='https://github.com/twisted/treq'
+depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
+         'python-idna' 'python-attrs' 'python-twisted' 'python-hyperlink')
+makedepends=('python-setuptools' 'httpbin')
+source=("https://github.com/twisted/treq/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('fa69bde03be083236fee7bd8adfd549578eb46f7dbb51d2a5acb1923a8e7d047d81de0a0c9ac407ac7ac6f11a677ffa57a6203b7fd139534eb698d987f019d69')
+
+build() {
+  cd treq-release-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd treq-release-$pkgver
+  PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib" trial treq
+}
+
+package() {
+  cd treq-release-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list