Date: Saturday, December 24, 2022 @ 08:20:37
  Author: yan12125
Revision: 1365368

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-24 08:20:21 UTC (rev 1365367)
+++ PKGBUILD    2022-12-24 08:20:37 UTC (rev 1365368)
@@ -1,51 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=httpcore
-pkgname=python-httpcore
-# https://github.com/encode/httpcore/blob/master/CHANGELOG.md
-pkgver=0.16.2
-pkgrel=1
-pkgdesc="A minimal HTTP client"
-arch=('any')
-url="https://github.com/encode/${_pkgname}";
-license=('BSD')
-depends=('python-anyio' 'python-h11' 'python-sniffio' 'python-certifi')
-optdepends=(
-  'python-h2: for HTTP/2 support'
-  'python-socksio: for SOCKS support'
-  'python-trio: for trio backend'
-)
-makedepends=('python-setuptools' 'python-h2')
-checkdepends=('python-pytest-httpbin' 'python-pytest-trio' 'python-socksio')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('d11fe4f6a59e2dc1bce6724941db5978f0863f73e39786121f775d9c1702a32741de2cb4a0588fc907294d1b244713222cc57ef19a0d66e4075075c621f17d9b')
-
-prepare() {
-    cd ${_pkgname}-${pkgver}
-
-    # disable -Werror, which often causes failures due to newer dependencies 
in Arch
-    sed -i '/\berror\b/d' setup.cfg
-}
-
-build() {
-    cd ${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd ${_pkgname}-${pkgver}
-
-    # raise open files limits, many tests will fail otherwise
-    ulimit -S -n 4096
-
-    python -m pytest
-}
-
-package() {
-    cd ${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE.md 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.md
-}

Copied: python-httpcore/repos/community-any/PKGBUILD (from rev 1365367, 
python-httpcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-24 08:20:37 UTC (rev 1365368)
@@ -0,0 +1,51 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=httpcore
+pkgname=python-httpcore
+# https://github.com/encode/httpcore/blob/master/CHANGELOG.md
+pkgver=0.16.3
+pkgrel=1
+pkgdesc="A minimal HTTP client"
+arch=('any')
+url="https://github.com/encode/${_pkgname}";
+license=('BSD')
+depends=('python-anyio' 'python-h11' 'python-sniffio' 'python-certifi')
+optdepends=(
+  'python-h2: for HTTP/2 support'
+  'python-socksio: for SOCKS support'
+  'python-trio: for trio backend'
+)
+makedepends=('python-setuptools' 'python-h2')
+checkdepends=('python-pytest-httpbin' 'python-pytest-trio' 'python-socksio')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha512sums=('d889da0a3fee4f190ecc3981b8af34fa9b285d00f4ad92158a085c65f3ad8fa5a97a8c711bd51f8b9518b9d2c90ecd457dee1a3d7bbf853715473f4707cc421a')
+
+prepare() {
+    cd ${_pkgname}-${pkgver}
+
+    # disable -Werror, which often causes failures due to newer dependencies 
in Arch
+    sed -i '/\berror\b/d' setup.cfg
+}
+
+build() {
+    cd ${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd ${_pkgname}-${pkgver}
+
+    # raise open files limits, many tests will fail otherwise
+    ulimit -S -n 4096
+
+    python -m pytest
+}
+
+package() {
+    cd ${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE.md 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.md
+}

Reply via email to