* update python-h11 to 0.14.0-4
This commit is contained in:
parent
4de4b064a6
commit
bf9b89bcea
18
python/python-h11/.SRCINFO
Normal file
18
python/python-h11/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = python-h11
|
||||
pkgdesc = A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
|
||||
pkgver = 0.14.0
|
||||
pkgrel = 4
|
||||
url = https://github.com/python-hyper/h11
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-pytest
|
||||
makedepends = git
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
source = git+https://github.com/python-hyper/h11.git#tag=v0.14.0
|
||||
sha512sums = 03286e989f9af9e1fd5b05ae5cd0a6f528d07ff9151d486932ccfa855a083972e1a0ee6ded9072674e447203a3cc60a0bda253b46946e42886344795586485e3
|
||||
|
||||
pkgname = python-h11
|
3
python/python-h11/.nvchecker.toml
Normal file
3
python/python-h11/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[python-h11]
|
||||
source = "pypi"
|
||||
pypi = "h11"
|
@ -5,29 +5,29 @@
|
||||
|
||||
pkgname=python-h11
|
||||
pkgver=0.14.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
|
||||
url="https://github.com/python-hyper/h11"
|
||||
license=('MIT')
|
||||
arch=(any)
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
|
||||
checkdepends=('python-pytest')
|
||||
source=("https://pypi.io/packages/source/h/h11/h11-$pkgver.tar.gz")
|
||||
sha512sums=('6146f6441ce62ea46d824a86c1687401224ea6084ca2703b9c841dce51cdfb5de49b39a4f4a7e95efae40ed83012ea4a8641700281f728c2f580a90ce42d82a5')
|
||||
source=("git+https://github.com/python-hyper/h11.git#tag=v$pkgver")
|
||||
sha512sums=('03286e989f9af9e1fd5b05ae5cd0a6f528d07ff9151d486932ccfa855a083972e1a0ee6ded9072674e447203a3cc60a0bda253b46946e42886344795586485e3')
|
||||
|
||||
build() {
|
||||
cd h11-$pkgver
|
||||
python setup.py build
|
||||
cd h11
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd h11-$pkgver
|
||||
cd h11
|
||||
pytest
|
||||
}
|
||||
|
||||
package_python-h11() {
|
||||
cd h11-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
cd h11
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user