Date: Monday, April 10, 2023 @ 11:58:36
Author: felixonmars
Revision: 1444146
archrelease: copy trunk to community-staging-any
Added:
python-httpcore/repos/community-staging-any/PKGBUILD
(from rev 1444145, python-httpcore/trunk/PKGBUILD)
Deleted:
python-httpcore/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 11:58:29 UTC (rev 1444145)
+++ PKGBUILD 2023-04-10 11:58:36 UTC (rev 1444146)
@@ -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.17.0
-pkgrel=2
-pkgdesc="A minimal HTTP client"
-arch=('any')
-url="https://github.com/encode/${_pkgname}"
-license=('BSD')
-depends=('python' '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=('4bec9830df75b35a470e745955058e86cb4cc59c0eacef8d67d76be91c9297009f9af2bf745bf553607a60ff5fd2eaee5b8a497bb8b48ba3daffa08e80188ef4')
-
-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-staging-any/PKGBUILD (from rev 1444145,
python-httpcore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 11:58:36 UTC (rev 1444146)
@@ -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.17.0
+pkgrel=3
+pkgdesc="A minimal HTTP client"
+arch=('any')
+url="https://github.com/encode/${_pkgname}"
+license=('BSD')
+depends=('python' '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=('4bec9830df75b35a470e745955058e86cb4cc59c0eacef8d67d76be91c9297009f9af2bf745bf553607a60ff5fd2eaee5b8a497bb8b48ba3daffa08e80188ef4')
+
+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
+}