Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-websockets


Commits:
953f01ef by Felix Yan at 2023-12-14T21:38:30+02:00
upgpkg: 11.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,21 @@
+pkgbase = python-websockets
+       pkgdesc = Python implementation of the WebSocket Protocol (RFC 6455)
+       pkgver = 11.0
+       pkgrel = 1
+       url = https://github.com/aaugustin/websockets
+       arch = x86_64
+       license = BSD
+       makedepends = python-setuptools
+       makedepends = python-sphinx
+       makedepends = python-sphinx-copybutton
+       makedepends = python-sphinx-furo
+       makedepends = python-sphinx-inline-tabs
+       makedepends = python-sphinxcontrib-spelling
+       makedepends = python-sphinxcontrib-trio
+       makedepends = python-sphinxext-opengraph
+       depends = python
+       source = 
https://github.com/aaugustin/websockets/archive/11.0/python-websockets-11.0.tar.gz
+       sha512sums = 
367347464d5d721ad65055743df92311e7d98d0391ff437ab8c3224f1c1e4193b5abbdbf1498cd040d9b30251e6bc051e9c1ec54122b87e4c937026e0f6f3b8e
+       b2sums = 
b40b8e88375a1e5e0f6ae1c73169703d206800dcec15d858a0360374701b681ec17c457b014a29dc34962ca1f62261a8b8298e34092429864d790dd4a060e8d8
+
+pkgname = python-websockets


=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 # Contributor: user6553591 <Message on Reddit>
 
 pkgname=python-websockets
-pkgver=10.4
-pkgrel=3
+pkgver=11.0
+pkgrel=1
 pkgdesc='Python implementation of the WebSocket Protocol (RFC 6455)'
 url='https://github.com/aaugustin/websockets'
 arch=('x86_64')
@@ -15,8 +15,8 @@ makedepends=('python-setuptools' 'python-sphinx' 
'python-sphinx-copybutton'
              'python-sphinxcontrib-spelling' 'python-sphinxcontrib-trio'
              'python-sphinxext-opengraph')
 
source=(https://github.com/aaugustin/websockets/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582')
-b2sums=('f3a739368ff9d78fef79324af59d1e77b3fb654b8b1a847373a29f19b11ae9266b9a938d235ee27d12b59d9b4cf29825fc7298ff2f35e5b260df2c7a41a1bd78')
+sha512sums=('367347464d5d721ad65055743df92311e7d98d0391ff437ab8c3224f1c1e4193b5abbdbf1498cd040d9b30251e6bc051e9c1ec54122b87e4c937026e0f6f3b8e')
+b2sums=('b40b8e88375a1e5e0f6ae1c73169703d206800dcec15d858a0360374701b681ec17c457b014a29dc34962ca1f62261a8b8298e34092429864d790dd4a060e8d8')
 
 build() {
   cd websockets-${pkgver}
@@ -27,7 +27,7 @@ build() {
 
 check() {
   cd websockets-${pkgver}
-  python setup.py test
+  PYTHONPATH="$PWD/src" python -m unittest discover -v
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-websockets/-/commit/953f01eff92632438e0713b0208d0d198d84fb16

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-websockets/-/commit/953f01eff92632438e0713b0208d0d198d84fb16
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to